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.001334/0.001334, allocations: 84.69 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001589/0.001589, allocations: 164.9 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.43/1.43, allocations: 177.2 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.373e-06/1.373e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.432e-05, allocations: 6.766 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008468/0.008492, allocations: 5.859 MB / 330.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005531/0.01402, allocations: 2.472 MB / 333.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009764/0.015, allocations: 23.09 kB / 333.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003426/0.01843, allocations: 1.246 MB / 334.7 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00292/0.02135, allocations: 0.5426 MB / 335.2 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.02401, allocations: 1.189 MB / 336.4 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001722/0.02573, allocations: 1.11 MB / 337.5 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.02702, allocations: 0.7771 MB / 338.3 MB, free: 7.406 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009515/0.02797, allocations: 0.6502 MB / 338.9 MB, free: 7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006653/0.02864, allocations: 419.4 kB / 339.3 MB, free: 6.766 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.0288, allocations: 102 kB / 339.4 MB, free: 6.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.0298, allocations: 407.3 kB / 339.8 MB, free: 6.352 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.03002, allocations: 235.1 kB / 340.1 MB, free: 6.121 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004319/0.03045, allocations: 359.1 kB / 340.4 MB, free: 5.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001993/0.03244, allocations: 1.577 MB / 342 MB, free: 4.188 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.03245, allocations: 0 / 342 MB, free: 4.188 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.03245, allocations: 0 / 342 MB, free: 4.188 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.03246, allocations: 0 / 342 MB, free: 4.188 MB / 302.1 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.004428/0.03689, allocations: 1.685 MB / 343.7 MB, free: 2.461 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.03693, allocations: 12.03 kB / 343.7 MB, free: 2.449 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003402/0.04033, allocations: 475.8 kB / 344.2 MB, free: 1.984 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007316/0.04107, allocations: 440.7 kB / 344.6 MB, free: 1.523 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.572e-05/0.04115, allocations: 86.59 kB / 344.7 MB, free: 1.438 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.04132, allocations: 112.1 kB / 344.8 MB, free: 1.328 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/0.04325, allocations: 1.021 MB / 345.8 MB, free: 272 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/0.04328, allocations: 7.938 kB / 345.8 MB, free: 264 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.04339, allocations: 48 kB / 345.9 MB, free: 216 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/0.04342, allocations: 28 kB / 345.9 MB, free: 188 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/0.04537, allocations: 0.9496 MB / 346.8 MB, free: 15.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005707/0.05108, allocations: 2.959 MB / 349.8 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.05286, allocations: 0.8174 MB / 350.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008082/0.05366, allocations: 388.3 kB / 351 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.05378, allocations: 32.97 kB / 351 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009537/0.05473, allocations: 0.5096 MB / 351.5 MB, free: 10.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 2.535e-06/0.05473, allocations: 0 / 351.5 MB, free: 10.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=125): time 0.009668/0.0644, allocations: 3.683 MB / 355.2 MB, free: 6.637 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.06451, allocations: 149.5 kB / 355.4 MB, free: 6.457 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004921/0.065, allocations: 393.4 kB / 355.7 MB, free: 6.062 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.303e-05/0.06507, allocations: 45.7 kB / 355.8 MB, free: 6.012 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003459/0.06542, allocations: 440.9 kB / 356.2 MB, free: 5.574 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003561/0.06578, allocations: 436.2 kB / 356.7 MB, free: 5.145 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003209/0.0661, allocations: 210.9 kB / 356.9 MB, free: 4.934 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.0663, allocations: 374.8 kB / 357.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007465/0.06705, allocations: 346.5 kB / 357.6 MB, free: 4.219 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009292/0.06798, allocations: 0.5853 MB / 358.1 MB, free: 3.559 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/0.06969, allocations: 0.9349 MB / 359.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.0697, allocations: 4 kB / 359.1 MB, free: 2.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002916/0.07262, allocations: 1.359 MB / 360.4 MB, free: 1.188 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.07264, allocations: 4 kB / 360.4 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.07265, allocations: 12 kB / 360.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.07373, allocations: 346.2 kB / 360.8 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.07476, allocations: 215.6 kB / 361 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00834/0.0831, allocations: 7.88 MB / 368.9 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007565/0.08385, allocations: 51.88 kB / 368.9 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.603e-05/0.08394, allocations: 43.98 kB / 369 MB, free: 8.242 MB / 334.1 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.0004628/0.0844, allocations: 253.7 kB / 369.2 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.08453, allocations: 67.58 kB / 369.3 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/0.08721, allocations: 1.289 MB / 370.6 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.08722, allocations: 12 kB / 370.6 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.08723, allocations: 4 kB / 370.6 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.08724, allocations: 19.84 kB / 370.6 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004012/0.09126, allocations: 2.198 MB / 372.8 MB, free: 4.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.09126, allocations: 4 kB / 372.8 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006938/0.09196, allocations: 147.8 kB / 373 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008232/0.09278, allocations: 331.3 kB / 373.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.217e-05/0.09284, allocations: 28.11 kB / 373.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008285/0.1011, allocations: 7.525 MB / 380.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1011, allocations: 4 kB / 380.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003619/0.1048, allocations: 1.813 MB / 382.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003283/0.1051, allocations: 151.4 kB / 382.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.1052, allocations: 24 kB / 382.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005118/0.1057, allocations: 35.98 kB / 382.9 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/0.106, allocations: 108.7 kB / 383 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/0.106, allocations: 35.98 kB / 383 MB, free: 9.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00032/0.1063, allocations: 259.2 kB / 383.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1063, allocations: 7.875 kB / 383.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001247/0.1076, allocations: 320 kB / 383.6 MB, free: 9.086 MB / 350.1 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.0003488/0.1079, allocations: 171 kB / 383.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002917/0.1109, allocations: 1.545 MB / 385.3 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1109, allocations: 0 / 385.3 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001862/0.1127, allocations: 1.1 MB / 386.4 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005371/0.1133, allocations: 77.36 kB / 386.5 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.117, allocations: 1.831 MB / 388.3 MB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.1175, allocations: 436 kB / 388.7 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003883/0.1178, allocations: 106 kB / 388.8 MB, free: 3.641 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.118, allocations: 56.48 kB / 388.9 MB, free: 3.586 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.118, allocations: 0 / 388.9 MB, free: 3.586 MB / 350.1 MB Notification: Performance of Templates: time 0.02265/0.1407, allocations: 11.18 MB / 400.1 MB, free: 8.488 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.883146531879902]