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.001276/0.001276, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009816/0.0009816, allocations: 170 kB / 24.91 MB, free: 9.199 MB / 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 0.9611/0.9611, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.713e-06/1.713e-06, allocations: 0 / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.24e-05, allocations: 2.312 kB / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005611/0.005633, allocations: 6.338 MB / 279.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003732/0.009366, allocations: 2.623 MB / 282.4 MB, free: 8.258 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004379/0.009803, allocations: 23.94 kB / 282.5 MB, free: 8.234 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.01145, allocations: 1.333 MB / 283.8 MB, free: 6.895 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.01251, allocations: 0.5431 MB / 284.3 MB, free: 6.348 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.01389, allocations: 1.202 MB / 285.5 MB, free: 5.141 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009343/0.01483, allocations: 1.117 MB / 286.7 MB, free: 4.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008068/0.01563, allocations: 0.8207 MB / 287.5 MB, free: 3.164 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005463/0.01618, allocations: 0.6509 MB / 288.1 MB, free: 2.512 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004239/0.0166, allocations: 434.8 kB / 288.6 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.218e-05/0.0167, allocations: 96 kB / 288.7 MB, free: 1.992 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007117/0.01741, allocations: 423.3 kB / 289.1 MB, free: 1.578 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.01754, allocations: 243.1 kB / 289.3 MB, free: 1.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.01776, allocations: 363.1 kB / 289.7 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1038/0.1215, allocations: 1.084 MB / 290.7 MB, free: 17.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1215, allocations: 2.938 kB / 290.7 MB, free: 17.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1215, allocations: 0 / 290.7 MB, free: 17.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.871e-05/0.1216, allocations: 0.6562 kB / 290.7 MB, free: 17.33 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.002885/0.1245, allocations: 1.629 MB / 292.4 MB, free: 16.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1245, allocations: 10.06 kB / 292.4 MB, free: 16.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/0.1266, allocations: 0.6719 MB / 293.1 MB, free: 16.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005482/0.1271, allocations: 319.1 kB / 293.4 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.981e-05/0.1272, allocations: 83.41 kB / 293.4 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.1273, allocations: 111 kB / 293.6 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009314/0.1282, allocations: 0.7035 MB / 294.3 MB, free: 16.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.1282, allocations: 5.938 kB / 294.3 MB, free: 16.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.165e-05/0.1283, allocations: 45.84 kB / 294.3 MB, free: 16.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.1283, allocations: 30.44 kB / 294.3 MB, free: 16.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005525/0.1289, allocations: 371.8 kB / 294.7 MB, free: 16.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003208/0.1321, allocations: 2.314 MB / 297 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007918/0.1329, allocations: 0.5923 MB / 297.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.1331, allocations: 217.6 kB / 297.8 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.665e-05/0.1332, allocations: 40.38 kB / 297.9 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000386/0.1336, allocations: 392.7 kB / 298.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 3.446e-06/0.1336, allocations: 0 / 298.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=103): time 0.003561/0.1372, allocations: 2.181 MB / 300.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.1372, allocations: 141 kB / 300.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.1375, allocations: 350.7 kB / 300.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.1375, allocations: 41.83 kB / 300.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.1377, allocations: 416.4 kB / 301.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.1378, allocations: 362.7 kB / 301.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.138, allocations: 183.9 kB / 301.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.808e-05/0.1381, allocations: 374.8 kB / 302.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.1382, allocations: 114.9 kB / 302.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.1384, allocations: 357 kB / 302.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000448/0.1389, allocations: 0.4977 MB / 303.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1389, allocations: 3.125 kB / 303.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0006902/0.1396, allocations: 0.6421 MB / 303.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1396, allocations: 7.906 kB / 303.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.1396, allocations: 3.938 kB / 303.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004363/0.1401, allocations: 211.9 kB / 304.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004582/0.1405, allocations: 223.7 kB / 304.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/0.1426, allocations: 4.495 MB / 308.8 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/0.1429, allocations: 42.88 kB / 308.8 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.143, allocations: 29.59 kB / 308.9 MB, free: 9.512 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 (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000195/0.1431, allocations: 173.3 kB / 309 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.1432, allocations: 77.75 kB / 309.1 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006128/0.1438, allocations: 0.5938 MB / 309.7 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1438, allocations: 12.06 kB / 309.7 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1438, allocations: 3.5 kB / 309.7 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.1438, allocations: 6.703 kB / 309.7 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.1451, allocations: 1.078 MB / 310.8 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.1451, allocations: 0 / 310.8 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003472/0.1454, allocations: 169.6 kB / 311 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003898/0.1458, allocations: 213.5 kB / 311.2 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.948e-05/0.1459, allocations: 21.58 kB / 311.2 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/0.1476, allocations: 4.505 MB / 315.7 MB, free: 4.664 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1476, allocations: 4 kB / 315.7 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006954/0.1483, allocations: 0.8231 MB / 316.5 MB, free: 3.879 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.1484, allocations: 74.91 kB / 316.6 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.1485, allocations: 21.88 kB / 316.6 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.1486, allocations: 34.23 kB / 316.7 MB, free: 3.781 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.1488, allocations: 79.44 kB / 316.7 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.1488, allocations: 25.8 kB / 316.8 MB, free: 3.699 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.555e-05/0.1489, allocations: 127.7 kB / 316.9 MB, free: 3.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1489, allocations: 0 / 316.9 MB, free: 3.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007031/0.1496, allocations: 266.9 kB / 317.1 MB, free: 3.367 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,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 (80): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,4,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001973/0.1498, allocations: 150.5 kB / 317.3 MB, free: 3.238 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007487/0.1505, allocations: 0.9181 MB / 318.2 MB, free: 2.371 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/0.1505, allocations: 4 kB / 318.2 MB, free: 2.367 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004063/0.1509, allocations: 0.7271 MB / 318.9 MB, free: 1.641 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.1512, allocations: 70.12 kB / 319 MB, free: 1.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.153, allocations: 1.562 MB / 320.6 MB, free: 15.99 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.1532, allocations: 190.3 kB / 320.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002382/0.1534, allocations: 93.31 kB / 320.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.1536, allocations: 149.1 kB / 321 MB, free: 15.55 MB / 282.7 MB Notification: Performance of SimCode: time 1.332e-06/0.1536, allocations: 0 / 321 MB, free: 15.55 MB / 282.7 MB Notification: Performance of Templates: time 0.01292/0.1665, allocations: 9.853 MB / 330.8 MB, free: 5.871 MB / 282.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 -s gbode -gbm=radauIIA3 -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7797368629835546]