Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001215/0.001215, allocations: 84.3 kB / 22.21 MB, free: 2.289 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.001111/0.001111, allocations: 167.1 kB / 25.6 MB, free: 8.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9268/0.9268, allocations: 158.6 MB / 187.5 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 251.5 MB, free: 7.125 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.481e-05, allocations: 2.312 kB / 251.5 MB, free: 7.121 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.006297/0.006322, allocations: 6.213 MB / 257.7 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004396/0.01072, allocations: 2.492 MB / 260.2 MB, free: 14.37 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007719/0.01149, allocations: 20 kB / 260.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001998/0.01349, allocations: 1.306 MB / 261.5 MB, free: 13.04 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.01508, allocations: 0.5588 MB / 262.1 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.01661, allocations: 1.175 MB / 263.2 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001578/0.01819, allocations: 1.133 MB / 264.4 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009271/0.01912, allocations: 0.7778 MB / 265.1 MB, free: 9.355 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006706/0.01979, allocations: 0.6588 MB / 265.8 MB, free: 8.695 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004476/0.02023, allocations: 442.7 kB / 266.2 MB, free: 8.262 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.02035, allocations: 96 kB / 266.3 MB, free: 8.168 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007587/0.02111, allocations: 399.3 kB / 266.7 MB, free: 7.777 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004412/0.02155, allocations: 239.1 kB / 267 MB, free: 7.543 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002748/0.02182, allocations: 371.1 kB / 267.3 MB, free: 7.18 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.023, allocations: 1.086 MB / 268.4 MB, free: 6.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.02301, allocations: 4 kB / 268.4 MB, free: 6.086 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.02301, allocations: 0 / 268.4 MB, free: 6.086 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.02302, allocations: 0 / 268.4 MB, free: 6.086 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.00261/0.02563, allocations: 1.858 MB / 270.3 MB, free: 4.184 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.02567, allocations: 12.02 kB / 270.3 MB, free: 4.172 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002099/0.02777, allocations: 0.7727 MB / 271 MB, free: 3.398 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000502/0.02827, allocations: 442.4 kB / 271.5 MB, free: 2.938 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.716e-05/0.02833, allocations: 82.67 kB / 271.6 MB, free: 2.855 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.02845, allocations: 123.9 kB / 271.7 MB, free: 2.734 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000817/0.02927, allocations: 0.71 MB / 272.4 MB, free: 1.98 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.02929, allocations: 0 / 272.4 MB, free: 1.98 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.289e-05/0.02936, allocations: 51.98 kB / 272.4 MB, free: 1.93 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.02937, allocations: 28 kB / 272.5 MB, free: 1.902 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005683/0.02994, allocations: 472.8 kB / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003546/0.03349, allocations: 2.862 MB / 275.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008284/0.03432, allocations: 0.7342 MB / 276.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.03459, allocations: 250.3 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.907e-05/0.03467, allocations: 36.95 kB / 276.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003905/0.03506, allocations: 426.7 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=98): time 2.485e-06/0.03506, allocations: 0 / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=127): time 0.003496/0.03856, allocations: 2.471 MB / 279.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/0.03863, allocations: 145.5 kB / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.03892, allocations: 434.2 kB / 280.3 MB, free: 9.832 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.03896, allocations: 45.7 kB / 280.3 MB, free: 9.781 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/0.03921, allocations: 0.4917 MB / 280.8 MB, free: 9.281 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005445/0.03975, allocations: 460 kB / 281.2 MB, free: 8.828 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.03997, allocations: 232.4 kB / 281.5 MB, free: 8.594 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.04014, allocations: 0.5585 MB / 282 MB, free: 8.023 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.04032, allocations: 154.5 kB / 282.2 MB, free: 7.871 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.04067, allocations: 0.5247 MB / 282.7 MB, free: 7.219 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005705/0.04125, allocations: 0.6792 MB / 283.4 MB, free: 6.438 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.04125, allocations: 4 kB / 283.4 MB, free: 6.434 MB / 266.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001098/0.04235, allocations: 1.03 MB / 284.4 MB, free: 5.379 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.04237, allocations: 8.062 kB / 284.4 MB, free: 5.371 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.04238, allocations: 8 kB / 284.4 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007267/0.04311, allocations: 378.3 kB / 284.8 MB, free: 4.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.04355, allocations: 215.7 kB / 285 MB, free: 4.766 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0052/0.04875, allocations: 9.174 MB / 294.2 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005288/0.04928, allocations: 47.98 kB / 294.2 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.052e-05/0.04933, allocations: 35.94 kB / 294.3 MB, free: 11.06 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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.0003085/0.04963, allocations: 236.3 kB / 294.5 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.04976, allocations: 115.5 kB / 294.6 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.05109, allocations: 0.9216 MB / 295.5 MB, free: 9.758 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.0511, allocations: 23.92 kB / 295.6 MB, free: 9.734 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.0511, allocations: 8 kB / 295.6 MB, free: 9.727 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.05111, allocations: 7.922 kB / 295.6 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.0531, allocations: 1.776 MB / 297.4 MB, free: 7.867 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.05311, allocations: 3.938 kB / 297.4 MB, free: 7.863 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/0.05346, allocations: 159.9 kB / 297.5 MB, free: 7.707 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006562/0.05411, allocations: 350.7 kB / 297.9 MB, free: 7.348 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.186e-05/0.05416, allocations: 24 kB / 297.9 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004396/0.05856, allocations: 8.798 MB / 306.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.05856, allocations: 4.094 kB / 306.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.05988, allocations: 1.274 MB / 308 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.0601, allocations: 143.5 kB / 308.1 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.654e-05/0.06016, allocations: 27.94 kB / 308.1 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.06039, allocations: 35.98 kB / 308.2 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.06055, allocations: 100.8 kB / 308.3 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.06058, allocations: 24 kB / 308.3 MB, free: 12.4 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001521/0.06073, allocations: 262.9 kB / 308.5 MB, free: 12.15 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.06073, allocations: 4 kB / 308.5 MB, free: 12.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009571/0.06169, allocations: 323.9 kB / 308.9 MB, free: 11.83 MB / 298.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) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * 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.0002459/0.06193, allocations: 167.1 kB / 309 MB, free: 11.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001744/0.06368, allocations: 1.516 MB / 310.5 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.06368, allocations: 0 / 310.5 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009823/0.06466, allocations: 1.219 MB / 311.8 MB, free: 8.777 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.0651, allocations: 81.69 kB / 311.8 MB, free: 8.699 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.06798, allocations: 1.837 MB / 313.7 MB, free: 6.793 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.06819, allocations: 211.7 kB / 313.9 MB, free: 6.566 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002852/0.06847, allocations: 102.2 kB / 314 MB, free: 6.465 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.0687, allocations: 174.2 kB / 314.1 MB, free: 6.293 MB / 298.7 MB Notification: Performance of SimCode: time 1.192e-06/0.0687, allocations: 0 / 314.1 MB, free: 6.293 MB / 298.7 MB Notification: Performance of Templates: time 0.01673/0.08543, allocations: 12.07 MB / 326.2 MB, free: 10.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.0101816481910646]