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.001103/0.001103, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009035/0.0009035, allocations: 165 kB / 24.91 MB, free: 9.18 MB / 18.57 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.9422/0.9422, allocations: 177 MB / 205.2 MB, free: 5.465 MB / 186.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.2589/0.2589, allocations: 34.87 MB / 296.6 MB, free: 0.5195 MB / 266.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.332e-06/1.332e-06, allocations: 0 / 325.9 MB, free: 7.203 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131e-05/1.264e-05, allocations: 6.312 kB / 325.9 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003208/0.00322, allocations: 2.487 MB / 328.4 MB, free: 4.695 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.004555, allocations: 0.8388 MB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.004683, allocations: 7.938 kB / 329.2 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.00487, allocations: 59.5 kB / 329.3 MB, free: 3.781 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.005142, allocations: 115.1 kB / 329.4 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.005392, allocations: 99.36 kB / 329.5 MB, free: 3.574 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.005736, allocations: 370.5 kB / 329.9 MB, free: 3.211 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.005892, allocations: 74.75 kB / 329.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003065/0.006199, allocations: 211.5 kB / 330.1 MB, free: 2.934 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.006363, allocations: 115.7 kB / 330.3 MB, free: 2.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.268e-05/0.006406, allocations: 32 kB / 330.3 MB, free: 2.789 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.807e-05/0.006474, allocations: 32 kB / 330.3 MB, free: 2.758 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.309e-05/0.006527, allocations: 71.73 kB / 330.4 MB, free: 2.688 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.352e-05/0.006621, allocations: 99.73 kB / 330.5 MB, free: 2.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.0069, allocations: 251 kB / 330.7 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.006901, allocations: 0 / 330.7 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.006902, allocations: 0 / 330.7 MB, free: 2.344 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.006905, allocations: 0 / 330.7 MB, free: 2.344 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0007307/0.007636, allocations: 0.54 MB / 331.3 MB, free: 1.781 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.007667, allocations: 8.031 kB / 331.3 MB, free: 1.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.007802, allocations: 48.91 kB / 331.3 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.008029, allocations: 184.7 kB / 331.5 MB, free: 1.516 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.008048, allocations: 20.88 kB / 331.5 MB, free: 1.496 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.008084, allocations: 24.38 kB / 331.5 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.008345, allocations: 185.3 kB / 331.7 MB, free: 1.285 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.008355, allocations: 192 / 331.7 MB, free: 1.285 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.008377, allocations: 8.375 kB / 331.7 MB, free: 1.277 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.008387, allocations: 15.94 kB / 331.8 MB, free: 1.262 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.008532, allocations: 71.45 kB / 331.8 MB, free: 1.191 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008903/0.009423, allocations: 0.5432 MB / 332.4 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.009703, allocations: 174.3 kB / 332.5 MB, free: 452 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.976e-05/0.009803, allocations: 64.83 kB / 332.6 MB, free: 384 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.009831, allocations: 8 kB / 332.6 MB, free: 376 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.009852, allocations: 34.56 kB / 332.6 MB, free: 332 kB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.794e-06/0.009854, allocations: 0 / 332.6 MB, free: 332 kB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.002665/0.01252, allocations: 0.7459 MB / 333.4 MB, free: 15.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.01255, allocations: 55.41 kB / 333.4 MB, free: 15.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.0127, allocations: 213 kB / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.01272, allocations: 29.7 kB / 333.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/0.01279, allocations: 149.2 kB / 333.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.729e-05/0.01286, allocations: 111 kB / 333.9 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.008e-05/0.01294, allocations: 61.66 kB / 334 MB, free: 14.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.01304, allocations: 338.7 kB / 334.3 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.185e-05/0.0131, allocations: 27.98 kB / 334.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.489e-05/0.01319, allocations: 60.14 kB / 334.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.01335, allocations: 111.3 kB / 334.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.01335, allocations: 0 / 334.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008679/0.01422, allocations: 378.2 kB / 334.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.01424, allocations: 4 kB / 334.9 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.01424, allocations: 0 / 334.9 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001548/0.01579, allocations: 462.9 kB / 335.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.642e-05/0.01589, allocations: 23.98 kB / 335.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003987/0.01987, allocations: 5.327 MB / 340.7 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.849e-05/0.01996, allocations: 27.91 kB / 340.7 MB, free: 7.777 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.01998, allocations: 11.98 kB / 340.7 MB, free: 7.766 MB / 314.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.0001013/0.02008, allocations: 117.8 kB / 340.8 MB, free: 7.641 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.02011, allocations: 27.92 kB / 340.9 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006343/0.02075, allocations: 396.4 kB / 341.3 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.02075, allocations: 7.984 kB / 341.3 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.02075, allocations: 0 / 341.3 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.02076, allocations: 0 / 341.3 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.02095, allocations: 178.3 kB / 341.4 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.02096, allocations: 0 / 341.4 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.698e-05/0.021, allocations: 23.86 kB / 341.5 MB, free: 6.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/0.02203, allocations: 455 kB / 341.9 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.02204, allocations: 4 kB / 341.9 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004017/0.02606, allocations: 5.385 MB / 347.3 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.02606, allocations: 0 / 347.3 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009723/0.02703, allocations: 458.3 kB / 347.7 MB, free: 316 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.02706, allocations: 23.8 kB / 347.8 MB, free: 292 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.02709, allocations: 8 kB / 347.8 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.0272, allocations: 8 kB / 347.8 MB, free: 276 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.02732, allocations: 35.86 kB / 347.8 MB, free: 240 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.02733, allocations: 12 kB / 347.8 MB, free: 228 kB / 314.7 MB Notification: Performance of sorting global known variables: time 7.724e-05/0.02741, allocations: 78.77 kB / 347.9 MB, free: 148 kB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02741, allocations: 0 / 347.9 MB, free: 148 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004424/0.02785, allocations: 123.8 kB / 348 MB, free: 24 kB / 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.0001076/0.02796, allocations: 80.42 kB / 348.1 MB, free: 15.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005993/0.02856, allocations: 0.6357 MB / 348.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.02857, allocations: 4 kB / 348.7 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006878/0.02926, allocations: 0.679 MB / 349.4 MB, free: 14.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.02949, allocations: 30.78 kB / 349.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008979/0.03039, allocations: 0.5365 MB / 350 MB, free: 13.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.03049, allocations: 104.5 kB / 350.1 MB, free: 13.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.204e-05/0.03054, allocations: 9.953 kB / 350.1 MB, free: 13.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/0.03062, allocations: 67.38 kB / 350.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.03062, allocations: 0 / 350.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of Templates: time 0.01374/0.04436, allocations: 9.103 MB / 359.3 MB, free: 4.676 MB / 330.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.118591507896781]