Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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.0008762/0.0008762, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001297/0.002174, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0008805/0.0008805, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/0.001931, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.054/1.054, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1906/1.245, allocations: 49.51 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1428/0.1428, allocations: 32.35 MB / 253.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02675/0.1695, allocations: 12.31 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 267.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.459e-05/1.592e-05, allocations: 6.25 kB / 267.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.002817/0.002832, allocations: 2.46 MB / 269.8 MB, free: 92 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.004048, allocations: 0.8108 MB / 270.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.004153, allocations: 4 kB / 270.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.004285, allocations: 59.44 kB / 270.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.004441, allocations: 107.2 kB / 270.8 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.004644, allocations: 107.7 kB / 270.9 MB, free: 15 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.004903, allocations: 354.6 kB / 271.3 MB, free: 14.65 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.00503, allocations: 66.84 kB / 271.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.005264, allocations: 221.5 kB / 271.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.005388, allocations: 119.6 kB / 271.7 MB, free: 14.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.804e-05/0.005426, allocations: 28 kB / 271.7 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.118e-05/0.005457, allocations: 28 kB / 271.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.76e-05/0.005495, allocations: 51.81 kB / 271.8 MB, free: 14.14 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.235e-05/0.005557, allocations: 79.81 kB / 271.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.005749, allocations: 203.3 kB / 272 MB, free: 13.87 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/0.005759, allocations: 8 kB / 272.1 MB, free: 13.86 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.00576, allocations: 0 / 272.1 MB, free: 13.86 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.005768, allocations: 3.938 kB / 272.1 MB, free: 13.86 MB / 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.0006348/0.006403, allocations: 0.5736 MB / 272.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.006433, allocations: 12.02 kB / 272.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.888e-05/0.006492, allocations: 40.91 kB / 272.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.006678, allocations: 177.3 kB / 272.9 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.006693, allocations: 20.88 kB / 272.9 MB, free: 12.99 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.006719, allocations: 24.38 kB / 272.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.006929, allocations: 185.2 kB / 273.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.006938, allocations: 4.125 kB / 273.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.006953, allocations: 12.38 kB / 273.1 MB, free: 12.76 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.006961, allocations: 11.94 kB / 273.1 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.765e-05/0.007059, allocations: 67.45 kB / 273.2 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006836/0.007742, allocations: 0.5394 MB / 273.7 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.007919, allocations: 158.4 kB / 273.9 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.214e-05/0.007991, allocations: 68.83 kB / 273.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.008017, allocations: 7.984 kB / 273.9 MB, free: 11.87 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.008037, allocations: 42.56 kB / 274 MB, free: 11.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.162e-06/0.008038, allocations: 0 / 274 MB, free: 11.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.001697/0.009735, allocations: 0.7458 MB / 274.7 MB, free: 11.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.009761, allocations: 55.41 kB / 274.8 MB, free: 10.99 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.009878, allocations: 205 kB / 275 MB, free: 10.78 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.009895, allocations: 29.7 kB / 275 MB, free: 10.74 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.782e-05/0.009953, allocations: 152.7 kB / 275.2 MB, free: 10.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.131e-05/0.01, allocations: 111 kB / 275.3 MB, free: 10.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/0.01006, allocations: 57.67 kB / 275.3 MB, free: 10.42 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.729e-05/0.01014, allocations: 346.6 kB / 275.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.201e-05/0.01018, allocations: 27.98 kB / 275.7 MB, free: 10.04 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.355e-05/0.01025, allocations: 57.69 kB / 275.7 MB, free: 9.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004013/0.01065, allocations: 112.1 kB / 275.9 MB, free: 9.867 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01065, allocations: 0 / 275.9 MB, free: 9.867 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006146/0.01126, allocations: 376.5 kB / 276.2 MB, free: 9.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.01128, allocations: 4 kB / 276.2 MB, free: 9.477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.01128, allocations: 0 / 276.2 MB, free: 9.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.01229, allocations: 435 kB / 276.7 MB, free: 9.039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.737e-05/0.01238, allocations: 31.92 kB / 276.7 MB, free: 9.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00321/0.01559, allocations: 5.33 MB / 282 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.919e-05/0.01567, allocations: 19.84 kB / 282 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.01568, allocations: 8.062 kB / 282 MB, free: 3.297 MB / 282.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 8.732e-05/0.01577, allocations: 121.8 kB / 282.2 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.01581, allocations: 35.84 kB / 282.2 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006191/0.01643, allocations: 383.5 kB / 282.6 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01643, allocations: 11.94 kB / 282.6 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.01643, allocations: 3.984 kB / 282.6 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01643, allocations: 3.938 kB / 282.6 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.01663, allocations: 181.6 kB / 282.8 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01663, allocations: 0 / 282.8 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.126e-05/0.01668, allocations: 23.92 kB / 282.8 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.01671, allocations: 23.8 kB / 282.8 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/0.01798, allocations: 443.1 kB / 283.2 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.01799, allocations: 4 kB / 283.3 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1428/0.1608, allocations: 5.39 MB / 288.6 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1608, allocations: 0 / 288.6 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006716/0.1615, allocations: 469.4 kB / 289.1 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.1615, allocations: 7.219 kB / 289.1 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.348e-05/0.1616, allocations: 9.312 kB / 289.1 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.1617, allocations: 39.08 kB / 289.2 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.1617, allocations: 4.672 kB / 289.2 MB, free: 10.21 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.458e-05/0.1618, allocations: 68.16 kB / 289.2 MB, free: 10.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1618, allocations: 0 / 289.2 MB, free: 10.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003412/0.1621, allocations: 122.6 kB / 289.3 MB, free: 10.2 MB / 282.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.702e-05/0.1622, allocations: 80.81 kB / 289.4 MB, free: 10.13 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004567/0.1627, allocations: 0.6322 MB / 290.1 MB, free: 9.676 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/0.1627, allocations: 5.656 kB / 290.1 MB, free: 9.676 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005426/0.1632, allocations: 0.7022 MB / 290.8 MB, free: 9.211 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.1635, allocations: 202.3 kB / 291 MB, free: 9.051 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.1646, allocations: 0.5126 MB / 291.5 MB, free: 8.797 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.122e-05/0.1647, allocations: 99.45 kB / 291.6 MB, free: 8.727 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.613e-05/0.1647, allocations: 9.516 kB / 291.6 MB, free: 8.727 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.602e-05/0.1648, allocations: 74.25 kB / 291.7 MB, free: 8.68 MB / 282.7 MB Notification: Performance of SimCode: time 6.62e-07/0.1648, allocations: 0.6562 kB / 291.7 MB, free: 8.68 MB / 282.7 MB Notification: Performance of Templates: time 0.01114/0.1759, allocations: 8.307 MB / 300 MB, free: 6.512 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/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: 3.2095625093206763]