Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.001869/0.001869, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.00254/0.00254, allocations: 161.3 kB / 24.27 MB, free: 156 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.543/1.543, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.024e-05, allocations: 2.312 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.01235/0.01238, allocations: 6.357 MB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006714/0.01909, allocations: 2.534 MB / 281.2 MB, free: 8.906 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009978/0.02009, allocations: 24 kB / 281.2 MB, free: 8.883 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004488/0.02458, allocations: 1.341 MB / 282.6 MB, free: 7.535 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00227/0.02685, allocations: 0.5394 MB / 283.1 MB, free: 6.992 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003594/0.03044, allocations: 1.23 MB / 284.3 MB, free: 5.758 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002196/0.03264, allocations: 1.105 MB / 285.4 MB, free: 4.648 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001823/0.03446, allocations: 0.77 MB / 286.2 MB, free: 3.852 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.03577, allocations: 0.6626 MB / 286.9 MB, free: 3.188 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.03678, allocations: 418.8 kB / 287.3 MB, free: 2.777 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002782/0.03706, allocations: 96 kB / 287.4 MB, free: 2.684 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.03825, allocations: 411.3 kB / 287.8 MB, free: 2.281 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003373/0.03859, allocations: 235.1 kB / 288 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006764/0.03926, allocations: 367.1 kB / 288.4 MB, free: 1.691 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00288/0.04214, allocations: 1.581 MB / 289.9 MB, free: 108 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.04215, allocations: 0 / 289.9 MB, free: 108 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.04215, allocations: 3.938 kB / 289.9 MB, free: 104 kB / 266.7 MB Notification: Performance of Transformations before backend: time 4.31e-05/0.04219, allocations: 0 / 289.9 MB, free: 104 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.1175/0.1597, allocations: 1.927 MB / 291.9 MB, free: 28.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1597, allocations: 9.438 kB / 291.9 MB, free: 28.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003477/0.1632, allocations: 0.64 MB / 292.5 MB, free: 28.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007548/0.1639, allocations: 447 kB / 293 MB, free: 28.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.213e-05/0.164, allocations: 86.88 kB / 293 MB, free: 28.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.1641, allocations: 112.2 kB / 293.2 MB, free: 28.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.1659, allocations: 0.9927 MB / 294.1 MB, free: 27.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/0.166, allocations: 1.062 kB / 294.1 MB, free: 27.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.131e-05/0.1661, allocations: 47.14 kB / 294.2 MB, free: 27.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.1661, allocations: 26.88 kB / 294.2 MB, free: 27.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.1679, allocations: 0.9244 MB / 295.1 MB, free: 27.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005771/0.1737, allocations: 3.356 MB / 298.5 MB, free: 25.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.1753, allocations: 0.8302 MB / 299.3 MB, free: 25.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006604/0.176, allocations: 395.9 kB / 299.7 MB, free: 25.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.1761, allocations: 35.89 kB / 299.8 MB, free: 25.01 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007649/0.1768, allocations: 0.5464 MB / 300.3 MB, free: 24.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.885e-06/0.1768, allocations: 0 / 300.3 MB, free: 24.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.007311/0.1841, allocations: 3.609 MB / 303.9 MB, free: 23.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.1842, allocations: 141.5 kB / 304 MB, free: 22.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.1845, allocations: 0.4931 MB / 304.5 MB, free: 22.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.856e-05/0.1846, allocations: 49.7 kB / 304.6 MB, free: 22.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.1848, allocations: 0.4905 MB / 305.1 MB, free: 21.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.185, allocations: 473.5 kB / 305.5 MB, free: 21.47 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002692/0.1853, allocations: 244.6 kB / 305.8 MB, free: 21.22 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1854, allocations: 0.5899 MB / 306.4 MB, free: 20.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005409/0.1859, allocations: 341.1 kB / 306.7 MB, free: 20.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/0.1866, allocations: 0.6737 MB / 307.4 MB, free: 19.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.1878, allocations: 1.038 MB / 308.4 MB, free: 18.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1878, allocations: 0 / 308.4 MB, free: 18.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002129/0.1899, allocations: 1.432 MB / 309.8 MB, free: 16.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1899, allocations: 4 kB / 309.9 MB, free: 16.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.19, allocations: 8.625 kB / 309.9 MB, free: 16.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/0.1914, allocations: 464.8 kB / 310.3 MB, free: 16.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007592/0.1921, allocations: 207.7 kB / 310.5 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00592/0.198, allocations: 10.39 MB / 320.9 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006692/0.1987, allocations: 39.98 kB / 320.9 MB, free: 5.383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.659e-05/0.1988, allocations: 47.98 kB / 321 MB, free: 5.336 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003553/0.1991, allocations: 308.4 kB / 321.3 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.1993, allocations: 115.5 kB / 321.4 MB, free: 4.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.2014, allocations: 1.302 MB / 322.7 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.2014, allocations: 12 kB / 322.7 MB, free: 3.574 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2014, allocations: 4 kB / 322.7 MB, free: 3.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.2014, allocations: 11.97 kB / 322.7 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003337/0.2048, allocations: 2.473 MB / 325.2 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.2048, allocations: 0 / 325.2 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006048/0.2054, allocations: 147.8 kB / 325.4 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001304/0.2067, allocations: 447.3 kB / 325.8 MB, free: 444 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.706e-05/0.2067, allocations: 27.98 kB / 325.8 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/0.2168, allocations: 9.925 MB / 335.7 MB, free: 6.016 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.2168, allocations: 4 kB / 335.7 MB, free: 6.012 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003696/0.2205, allocations: 1.93 MB / 337.7 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/0.2209, allocations: 147.5 kB / 337.8 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.221, allocations: 28 kB / 337.8 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005098/0.2215, allocations: 39.98 kB / 337.9 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/0.2217, allocations: 104.8 kB / 338 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-05/0.2218, allocations: 35.98 kB / 338 MB, free: 3.676 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003813/0.2221, allocations: 319.1 kB / 338.3 MB, free: 3.363 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2221, allocations: 0 / 338.3 MB, free: 3.363 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001243/0.2234, allocations: 319.9 kB / 338.6 MB, free: 3.051 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (rootMeanSquare.mean.x,coil.i,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003473/0.2237, allocations: 175.6 kB / 338.8 MB, free: 2.875 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00309/0.2268, allocations: 1.87 MB / 340.7 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2268, allocations: 5.062 kB / 340.7 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002023/0.2288, allocations: 1.398 MB / 342.1 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005568/0.2294, allocations: 77.61 kB / 342.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/0.2332, allocations: 1.922 MB / 344.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005282/0.2337, allocations: 436 kB / 344.5 MB, free: 12.94 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004101/0.2341, allocations: 98 kB / 344.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.2343, allocations: 56.48 kB / 344.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of SimCode: time 7.32e-07/0.2343, allocations: 4 kB / 344.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of Templates: time 0.02381/0.2581, allocations: 11.41 MB / 356.1 MB, free: 1.512 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.132146075950004]