Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.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.0009854/0.0009854, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001072/0.001072, allocations: 172.5 kB / 24.92 MB, free: 8.254 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.9442/0.9442, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2736/0.2736, allocations: 34.26 MB / 296.1 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.14e-05, allocations: 2.312 kB / 325.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003058/0.00308, allocations: 2.673 MB / 327.9 MB, free: 5.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.004589, allocations: 0.7949 MB / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.004753, allocations: 11.94 kB / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.004966, allocations: 71.36 kB / 328.8 MB, free: 4.137 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.005173, allocations: 107.1 kB / 328.9 MB, free: 4.031 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.005417, allocations: 119.8 kB / 329 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.005753, allocations: 434.8 kB / 329.4 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.005934, allocations: 108.5 kB / 329.5 MB, free: 3.375 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.006142, allocations: 223.5 kB / 329.7 MB, free: 3.156 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.006269, allocations: 123.7 kB / 329.9 MB, free: 3.035 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.006309, allocations: 32 kB / 329.9 MB, free: 3.004 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.424e-05/0.006344, allocations: 32 kB / 329.9 MB, free: 2.973 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.927e-05/0.006403, allocations: 83.66 kB / 330 MB, free: 2.891 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.537e-05/0.006488, allocations: 123.7 kB / 330.1 MB, free: 2.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.006736, allocations: 274.8 kB / 330.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.006738, allocations: 0 / 330.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006739, allocations: 0 / 330.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.006743, allocations: 0 / 330.4 MB, free: 2.5 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0005747/0.007318, allocations: 0.5715 MB / 331 MB, free: 1.906 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.007354, allocations: 12.03 kB / 331 MB, free: 1.895 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.007415, allocations: 56.89 kB / 331 MB, free: 1.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.007616, allocations: 196.6 kB / 331.2 MB, free: 1.621 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.00764, allocations: 29.38 kB / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.007667, allocations: 28.38 kB / 331.3 MB, free: 1.566 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.007938, allocations: 287.6 kB / 331.6 MB, free: 1.262 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.007949, allocations: 3.938 kB / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.007967, allocations: 16 kB / 331.6 MB, free: 1.242 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.007975, allocations: 8 kB / 331.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.008088, allocations: 97.62 kB / 331.7 MB, free: 1.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009228/0.009011, allocations: 0.9589 MB / 332.6 MB, free: 124 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.009221, allocations: 138.5 kB / 332.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.009259, allocations: 35.56 kB / 332.8 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.009283, allocations: 7.984 kB / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.009312, allocations: 38.56 kB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 1.704e-06/0.009314, allocations: 0 / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002026/0.009516, allocations: 117.4 kB / 333 MB, free: 15.72 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.009564, allocations: 132.5 kB / 333.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.009718, allocations: 278.7 kB / 333.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.009728, allocations: 25.7 kB / 333.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/0.009814, allocations: 232.4 kB / 333.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.009843, allocations: 55.52 kB / 333.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/0.0099, allocations: 57.92 kB / 333.7 MB, free: 14.9 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.015e-05/0.00999, allocations: 338.8 kB / 334.1 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.406e-05/0.01002, allocations: 24.67 kB / 334.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.91e-05/0.0101, allocations: 112.2 kB / 334.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.01023, allocations: 154.9 kB / 334.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.01024, allocations: 0.5 kB / 334.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001786/0.01041, allocations: 173.6 kB / 334.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.01043, allocations: 11.94 kB / 334.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.01044, allocations: 8 kB / 334.5 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.01045, allocations: 4 kB / 334.5 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.01061, allocations: 71.89 kB / 334.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.01061, allocations: 7.984 kB / 334.6 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.789e-05/0.01071, allocations: 40.05 kB / 334.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.01072, allocations: 8 kB / 334.7 MB, free: 13.88 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.416e-05/0.01081, allocations: 133.7 kB / 334.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.261e-05/0.01086, allocations: 23.91 kB / 334.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/0.01089, allocations: 33.52 kB / 334.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.0109, allocations: 4 kB / 334.9 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.0109, allocations: 0 / 334.9 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.0109, allocations: 0 / 334.9 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/0.0113, allocations: 406.1 kB / 335.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.01131, allocations: 4 kB / 335.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.297e-05/0.01139, allocations: 39.97 kB / 335.3 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01139, allocations: 4 kB / 335.3 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.0114, allocations: 7.984 kB / 335.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.0114, allocations: 0 / 335.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.0114, allocations: 7.938 kB / 335.3 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.01155, allocations: 287 kB / 335.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.01158, allocations: 35.91 kB / 335.6 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.01159, allocations: 4 kB / 335.6 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.01168, allocations: 8 kB / 335.6 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.01172, allocations: 19.91 kB / 335.7 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.01172, allocations: 4 kB / 335.7 MB, free: 12.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.142e-05/0.01179, allocations: 96.62 kB / 335.8 MB, free: 12.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01179, allocations: 0 / 335.8 MB, free: 12.69 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00023/0.01202, allocations: 87.67 kB / 335.9 MB, free: 12.61 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.099e-05/0.0121, allocations: 84.3 kB / 335.9 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.01224, allocations: 104.6 kB / 336 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.01225, allocations: 4 kB / 336 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.175e-05/0.01229, allocations: 40.78 kB / 336.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.01251, allocations: 21.86 kB / 336.1 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006165/0.01313, allocations: 0.5487 MB / 336.6 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.105e-05/0.01319, allocations: 83.97 kB / 336.7 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.931e-05/0.01325, allocations: 25.89 kB / 336.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.987e-05/0.01332, allocations: 71.38 kB / 336.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01332, allocations: 0 / 336.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of Templates: time 0.003606/0.01693, allocations: 1.52 MB / 338.3 MB, free: 10.05 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.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.041674875188619]