Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 95.61 kB / 20.96 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 161.3 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.601/1.601, allocations: 177.1 MB / 204.6 MB, free: 5.559 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3797/0.3797, allocations: 34.27 MB / 295.3 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.909e-05, allocations: 2.312 kB / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.0057/0.005729, allocations: 3.472 MB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.007617, allocations: 0.8178 MB / 381.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002084/0.007826, allocations: 11.94 kB / 381.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.008042, allocations: 67.3 kB / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.00835, allocations: 146.7 kB / 381.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.008746, allocations: 131.7 kB / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006455/0.009391, allocations: 0.5408 MB / 382.5 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003562/0.009748, allocations: 170.3 kB / 382.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004185/0.01017, allocations: 319.3 kB / 382.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.01046, allocations: 175.5 kB / 383.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.764e-05/0.01054, allocations: 52 kB / 383.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.01065, allocations: 52 kB / 383.2 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.01077, allocations: 111.6 kB / 383.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.01099, allocations: 175.6 kB / 383.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007673/0.01176, allocations: 0.5762 MB / 384.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.01176, allocations: 0 / 384.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.01176, allocations: 0 / 384.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.01177, allocations: 0 / 384.1 MB, free: 12.13 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001474/0.01324, allocations: 0.8153 MB / 384.9 MB, free: 11.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.01329, allocations: 12.03 kB / 384.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.01345, allocations: 92.61 kB / 385 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000467/0.01392, allocations: 261.8 kB / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.469e-05/0.01397, allocations: 37.38 kB / 385.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.307e-05/0.01405, allocations: 48.38 kB / 385.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009385/0.01499, allocations: 0.5192 MB / 385.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.015, allocations: 4.188 kB / 385.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.466e-05/0.01505, allocations: 20.38 kB / 385.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.01507, allocations: 15.94 kB / 385.9 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007055/0.01578, allocations: 300.5 kB / 386.2 MB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003026/0.0188, allocations: 1.717 MB / 387.9 MB, free: 8.098 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006882/0.01949, allocations: 242.2 kB / 388.1 MB, free: 7.836 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000317/0.01981, allocations: 139.3 kB / 388.3 MB, free: 7.691 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.01984, allocations: 8 kB / 388.3 MB, free: 7.684 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.01989, allocations: 37.39 kB / 388.3 MB, free: 7.637 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.984e-06/0.01989, allocations: 0 / 388.3 MB, free: 7.637 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.003006/0.0229, allocations: 1.134 MB / 389.4 MB, free: 6.434 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/0.02296, allocations: 81.11 kB / 389.5 MB, free: 6.336 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/0.02335, allocations: 352.4 kB / 389.9 MB, free: 5.977 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.02339, allocations: 33.7 kB / 389.9 MB, free: 5.938 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.02365, allocations: 322.8 kB / 390.2 MB, free: 5.617 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.02378, allocations: 127 kB / 390.3 MB, free: 5.492 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.02394, allocations: 95.8 kB / 390.4 MB, free: 5.391 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003167/0.02425, allocations: 0.5196 MB / 390.9 MB, free: 4.859 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.02452, allocations: 101 kB / 391 MB, free: 4.758 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004424/0.02497, allocations: 248.5 kB / 391.3 MB, free: 4.461 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006804/0.02565, allocations: 396.9 kB / 391.7 MB, free: 4.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.02565, allocations: 4 kB / 391.7 MB, free: 4.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000917/0.02657, allocations: 420.7 kB / 392.1 MB, free: 3.594 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.02659, allocations: 4 kB / 392.1 MB, free: 3.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.0266, allocations: 4 kB / 392.1 MB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002191/0.02682, allocations: 44.05 kB / 392.1 MB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004728/0.02729, allocations: 115.9 kB / 392.3 MB, free: 3.426 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.02898, allocations: 1.838 MB / 394.1 MB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.02922, allocations: 20.12 kB / 394.1 MB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.02925, allocations: 20.03 kB / 394.1 MB, free: 1.426 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002696/0.02952, allocations: 208.5 kB / 394.3 MB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.827e-05/0.02962, allocations: 39.81 kB / 394.4 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.136e-05/0.02971, allocations: 42.05 kB / 394.4 MB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.02972, allocations: 4 kB / 394.4 MB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.02972, allocations: 0 / 394.4 MB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.02973, allocations: 3.984 kB / 394.4 MB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.03114, allocations: 0.7031 MB / 395.1 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.03114, allocations: 0 / 395.1 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.03157, allocations: 87.89 kB / 395.2 MB, free: 288 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001303/0.0317, allocations: 35.66 kB / 395.2 MB, free: 248 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.03173, allocations: 8 kB / 395.3 MB, free: 240 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.03335, allocations: 1.826 MB / 397.1 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.03335, allocations: 0 / 397.1 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.03444, allocations: 0.6864 MB / 397.8 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.03457, allocations: 55.73 kB / 397.8 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.03461, allocations: 12 kB / 397.8 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.03486, allocations: 20.03 kB / 397.9 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.16e-05/0.03494, allocations: 23.95 kB / 397.9 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.03497, allocations: 15.92 kB / 397.9 MB, free: 13.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002621/0.03523, allocations: 233.1 kB / 398.1 MB, free: 13.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03523, allocations: 3.938 kB / 398.1 MB, free: 13.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005058/0.03573, allocations: 92 kB / 398.2 MB, free: 13.12 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001507/0.03588, allocations: 95.25 kB / 398.3 MB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000934/0.03682, allocations: 481.1 kB / 398.8 MB, free: 12.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.03682, allocations: 0 / 398.8 MB, free: 12.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004696/0.03729, allocations: 313.4 kB / 399.1 MB, free: 12.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.03777, allocations: 41.41 kB / 399.1 MB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.03946, allocations: 0.8412 MB / 400 MB, free: 11.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.03971, allocations: 215.8 kB / 400.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001483/0.03986, allocations: 30.97 kB / 400.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.051e-05/0.03994, allocations: 24.5 kB / 400.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03994, allocations: 0 / 400.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of Templates: time 0.00885/0.04879, allocations: 2.974 MB / 403.2 MB, free: 8.059 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.072062405990437]