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.000882/0.000882, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001128/0.00201, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006747/0.0006747, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009233/0.001598, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9699/0.9699, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08515/1.055, allocations: 52.5 MB / 238.3 MB, free: 4.422 MB / 234.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.333e-06/1.333e-06, allocations: 3.938 kB / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.737e-05, allocations: 2.312 kB / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005799/0.005816, allocations: 6.325 MB / 245.9 MB, free: 12.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005251/0.01107, allocations: 2.564 MB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008561/0.01192, allocations: 23.94 kB / 248.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002458/0.01438, allocations: 1.341 MB / 249.8 MB, free: 8.875 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.01642, allocations: 0.6752 MB / 250.5 MB, free: 8.195 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.0185, allocations: 1.066 MB / 251.5 MB, free: 7.125 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001662/0.02016, allocations: 1.102 MB / 252.6 MB, free: 6.016 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.02147, allocations: 0.7741 MB / 253.4 MB, free: 5.215 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.02255, allocations: 0.6852 MB / 254.1 MB, free: 4.531 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007352/0.02329, allocations: 426.8 kB / 254.5 MB, free: 4.113 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002097/0.0235, allocations: 96 kB / 254.6 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.02462, allocations: 399.4 kB / 255 MB, free: 3.629 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.0248, allocations: 171.4 kB / 255.2 MB, free: 3.461 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004622/0.02526, allocations: 299.4 kB / 255.5 MB, free: 3.168 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.02683, allocations: 0.9848 MB / 256.4 MB, free: 2.18 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.017e-05/0.02685, allocations: 0 / 256.4 MB, free: 2.18 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.02685, allocations: 4 kB / 256.4 MB, free: 2.176 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.903e-05/0.0269, allocations: 0 / 256.4 MB, free: 2.176 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.004032/0.03093, allocations: 1.909 MB / 258.4 MB, free: 224 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.03097, allocations: 16.03 kB / 258.4 MB, free: 208 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/0.03286, allocations: 0.6796 MB / 259.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005007/0.03336, allocations: 299.8 kB / 259.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.506e-05/0.03341, allocations: 86.59 kB / 259.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.03352, allocations: 116.1 kB / 259.5 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009313/0.03445, allocations: 0.7089 MB / 260.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/0.03448, allocations: 3.984 kB / 260.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.487e-05/0.03453, allocations: 40 kB / 260.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.03455, allocations: 31.94 kB / 260.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004956/0.03505, allocations: 372.2 kB / 260.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003038/0.03808, allocations: 2.304 MB / 263 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006541/0.03874, allocations: 0.5943 MB / 263.6 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.03899, allocations: 224.3 kB / 263.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.435e-05/0.03907, allocations: 24.98 kB / 263.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003625/0.03943, allocations: 397.7 kB / 264.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.255e-06/0.03944, allocations: 3.938 kB / 264.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=103): time 0.003091/0.04253, allocations: 2.165 MB / 266.4 MB, free: 7.887 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.04257, allocations: 90.05 kB / 266.5 MB, free: 7.781 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.04279, allocations: 343.1 kB / 266.8 MB, free: 7.434 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.04283, allocations: 45.7 kB / 266.9 MB, free: 7.383 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.043, allocations: 405 kB / 267.3 MB, free: 6.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.04318, allocations: 368.8 kB / 267.6 MB, free: 6.617 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.04335, allocations: 174.8 kB / 267.8 MB, free: 6.441 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.04345, allocations: 386.6 kB / 268.2 MB, free: 6.055 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.04359, allocations: 110.6 kB / 268.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.04382, allocations: 366.3 kB / 268.6 MB, free: 5.516 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004106/0.04423, allocations: 494.1 kB / 269.1 MB, free: 4.973 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.04423, allocations: 0 / 269.1 MB, free: 4.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0006408/0.04488, allocations: 0.6379 MB / 269.7 MB, free: 4.316 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.04489, allocations: 4 kB / 269.8 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.0449, allocations: 4 kB / 269.8 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004347/0.04533, allocations: 213.8 kB / 270 MB, free: 4.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/0.04581, allocations: 235.7 kB / 270.2 MB, free: 3.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1061/0.1519, allocations: 4.495 MB / 274.7 MB, free: 16.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005903/0.1525, allocations: 45.25 kB / 274.7 MB, free: 16.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-05/0.1526, allocations: 30.42 kB / 274.8 MB, free: 16.06 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.0002803/0.1528, allocations: 167.8 kB / 274.9 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.153, allocations: 72.41 kB / 275 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.154, allocations: 0.6031 MB / 275.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.154, allocations: 14.27 kB / 275.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.154, allocations: 7.438 kB / 275.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.154, allocations: 5.156 kB / 275.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.1557, allocations: 1.068 MB / 276.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.1557, allocations: 0.9688 kB / 276.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000517/0.1562, allocations: 170.5 kB / 276.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.1564, allocations: 79.11 kB / 276.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005135/0.1569, allocations: 209.7 kB / 277.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.033e-05/0.157, allocations: 23.23 kB / 277.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002339/0.1593, allocations: 4.508 MB / 281.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1593, allocations: 1.031 kB / 281.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.1604, allocations: 0.8166 MB / 282.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.262e-05/0.1605, allocations: 23.88 kB / 282.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/0.1608, allocations: 34.45 kB / 282.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.1609, allocations: 80.59 kB / 282.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.214e-05/0.1609, allocations: 21.77 kB / 282.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001492/0.1611, allocations: 127.3 kB / 282.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1611, allocations: 3.656 kB / 282.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008891/0.162, allocations: 264.8 kB / 283 MB, free: 11.66 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.0002369/0.1622, allocations: 151.5 kB / 283.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.1633, allocations: 0.9068 MB / 284.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.566e-05/0.1633, allocations: 13.38 kB / 284.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006247/0.1639, allocations: 0.7164 MB / 284.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.1643, allocations: 128.7 kB / 284.9 MB, free: 10.83 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009177/0.1735, allocations: 1.72 MB / 286.7 MB, free: 10.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.1737, allocations: 193.6 kB / 286.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003707/0.1741, allocations: 99.16 kB / 287 MB, free: 9.969 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.1743, allocations: 142.6 kB / 287.1 MB, free: 9.922 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1743, allocations: 0 / 287.1 MB, free: 9.922 MB / 266.7 MB Notification: Performance of Templates: time 0.01457/0.1889, allocations: 9.714 MB / 296.8 MB, free: 7.383 MB / 266.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 -ignoreHideResult -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: 2.8917824495583773]