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.001011/0.001011, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001007/0.001007, allocations: 156.9 kB / 25.61 MB, free: 8.582 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.9889/0.9889, allocations: 177 MB / 205.9 MB, free: 4.461 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.1644/0.1644, allocations: 34.88 MB / 297.4 MB, free: 13.35 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.333e-06/1.333e-06, allocations: 0 / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.659e-05, allocations: 4.141 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.002923/0.00294, allocations: 2.483 MB / 382.5 MB, free: 20.28 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.004095, allocations: 0.8138 MB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.004238, allocations: 4 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.004426, allocations: 59.5 kB / 383.4 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002624/0.004688, allocations: 103.2 kB / 383.5 MB, free: 19.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.004933, allocations: 107.7 kB / 383.6 MB, free: 19.19 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002885/0.005222, allocations: 366.6 kB / 383.9 MB, free: 18.83 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.005371, allocations: 64.89 kB / 384 MB, free: 18.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002971/0.005668, allocations: 215.4 kB / 384.2 MB, free: 18.56 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.005825, allocations: 123.6 kB / 384.3 MB, free: 18.44 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.671e-05/0.005871, allocations: 28 kB / 384.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.402e-05/0.005945, allocations: 32 kB / 384.4 MB, free: 18.38 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.472e-05/0.00599, allocations: 67.75 kB / 384.4 MB, free: 18.31 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.268e-05/0.006073, allocations: 111.7 kB / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.006327, allocations: 239.1 kB / 384.8 MB, free: 17.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.006329, allocations: 0 / 384.8 MB, free: 17.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006329, allocations: 0 / 384.8 MB, free: 17.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.006335, allocations: 0 / 384.8 MB, free: 17.97 MB / 314.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.0007783/0.007113, allocations: 0.6673 MB / 385.4 MB, free: 17.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.007148, allocations: 11.97 kB / 385.5 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.007301, allocations: 56.7 kB / 385.5 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.007515, allocations: 219.5 kB / 385.7 MB, free: 16.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.007533, allocations: 16.88 kB / 385.7 MB, free: 16.94 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.007563, allocations: 24.38 kB / 385.8 MB, free: 16.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.007824, allocations: 177.3 kB / 385.9 MB, free: 16.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.007838, allocations: 192 / 385.9 MB, free: 16.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.007861, allocations: 12.38 kB / 386 MB, free: 16.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.00787, allocations: 7.938 kB / 386 MB, free: 16.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.008041, allocations: 87.41 kB / 386 MB, free: 16.63 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009121/0.008953, allocations: 0.7073 MB / 386.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.009211, allocations: 180.7 kB / 386.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.009311, allocations: 75.64 kB / 387 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.009336, allocations: 4 kB / 387 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.009353, allocations: 37.39 kB / 387 MB, free: 15.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 1.934e-06/0.009355, allocations: 0 / 387 MB, free: 15.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.002859/0.01221, allocations: 0.812 MB / 387.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.012e-05/0.01223, allocations: 55.41 kB / 387.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.01239, allocations: 288.1 kB / 388.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.01241, allocations: 33.7 kB / 388.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.139e-05/0.01249, allocations: 215.4 kB / 388.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.52e-05/0.01255, allocations: 107.1 kB / 388.5 MB, free: 14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-05/0.01263, allocations: 59.3 kB / 388.6 MB, free: 13.94 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.214e-05/0.01269, allocations: 0.5195 MB / 389.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.01281, allocations: 37.69 kB / 389.2 MB, free: 13.37 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.01294, allocations: 69.08 kB / 389.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.01316, allocations: 114.4 kB / 389.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01316, allocations: 7.938 kB / 389.3 MB, free: 13.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009255/0.01408, allocations: 430.1 kB / 389.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.0141, allocations: 4 kB / 389.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.0141, allocations: 3.938 kB / 389.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/0.01527, allocations: 474.3 kB / 390.2 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.612e-05/0.01534, allocations: 27.91 kB / 390.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002853/0.01819, allocations: 7.633 MB / 397.9 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.733e-05/0.01828, allocations: 31.83 kB / 397.9 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.01829, allocations: 4 kB / 397.9 MB, free: 4.082 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 7.318e-05/0.01837, allocations: 176.5 kB / 398.1 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.0184, allocations: 35.81 kB / 398.1 MB, free: 3.863 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006386/0.01904, allocations: 439.7 kB / 398.6 MB, free: 3.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.01904, allocations: 4 kB / 398.6 MB, free: 3.406 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.01904, allocations: 0 / 398.6 MB, free: 3.406 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01905, allocations: 0 / 398.6 MB, free: 3.406 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.01921, allocations: 213 kB / 398.8 MB, free: 3.172 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01921, allocations: 8 kB / 398.8 MB, free: 3.164 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.377e-05/0.01926, allocations: 15.98 kB / 398.8 MB, free: 3.148 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/0.02035, allocations: 474.2 kB / 399.3 MB, free: 2.668 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.02036, allocations: 4 kB / 399.3 MB, free: 2.664 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003652/0.02401, allocations: 7.704 MB / 407 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.02401, allocations: 0 / 407 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007418/0.02475, allocations: 0.5526 MB / 407.5 MB, free: 9.902 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/0.02478, allocations: 31.73 kB / 407.6 MB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.0248, allocations: 15.88 kB / 407.6 MB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/0.02488, allocations: 8 kB / 407.6 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/0.02497, allocations: 27.94 kB / 407.6 MB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.02498, allocations: 11.98 kB / 407.6 MB, free: 9.809 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.54e-05/0.02506, allocations: 189.1 kB / 407.8 MB, free: 9.625 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02506, allocations: 4 kB / 407.8 MB, free: 9.621 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003542/0.02542, allocations: 119.9 kB / 407.9 MB, free: 9.504 MB / 330.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 8.549e-05/0.0255, allocations: 99.25 kB / 408 MB, free: 9.398 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005558/0.02606, allocations: 0.8735 MB / 408.9 MB, free: 8.449 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.02606, allocations: 0 / 408.9 MB, free: 8.449 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006387/0.0267, allocations: 0.9092 MB / 409.8 MB, free: 7.465 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.02692, allocations: 28.55 kB / 409.8 MB, free: 7.438 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007639/0.02768, allocations: 0.5221 MB / 410.4 MB, free: 6.879 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.002e-05/0.02775, allocations: 100.6 kB / 410.5 MB, free: 6.758 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.345e-05/0.02779, allocations: 17.94 kB / 410.5 MB, free: 6.742 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.638e-05/0.02786, allocations: 82.2 kB / 410.6 MB, free: 6.66 MB / 330.7 MB Notification: Performance of SimCode: time 9.32e-07/0.02786, allocations: 0 / 410.6 MB, free: 6.66 MB / 330.7 MB Notification: Performance of Templates: time 0.009896/0.03776, allocations: 9.397 MB / 419.9 MB, free: 13.34 MB / 346.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.5281957890838385]