Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.001367/0.001367, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001236/0.001236, allocations: 164.9 kB / 25.61 MB, free: 8.902 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 1.037/1.037, allocations: 177.1 MB / 206 MB, free: 4.5 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.1403/0.1403, allocations: 34.26 MB / 296.8 MB, free: 13.93 MB / 282.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.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_4.1.0_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_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.568e-05/1.718e-05, allocations: 2.312 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.002987/0.003004, allocations: 2.467 MB / 381.7 MB, free: 20.94 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.004224, allocations: 0.8138 MB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.00438, allocations: 4 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.004578, allocations: 59.45 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.004856, allocations: 115.2 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.005108, allocations: 103.7 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003143/0.005422, allocations: 370.5 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.005583, allocations: 65.88 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003161/0.005899, allocations: 207.6 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.006058, allocations: 123.6 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.568e-05/0.006103, allocations: 32 kB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.771e-05/0.006171, allocations: 32 kB / 383.6 MB, free: 19.03 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.519e-05/0.006226, allocations: 63.75 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.046e-05/0.006317, allocations: 111.7 kB / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.006588, allocations: 251 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.00659, allocations: 0 / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.006591, allocations: 0 / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.006596, allocations: 0 / 384.1 MB, free: 18.61 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.0006251/0.007222, allocations: 0.6594 MB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.007251, allocations: 8.031 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.007366, allocations: 64.7 kB / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.007534, allocations: 211.5 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.007549, allocations: 24.88 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.007571, allocations: 24.38 kB / 385 MB, free: 17.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.007771, allocations: 181.2 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.007782, allocations: 192 / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.007798, allocations: 8.375 kB / 385.2 MB, free: 17.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.007806, allocations: 11.94 kB / 385.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.007912, allocations: 87.41 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006578/0.00857, allocations: 0.7033 MB / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.008763, allocations: 188.8 kB / 386.2 MB, free: 16.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.987e-05/0.008833, allocations: 71.64 kB / 386.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.008858, allocations: 8 kB / 386.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.008873, allocations: 33.39 kB / 386.3 MB, free: 16.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 1.232e-06/0.008874, allocations: 0 / 386.3 MB, free: 16.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.001858/0.01073, allocations: 0.8086 MB / 387.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.698e-05/0.01075, allocations: 55.41 kB / 387.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.01086, allocations: 292.1 kB / 387.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.01087, allocations: 29.7 kB / 387.5 MB, free: 14.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.01093, allocations: 223.4 kB / 387.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.415e-05/0.01099, allocations: 103.1 kB / 387.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.839e-05/0.01106, allocations: 63.28 kB / 387.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.14e-05/0.01112, allocations: 0.5117 MB / 388.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.67e-05/0.01117, allocations: 41.75 kB / 388.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.986e-05/0.01123, allocations: 69.02 kB / 388.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.01135, allocations: 113.9 kB / 388.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01135, allocations: 0 / 388.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006863/0.01204, allocations: 430.1 kB / 389 MB, free: 13.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.01205, allocations: 4.031 kB / 389 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01205, allocations: 11.94 kB / 389 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/0.01324, allocations: 470.2 kB / 389.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.102e-05/0.01332, allocations: 23.98 kB / 389.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003074/0.01639, allocations: 7.63 MB / 397.2 MB, free: 4.773 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.566e-05/0.01648, allocations: 27.83 kB / 397.2 MB, free: 4.746 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.01649, allocations: 8 kB / 397.2 MB, free: 4.738 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.216e-05/0.01656, allocations: 176.7 kB / 397.4 MB, free: 4.555 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.0166, allocations: 39.81 kB / 397.4 MB, free: 4.516 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006372/0.01724, allocations: 447.7 kB / 397.8 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01724, allocations: 4 kB / 397.8 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.31e-07/0.01724, allocations: 4 kB / 397.9 MB, free: 4.047 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01725, allocations: 0 / 397.9 MB, free: 4.047 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.01742, allocations: 213 kB / 398.1 MB, free: 3.812 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01742, allocations: 0 / 398.1 MB, free: 3.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-05/0.01746, allocations: 19.92 kB / 398.1 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001065/0.01853, allocations: 462.3 kB / 398.5 MB, free: 3.324 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.01854, allocations: 8 kB / 398.5 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003529/0.02207, allocations: 7.704 MB / 406.2 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02207, allocations: 0 / 406.2 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00075/0.02282, allocations: 0.5565 MB / 406.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.02284, allocations: 31.73 kB / 406.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.02286, allocations: 7.938 kB / 406.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-05/0.02294, allocations: 8 kB / 406.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.692e-05/0.02303, allocations: 39.86 kB / 406.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.02304, allocations: 8 kB / 406.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.398e-05/0.02312, allocations: 189.1 kB / 407.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02312, allocations: 4 kB / 407.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003383/0.02346, allocations: 123.9 kB / 407.2 MB, free: 10.15 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 9.411e-05/0.02356, allocations: 95.25 kB / 407.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005398/0.0241, allocations: 0.8697 MB / 408.2 MB, free: 9.102 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.0241, allocations: 4 kB / 408.2 MB, free: 9.098 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006184/0.02472, allocations: 0.9091 MB / 409.1 MB, free: 8.113 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.02493, allocations: 28.36 kB / 409.1 MB, free: 8.086 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000723/0.02565, allocations: 0.525 MB / 409.6 MB, free: 7.527 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.168e-05/0.02573, allocations: 104.6 kB / 409.7 MB, free: 7.406 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.84e-05/0.02577, allocations: 9.953 kB / 409.7 MB, free: 7.398 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.188e-05/0.02583, allocations: 78.2 kB / 409.8 MB, free: 7.32 MB / 330.7 MB Notification: Performance of SimCode: time 4.8e-07/0.02583, allocations: 4 kB / 409.8 MB, free: 7.316 MB / 330.7 MB Notification: Performance of Templates: time 0.01081/0.03665, allocations: 9.401 MB / 419.2 MB, free: 13.97 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.796486615203321]