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.001004/0.001004, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00154/0.002544, allocations: 445.8 kB / 10.44 MB, free: 256 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.001008/0.001008, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001438/0.002446, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.8303/0.8303, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1422/0.9725, allocations: 52.48 MB / 238.5 MB, free: 7.613 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.523e-06/1.523e-06, allocations: 0 / 239.7 MB, free: 6.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.509e-05, allocations: 6 kB / 239.7 MB, free: 6.352 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007931/0.007956, allocations: 6.334 MB / 246.1 MB, free: 0 / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003815/0.01177, allocations: 2.555 MB / 248.6 MB, free: 13.45 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003403/0.01211, allocations: 23.94 kB / 248.6 MB, free: 13.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.0143, allocations: 1.34 MB / 250 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.0156, allocations: 0.6831 MB / 250.7 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.01734, allocations: 1.068 MB / 251.7 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.01843, allocations: 1.102 MB / 252.8 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.01948, allocations: 0.7702 MB / 253.6 MB, free: 8.43 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000772/0.02025, allocations: 0.6852 MB / 254.3 MB, free: 7.742 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005148/0.02077, allocations: 418.8 kB / 254.7 MB, free: 7.332 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.961e-05/0.02087, allocations: 103.9 kB / 254.8 MB, free: 7.23 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004685/0.02134, allocations: 403.4 kB / 255.2 MB, free: 6.836 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.02145, allocations: 171.4 kB / 255.4 MB, free: 6.668 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.02166, allocations: 291.4 kB / 255.7 MB, free: 6.383 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000802/0.02247, allocations: 0.9847 MB / 256.6 MB, free: 5.395 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/0.02248, allocations: 4 kB / 256.6 MB, free: 5.391 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.02248, allocations: 0 / 256.6 MB, free: 5.391 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.02249, allocations: 0 / 256.6 MB, free: 5.391 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.002327/0.02482, allocations: 1.905 MB / 258.5 MB, free: 3.438 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.763e-05/0.02484, allocations: 19.98 kB / 258.6 MB, free: 3.418 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/0.02662, allocations: 0.6718 MB / 259.2 MB, free: 2.746 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.02697, allocations: 303.8 kB / 259.5 MB, free: 2.426 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/0.02701, allocations: 82.59 kB / 259.6 MB, free: 2.344 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.02712, allocations: 120.1 kB / 259.7 MB, free: 2.227 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006639/0.02778, allocations: 0.7089 MB / 260.4 MB, free: 1.473 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.0278, allocations: 0 / 260.4 MB, free: 1.473 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.284e-05/0.02785, allocations: 47.98 kB / 260.5 MB, free: 1.426 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.02787, allocations: 31.94 kB / 260.5 MB, free: 1.395 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004376/0.02831, allocations: 368.2 kB / 260.9 MB, free: 1.016 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/0.03089, allocations: 2.308 MB / 263.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006449/0.03153, allocations: 0.6021 MB / 263.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.03176, allocations: 212.4 kB / 264 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.16e-05/0.03182, allocations: 24.98 kB / 264 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003269/0.03215, allocations: 401.6 kB / 264.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 1.943e-06/0.03215, allocations: 0 / 264.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=103): time 0.003723/0.03587, allocations: 2.5 MB / 266.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.03591, allocations: 94.11 kB / 267 MB, free: 10.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.03612, allocations: 339.1 kB / 267.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.03616, allocations: 45.7 kB / 267.4 MB, free: 10.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.03632, allocations: 409 kB / 267.8 MB, free: 9.855 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.03651, allocations: 360.8 kB / 268.1 MB, free: 9.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.03667, allocations: 182.8 kB / 268.3 MB, free: 9.316 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.96e-05/0.03677, allocations: 386.4 kB / 268.7 MB, free: 8.934 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.0369, allocations: 106.6 kB / 268.8 MB, free: 8.828 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.03714, allocations: 359.3 kB / 269.1 MB, free: 8.402 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/0.03756, allocations: 0.4969 MB / 269.6 MB, free: 7.848 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.03756, allocations: 4 kB / 269.6 MB, free: 7.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0006522/0.03821, allocations: 0.6427 MB / 270.3 MB, free: 7.184 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.03822, allocations: 4 kB / 270.3 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.03823, allocations: 8 kB / 270.3 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000428/0.03866, allocations: 218 kB / 270.5 MB, free: 6.953 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004567/0.03912, allocations: 227.7 kB / 270.7 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.04145, allocations: 4.511 MB / 275.2 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.04167, allocations: 32 kB / 275.3 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.0417, allocations: 31.98 kB / 275.3 MB, free: 1.902 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.0001637/0.04187, allocations: 184.3 kB / 275.5 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.079e-05/0.04194, allocations: 79.91 kB / 275.6 MB, free: 1.633 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006591/0.0426, allocations: 0.5947 MB / 276.2 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.0426, allocations: 12 kB / 276.2 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.04261, allocations: 4 kB / 276.2 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.04261, allocations: 3.984 kB / 276.2 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.0438, allocations: 1.077 MB / 277.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.0438, allocations: 3.984 kB / 277.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003625/0.04417, allocations: 176 kB / 277.4 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.04429, allocations: 67.61 kB / 277.5 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003774/0.04466, allocations: 210.3 kB / 277.7 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.0447, allocations: 23.98 kB / 277.7 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/0.04691, allocations: 4.495 MB / 282.2 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.04691, allocations: 7.938 kB / 282.2 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007687/0.04768, allocations: 0.8178 MB / 283.1 MB, free: 9.793 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.888e-05/0.04773, allocations: 20 kB / 283.1 MB, free: 9.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.04792, allocations: 35.98 kB / 283.1 MB, free: 9.738 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.538e-05/0.048, allocations: 80.78 kB / 283.2 MB, free: 9.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.04803, allocations: 20 kB / 283.2 MB, free: 9.641 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.355e-05/0.04812, allocations: 132.7 kB / 283.3 MB, free: 9.508 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.04812, allocations: 0 / 283.3 MB, free: 9.508 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005099/0.04863, allocations: 260 kB / 283.6 MB, free: 9.254 MB / 282.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.0001774/0.04881, allocations: 164.2 kB / 283.7 MB, free: 9.082 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007587/0.04957, allocations: 0.9199 MB / 284.7 MB, free: 8.125 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.741e-05/0.04959, allocations: 15.98 kB / 284.7 MB, free: 8.109 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005784/0.05017, allocations: 0.7798 MB / 285.5 MB, free: 7.289 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.05056, allocations: 411.8 kB / 285.9 MB, free: 6.832 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006402/0.05696, allocations: 1.711 MB / 287.6 MB, free: 5.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.05709, allocations: 188.9 kB / 287.8 MB, free: 4.867 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002132/0.05731, allocations: 93.39 kB / 287.9 MB, free: 4.773 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.05749, allocations: 143.3 kB / 288 MB, free: 4.633 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.05749, allocations: 4 kB / 288 MB, free: 4.629 MB / 282.7 MB Notification: Performance of Templates: time 0.01278/0.07027, allocations: 10.17 MB / 298.2 MB, free: 10.54 MB / 298.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5607977816835046]