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.00112/0.00112, allocations: 75.75 kB / 21.69 MB, free: 2.855 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.0012/0.0012, allocations: 164.1 kB / 24.99 MB, free: 8.793 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.91/0.91, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.503e-06/1.503e-06, allocations: 0 / 273 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.909e-05, allocations: 2.312 kB / 273.1 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005711/0.005731, allocations: 6.4 MB / 279.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003369/0.009099, allocations: 2.55 MB / 282 MB, free: 8.832 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003762/0.009475, allocations: 20 kB / 282 MB, free: 8.812 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002072/0.01155, allocations: 1.337 MB / 283.4 MB, free: 7.469 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.01263, allocations: 0.5354 MB / 283.9 MB, free: 6.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.01456, allocations: 1.222 MB / 285.1 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.01557, allocations: 1.117 MB / 286.2 MB, free: 4.582 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009569/0.01653, allocations: 0.77 MB / 287 MB, free: 3.785 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006381/0.01717, allocations: 0.647 MB / 287.6 MB, free: 3.137 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004848/0.01765, allocations: 430.8 kB / 288.1 MB, free: 2.715 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.01777, allocations: 100 kB / 288.2 MB, free: 2.617 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006277/0.0184, allocations: 395.4 kB / 288.6 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.01856, allocations: 239.1 kB / 288.8 MB, free: 1.996 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000304/0.01886, allocations: 363.1 kB / 289.1 MB, free: 1.641 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.02004, allocations: 1.094 MB / 290.2 MB, free: 0.543 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.02004, allocations: 0 / 290.2 MB, free: 0.543 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.02004, allocations: 0 / 290.2 MB, free: 0.543 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.02006, allocations: 0 / 290.2 MB, free: 0.543 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.1027/0.1227, allocations: 1.824 MB / 292.1 MB, free: 29.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.1227, allocations: 8.844 kB / 292.1 MB, free: 29.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001905/0.1247, allocations: 0.6374 MB / 292.7 MB, free: 29.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/0.1252, allocations: 452.7 kB / 293.1 MB, free: 28.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.203e-05/0.1252, allocations: 83.38 kB / 293.2 MB, free: 28.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.1253, allocations: 112.7 kB / 293.3 MB, free: 28.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.1264, allocations: 0.7762 MB / 294.1 MB, free: 28.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.1264, allocations: 2.016 kB / 294.1 MB, free: 28.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.406e-05/0.1265, allocations: 45.06 kB / 294.2 MB, free: 28.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.1265, allocations: 27.33 kB / 294.2 MB, free: 28.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009225/0.1274, allocations: 0.5494 MB / 294.7 MB, free: 28.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003412/0.1308, allocations: 2.883 MB / 297.6 MB, free: 26.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.1318, allocations: 0.7255 MB / 298.3 MB, free: 26.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/0.1322, allocations: 280.7 kB / 298.6 MB, free: 26.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.32e-05/0.1323, allocations: 38.06 kB / 298.7 MB, free: 26.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000435/0.1327, allocations: 441.1 kB / 299.1 MB, free: 26.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.675e-06/0.1327, allocations: 0 / 299.1 MB, free: 26.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.004153/0.1369, allocations: 2.93 MB / 302 MB, free: 24.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.1369, allocations: 147.1 kB / 302.2 MB, free: 24.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.1372, allocations: 416.9 kB / 302.6 MB, free: 24.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.1372, allocations: 51.55 kB / 302.6 MB, free: 24.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.1374, allocations: 490.7 kB / 303.1 MB, free: 24.03 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.1375, allocations: 442.9 kB / 303.5 MB, free: 23.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.1377, allocations: 217.9 kB / 303.7 MB, free: 23.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.995e-05/0.1378, allocations: 0.5553 MB / 304.3 MB, free: 22.97 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.1381, allocations: 196.4 kB / 304.5 MB, free: 22.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.1384, allocations: 0.5133 MB / 305 MB, free: 22.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006315/0.1391, allocations: 0.7051 MB / 305.7 MB, free: 22.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1391, allocations: 3.844 kB / 305.7 MB, free: 22.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001131/0.1402, allocations: 1.096 MB / 306.8 MB, free: 20.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1402, allocations: 4 kB / 306.8 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1402, allocations: 8 kB / 306.8 MB, free: 20.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007213/0.1409, allocations: 393.8 kB / 307.2 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/0.1413, allocations: 203.7 kB / 307.4 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003373/0.1447, allocations: 9.373 MB / 316.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.145, allocations: 39.98 kB / 316.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.145, allocations: 48 kB / 316.9 MB, free: 10.43 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.0001664/0.1452, allocations: 220.4 kB / 317.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.536e-05/0.1453, allocations: 119.5 kB / 317.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.1464, allocations: 1.005 MB / 318.2 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1464, allocations: 12 kB / 318.2 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1464, allocations: 8 kB / 318.2 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.1464, allocations: 3.984 kB / 318.2 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.1483, allocations: 1.954 MB / 320.2 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.1483, allocations: 7.984 kB / 320.2 MB, free: 7.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/0.1486, allocations: 153.9 kB / 320.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006435/0.1492, allocations: 372.4 kB / 320.7 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/0.1493, allocations: 24 kB / 320.7 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003614/0.1529, allocations: 9.006 MB / 329.7 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1529, allocations: 0 / 329.7 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.1544, allocations: 1.403 MB / 331.1 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.1546, allocations: 147.4 kB / 331.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.378e-05/0.1547, allocations: 24 kB / 331.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.1549, allocations: 35.98 kB / 331.3 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.1551, allocations: 104.8 kB / 331.4 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/0.1551, allocations: 32 kB / 331.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001631/0.1553, allocations: 271.1 kB / 331.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1553, allocations: 0 / 331.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007076/0.156, allocations: 319.9 kB / 332 MB, free: 10.62 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.0002128/0.1562, allocations: 178.8 kB / 332.2 MB, free: 10.44 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.1575, allocations: 1.566 MB / 333.8 MB, free: 8.797 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1575, allocations: 4 kB / 333.8 MB, free: 8.793 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008426/0.1584, allocations: 1.257 MB / 335 MB, free: 7.469 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.1587, allocations: 74.11 kB / 335.1 MB, free: 7.398 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.1612, allocations: 1.768 MB / 336.9 MB, free: 5.559 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.1614, allocations: 215.6 kB / 337.1 MB, free: 5.328 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.00024/0.1616, allocations: 102 kB / 337.2 MB, free: 5.227 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.1617, allocations: 60.48 kB / 337.3 MB, free: 5.168 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1617, allocations: 4 kB / 337.3 MB, free: 5.164 MB / 282.7 MB Notification: Performance of Templates: time 0.01393/0.1756, allocations: 11.41 MB / 348.7 MB, free: 9.902 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","",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.139527802122757]