Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000948/0.000948, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00147/0.002418, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000985/0.000985, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001378/0.002363, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9394/0.9394, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0882/1.028, allocations: 53.87 MB / 243.9 MB, free: 14.87 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2637/0.2637, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02458/0.2882, allocations: 13.23 MB / 292.8 MB, free: 6.398 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 294.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.343e-05, allocations: 5.906 kB / 294.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004225/0.004248, allocations: 2.543 MB / 296.6 MB, free: 2.547 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.005853, allocations: 0.8427 MB / 297.5 MB, free: 1.699 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.006007, allocations: 4 kB / 297.5 MB, free: 1.695 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000191/0.006198, allocations: 59.44 kB / 297.5 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.006486, allocations: 111.1 kB / 297.7 MB, free: 1.527 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.006793, allocations: 103.8 kB / 297.8 MB, free: 1.426 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004086/0.007202, allocations: 358.6 kB / 298.1 MB, free: 1.074 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.007376, allocations: 74.78 kB / 298.2 MB, free: 1.004 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004622/0.007838, allocations: 241.6 kB / 298.4 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.008023, allocations: 111.7 kB / 298.5 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.377e-05/0.008076, allocations: 32 kB / 298.6 MB, free: 0.625 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.008185, allocations: 32 kB / 298.6 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.905e-05/0.008244, allocations: 47.81 kB / 298.6 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.866e-05/0.008342, allocations: 83.81 kB / 298.7 MB, free: 476 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003237/0.008666, allocations: 223.1 kB / 298.9 MB, free: 252 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.103e-05/0.008677, allocations: 0 / 298.9 MB, free: 252 kB / 282.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.00868, allocations: 8 kB / 298.9 MB, free: 244 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.008692, allocations: 0 / 298.9 MB, free: 244 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009423/0.009635, allocations: 0.5981 MB / 299.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.009672, allocations: 8.922 kB / 299.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.009889, allocations: 126 kB / 299.7 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.01018, allocations: 184.8 kB / 299.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.0102, allocations: 20.86 kB / 299.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.01024, allocations: 24.38 kB / 299.9 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.01056, allocations: 181.3 kB / 300.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.01057, allocations: 4.188 kB / 300.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.01059, allocations: 8.375 kB / 300.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.0106, allocations: 11.94 kB / 300.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.01077, allocations: 79.39 kB / 300.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.0118, allocations: 0.5433 MB / 300.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.0121, allocations: 178.2 kB / 300.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.01221, allocations: 64.84 kB / 301 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.01225, allocations: 8 kB / 301 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.01227, allocations: 30.56 kB / 301 MB, free: 14.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 2.395e-06/0.01227, allocations: 0 / 301 MB, free: 14.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.002675/0.01495, allocations: 0.7536 MB / 301.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.01499, allocations: 55.41 kB / 301.8 MB, free: 13.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.01521, allocations: 217 kB / 302 MB, free: 13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.01524, allocations: 29.7 kB / 302 MB, free: 12.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.01534, allocations: 157.1 kB / 302.2 MB, free: 12.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.07e-05/0.01542, allocations: 111 kB / 302.3 MB, free: 12.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-05/0.01551, allocations: 49.69 kB / 302.4 MB, free: 12.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.01565, allocations: 342.7 kB / 302.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.97e-05/0.01572, allocations: 27.98 kB / 302.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.01582, allocations: 66.5 kB / 302.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.016, allocations: 112.1 kB / 302.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.016, allocations: 0 / 302.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009654/0.01697, allocations: 377.5 kB / 303.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.01699, allocations: 8 kB / 303.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.017, allocations: 3.938 kB / 303.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001649/0.01865, allocations: 450.9 kB / 303.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.01878, allocations: 35.97 kB / 303.7 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005043/0.02382, allocations: 5.343 MB / 309.1 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.02397, allocations: 28.08 kB / 309.1 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.02398, allocations: 4 kB / 309.1 MB, free: 5.473 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.02411, allocations: 121.8 kB / 309.2 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.715e-05/0.02417, allocations: 31.91 kB / 309.3 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009547/0.02512, allocations: 395.3 kB / 309.7 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.02513, allocations: 4 kB / 309.7 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.02513, allocations: 0 / 309.7 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.02513, allocations: 0 / 309.7 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.02541, allocations: 174.3 kB / 309.8 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.02542, allocations: 0 / 309.8 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.677e-05/0.0255, allocations: 27.86 kB / 309.9 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.02554, allocations: 31.73 kB / 309.9 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/0.02705, allocations: 443 kB / 310.3 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.02707, allocations: 4 kB / 310.3 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004695/0.03177, allocations: 5.407 MB / 315.7 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.03177, allocations: 0 / 315.7 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009275/0.03269, allocations: 463.6 kB / 316.2 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.03272, allocations: 8 kB / 316.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.03286, allocations: 8 kB / 316.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.03298, allocations: 39.86 kB / 316.2 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.033, allocations: 11.94 kB / 316.2 MB, free: 13.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.853e-05/0.03309, allocations: 70.78 kB / 316.3 MB, free: 13.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03309, allocations: 0 / 316.3 MB, free: 13.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005215/0.03361, allocations: 119.9 kB / 316.4 MB, free: 13.72 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 7 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001269/0.03374, allocations: 84.42 kB / 316.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006795/0.03442, allocations: 0.64 MB / 317.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.374e-05/0.03443, allocations: 4 kB / 317.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008491/0.03528, allocations: 0.6981 MB / 317.9 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.03566, allocations: 189 kB / 318 MB, free: 11.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.03787, allocations: 0.5439 MB / 318.6 MB, free: 11.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.03798, allocations: 104.5 kB / 318.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.06e-05/0.03805, allocations: 13.95 kB / 318.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.03815, allocations: 71.38 kB / 318.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.03815, allocations: 3.938 kB / 318.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of Templates: time 0.01421/0.05236, allocations: 8.363 MB / 327.1 MB, free: 2.902 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.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.958395608700812]