Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000963/0.000963, allocations: 80.72 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009066/0.0009066, allocations: 140.4 kB / 25.59 MB, free: 8.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9231/0.9231, allocations: 173.4 MB / 202.3 MB, free: 8.293 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.586e-05/1.725e-05, allocations: 2.312 kB / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.006038/0.006055, allocations: 6.232 MB / 275.4 MB, free: 3.523 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003748/0.009804, allocations: 2.449 MB / 277.9 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004941/0.0103, allocations: 20 kB / 277.9 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.01206, allocations: 1.314 MB / 279.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.01323, allocations: 0.6753 MB / 279.9 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.01464, allocations: 1.047 MB / 280.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.01565, allocations: 1.105 MB / 282 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008918/0.01654, allocations: 0.7622 MB / 282.8 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004944/0.01704, allocations: 0.647 MB / 283.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000407/0.01744, allocations: 426.8 kB / 283.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.676e-05/0.01754, allocations: 96 kB / 284 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005985/0.01814, allocations: 395.4 kB / 284.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.01828, allocations: 239.1 kB / 284.6 MB, free: 10.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.01853, allocations: 355.1 kB / 284.9 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009957/0.01953, allocations: 1.082 MB / 286 MB, free: 8.898 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.01953, allocations: 0 / 286 MB, free: 8.898 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.01953, allocations: 0 / 286 MB, free: 8.898 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.01954, allocations: 0 / 286 MB, free: 8.898 MB / 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.002553/0.0221, allocations: 1.83 MB / 287.8 MB, free: 7.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.02213, allocations: 8.031 kB / 287.8 MB, free: 7.012 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.02383, allocations: 0.6518 MB / 288.5 MB, free: 6.359 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.02425, allocations: 426.5 kB / 288.9 MB, free: 5.918 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.776e-05/0.02429, allocations: 86.59 kB / 289 MB, free: 5.832 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.02441, allocations: 120.1 kB / 289.1 MB, free: 5.715 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000734/0.02514, allocations: 0.6817 MB / 289.8 MB, free: 4.988 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.02517, allocations: 7.984 kB / 289.8 MB, free: 4.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.308e-05/0.02523, allocations: 47.94 kB / 289.9 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.02524, allocations: 28 kB / 289.9 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000521/0.02576, allocations: 443.9 kB / 290.3 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002941/0.0287, allocations: 2.764 MB / 293.1 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007614/0.02947, allocations: 0.6682 MB / 293.7 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.02974, allocations: 251.1 kB / 294 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.007e-05/0.0298, allocations: 28.92 kB / 294 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003656/0.03016, allocations: 418.7 kB / 294.4 MB, free: 156 kB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.084e-06/0.03016, allocations: 4 kB / 294.4 MB, free: 152 kB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.003546/0.03371, allocations: 2.498 MB / 296.9 MB, free: 13.61 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.03377, allocations: 141.5 kB / 297.1 MB, free: 13.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.034, allocations: 422.2 kB / 297.5 MB, free: 13.01 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.03404, allocations: 45.7 kB / 297.5 MB, free: 12.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.03424, allocations: 483.6 kB / 298 MB, free: 12.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.03445, allocations: 444.1 kB / 298.4 MB, free: 12.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.03465, allocations: 220.5 kB / 298.6 MB, free: 11.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.0348, allocations: 0.5624 MB / 299.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.03498, allocations: 150.5 kB / 299.4 MB, free: 11.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.0353, allocations: 466.7 kB / 299.8 MB, free: 10.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005188/0.03582, allocations: 0.6194 MB / 300.4 MB, free: 9.844 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.03582, allocations: 0 / 300.4 MB, free: 9.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001027/0.03685, allocations: 0.983 MB / 301.4 MB, free: 8.832 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.03686, allocations: 8 kB / 301.4 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.03687, allocations: 4 kB / 301.4 MB, free: 8.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008493/0.03772, allocations: 385.6 kB / 301.8 MB, free: 8.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.03813, allocations: 199.7 kB / 302 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004667/0.0428, allocations: 9.169 MB / 311.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.04307, allocations: 43.98 kB / 311.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.04311, allocations: 28 kB / 311.2 MB, free: 14.55 MB / 298.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.000193/0.0433, allocations: 232.3 kB / 311.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.04341, allocations: 115.5 kB / 311.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009713/0.04438, allocations: 0.9058 MB / 312.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.04439, allocations: 12 kB / 312.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.04439, allocations: 8 kB / 312.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.0444, allocations: 7.969 kB / 312.5 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.04619, allocations: 1.764 MB / 314.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.04619, allocations: 4 kB / 314.3 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003367/0.04653, allocations: 147.8 kB / 314.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006182/0.04715, allocations: 366.5 kB / 314.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.04719, allocations: 24 kB / 314.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004237/0.05142, allocations: 8.789 MB / 323.6 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.05142, allocations: 3.938 kB / 323.6 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.05265, allocations: 1.258 MB / 324.9 MB, free: 304 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.05282, allocations: 147.4 kB / 325 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.533e-05/0.05287, allocations: 24 kB / 325 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.05309, allocations: 39.98 kB / 325.1 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.05323, allocations: 108.7 kB / 325.2 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.05326, allocations: 24 kB / 325.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001375/0.0534, allocations: 247 kB / 325.4 MB, free: 15.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0534, allocations: 0 / 325.4 MB, free: 15.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007524/0.05415, allocations: 312 kB / 325.7 MB, free: 15.41 MB / 314.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.0002429/0.05439, allocations: 175.1 kB / 325.9 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.05561, allocations: 1.481 MB / 327.4 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.05561, allocations: 0.5625 kB / 327.4 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007885/0.0564, allocations: 1.218 MB / 328.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.05675, allocations: 83.09 kB / 328.7 MB, free: 12.31 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.05894, allocations: 1.766 MB / 330.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.05928, allocations: 211.6 kB / 330.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000236/0.05951, allocations: 97.91 kB / 330.8 MB, free: 10.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.05971, allocations: 166.2 kB / 330.9 MB, free: 9.992 MB / 314.7 MB Notification: Performance of SimCode: time 7.42e-07/0.05972, allocations: 4 kB / 330.9 MB, free: 9.988 MB / 314.7 MB Notification: Performance of Templates: time 0.01536/0.07507, allocations: 12.22 MB / 343.1 MB, free: 13.86 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.209590967744589]