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.0009221/0.0009221, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009416/0.0009416, allocations: 165 kB / 24.99 MB, free: 8.219 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.907/0.907, allocations: 177 MB / 205.2 MB, free: 5.551 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.245/0.245, allocations: 34.86 MB / 296.6 MB, free: 0.5352 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.613e-06/1.613e-06, allocations: 0 / 378.7 MB, free: 2.457 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.161e-05, allocations: 8.141 kB / 378.7 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003504/0.003526, allocations: 2.51 MB / 381.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.00487, allocations: 0.8139 MB / 382.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.005006, allocations: 7.938 kB / 382.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.005216, allocations: 59.5 kB / 382.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.00549, allocations: 111.1 kB / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.005751, allocations: 103.8 kB / 382.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.006101, allocations: 362.6 kB / 382.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.006267, allocations: 68.81 kB / 382.8 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003147/0.006582, allocations: 215.5 kB / 383 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.006743, allocations: 115.7 kB / 383.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.282e-05/0.006786, allocations: 28 kB / 383.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.096e-05/0.006857, allocations: 32 kB / 383.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/0.00691, allocations: 71.73 kB / 383.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.007013, allocations: 103.7 kB / 383.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.007311, allocations: 243.1 kB / 383.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.007315, allocations: 4 kB / 383.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.007315, allocations: 0 / 383.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.007321, allocations: 0 / 383.6 MB, free: 13.61 MB / 362.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.0008559/0.008177, allocations: 0.6595 MB / 384.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.008213, allocations: 11.97 kB / 384.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.008373, allocations: 60.7 kB / 384.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.008641, allocations: 215.5 kB / 384.5 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.008663, allocations: 20.88 kB / 384.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.0087, allocations: 24.38 kB / 384.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.009043, allocations: 193.3 kB / 384.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.009051, allocations: 192 / 384.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.009075, allocations: 12.38 kB / 384.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.009088, allocations: 11.94 kB / 384.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002635/0.009351, allocations: 118.9 kB / 384.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.0104, allocations: 0.7419 MB / 385.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003926/0.01079, allocations: 215 kB / 385.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.01094, allocations: 83.64 kB / 385.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.01097, allocations: 8 kB / 385.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.01099, allocations: 41.39 kB / 386 MB, free: 11.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.392e-06/0.011, allocations: 0 / 386 MB, free: 11.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.002832/0.01383, allocations: 0.8311 MB / 386.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.01386, allocations: 63.34 kB / 386.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.01409, allocations: 284.3 kB / 387.1 MB, free: 9.836 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.01412, allocations: 33.7 kB / 387.2 MB, free: 9.797 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.01424, allocations: 220 kB / 387.4 MB, free: 9.578 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.855e-05/0.01432, allocations: 111 kB / 387.5 MB, free: 9.469 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.021e-05/0.01441, allocations: 59.34 kB / 387.5 MB, free: 9.402 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.01457, allocations: 0.5079 MB / 388 MB, free: 8.883 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.01469, allocations: 55.77 kB / 388.1 MB, free: 8.828 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.01483, allocations: 81.09 kB / 388.2 MB, free: 8.738 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.01509, allocations: 133 kB / 388.3 MB, free: 8.602 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.0151, allocations: 4 kB / 388.3 MB, free: 8.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001143/0.01624, allocations: 461.5 kB / 388.8 MB, free: 8.125 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.01626, allocations: 11.94 kB / 388.8 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.01626, allocations: 0 / 388.8 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001767/0.01803, allocations: 478.3 kB / 389.2 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.01813, allocations: 27.92 kB / 389.3 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004242/0.02238, allocations: 7.783 MB / 397.1 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.75e-05/0.02246, allocations: 27.89 kB / 397.1 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.02248, allocations: 11.98 kB / 397.1 MB, free: 15.29 MB / 378.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 9.691e-05/0.02257, allocations: 168.6 kB / 397.3 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/0.02262, allocations: 39.81 kB / 397.3 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007746/0.02339, allocations: 471.7 kB / 397.8 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.0234, allocations: 4 kB / 397.8 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.31e-07/0.0234, allocations: 3.938 kB / 397.8 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.0234, allocations: 0 / 397.8 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.02363, allocations: 244.4 kB / 398 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.02363, allocations: 192 / 398 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.823e-05/0.02368, allocations: 19.98 kB / 398 MB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001167/0.02485, allocations: 474.3 kB / 398.5 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.02486, allocations: 11.94 kB / 398.5 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004249/0.02911, allocations: 7.843 MB / 406.3 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.02911, allocations: 0 / 406.3 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008294/0.02994, allocations: 0.5838 MB / 406.9 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.291e-05/0.02997, allocations: 31.75 kB / 407 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.02999, allocations: 15.81 kB / 407 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.094e-05/0.03007, allocations: 8 kB / 407 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.216e-05/0.03016, allocations: 35.92 kB / 407 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.03017, allocations: 8 kB / 407 MB, free: 4.738 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001028/0.03027, allocations: 197.1 kB / 407.2 MB, free: 4.547 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03027, allocations: 0 / 407.2 MB, free: 4.547 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003368/0.03061, allocations: 123.9 kB / 407.3 MB, free: 4.426 MB / 378.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.301e-05/0.03069, allocations: 95.25 kB / 407.4 MB, free: 4.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000607/0.0313, allocations: 0.897 MB / 408.3 MB, free: 3.348 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.0313, allocations: 0 / 408.3 MB, free: 3.348 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006468/0.03195, allocations: 0.9209 MB / 409.2 MB, free: 2.352 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.03217, allocations: 24.5 kB / 409.3 MB, free: 2.324 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008692/0.03304, allocations: 0.5331 MB / 409.8 MB, free: 1.762 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.099e-05/0.03312, allocations: 100.6 kB / 409.9 MB, free: 1.641 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.172e-05/0.03316, allocations: 13.94 kB / 409.9 MB, free: 1.629 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.03319, allocations: 12.5 kB / 409.9 MB, free: 1.617 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.03319, allocations: 0 / 409.9 MB, free: 1.617 MB / 378.7 MB Notification: Performance of Templates: time 0.00919/0.04238, allocations: 8.846 MB / 418.8 MB, free: 8.836 MB / 394.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.3240971381310374]