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.00135/0.00135, allocations: 80.98 kB / 20.66 MB, free: 3.836 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.001603/0.001603, allocations: 173 kB / 24.05 MB, free: 452 kB / 18.57 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 0.8987/0.8987, allocations: 158.6 MB / 186 MB, free: 2.801 MB / 170.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.1492/0.1492, allocations: 32.37 MB / 270.7 MB, free: 14.54 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 2.124e-06/2.124e-06, allocations: 0 / 348.1 MB, free: 9.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.261e-05, allocations: 6.25 kB / 348.1 MB, free: 9.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.007658/0.007691, allocations: 2.391 MB / 350.5 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00467/0.01236, allocations: 0.7915 MB / 351.3 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002341/0.01259, allocations: 4 kB / 351.3 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002281/0.01282, allocations: 55.45 kB / 351.3 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002875/0.01311, allocations: 99.25 kB / 351.4 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.01342, allocations: 107.7 kB / 351.5 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00034/0.01376, allocations: 354.6 kB / 351.9 MB, free: 5.387 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.01393, allocations: 64.89 kB / 352 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005332/0.01446, allocations: 191.6 kB / 352.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.01468, allocations: 119.6 kB / 352.3 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.212e-05/0.01473, allocations: 28 kB / 352.3 MB, free: 4.996 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.72e-05/0.01478, allocations: 32 kB / 352.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.409e-05/0.01484, allocations: 67.75 kB / 352.4 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.01495, allocations: 107.7 kB / 352.5 MB, free: 4.793 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.01529, allocations: 231.1 kB / 352.7 MB, free: 4.566 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.01529, allocations: 0 / 352.7 MB, free: 4.566 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.0153, allocations: 3.938 kB / 352.7 MB, free: 4.562 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.0153, allocations: 0 / 352.7 MB, free: 4.562 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.0009524/0.01626, allocations: 0.6478 MB / 353.4 MB, free: 3.879 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/0.01632, allocations: 12.03 kB / 353.4 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.01643, allocations: 52.7 kB / 353.4 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.01673, allocations: 204.1 kB / 353.6 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.01675, allocations: 20.88 kB / 353.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.01679, allocations: 24.38 kB / 353.7 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.01715, allocations: 177.3 kB / 353.8 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.01716, allocations: 192 / 353.8 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.01718, allocations: 8.375 kB / 353.9 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.01719, allocations: 11.94 kB / 353.9 MB, free: 3.344 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.01737, allocations: 87.41 kB / 354 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.01854, allocations: 0.7072 MB / 354.7 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.01886, allocations: 191 kB / 354.8 MB, free: 2.312 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.01899, allocations: 71.66 kB / 354.9 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.658e-05/0.01904, allocations: 7.938 kB / 354.9 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.01907, allocations: 37.39 kB / 355 MB, free: 2.184 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 3.927e-06/0.01907, allocations: 0 / 355 MB, free: 2.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.002764/0.02183, allocations: 0.7967 MB / 355.8 MB, free: 1.363 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.02187, allocations: 59.39 kB / 355.8 MB, free: 1.293 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.02205, allocations: 264.2 kB / 356.1 MB, free: 1.016 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.02207, allocations: 33.7 kB / 356.1 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.687e-05/0.02216, allocations: 216 kB / 356.3 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.536e-05/0.02223, allocations: 115 kB / 356.4 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.456e-05/0.02232, allocations: 55.34 kB / 356.5 MB, free: 0.582 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.02246, allocations: 0.5117 MB / 357 MB, free: 60 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.573e-05/0.02254, allocations: 31.97 kB / 357 MB, free: 28 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.0227, allocations: 79.31 kB / 357.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.02294, allocations: 113 kB / 357.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.02294, allocations: 0 / 357.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001252/0.02419, allocations: 428.7 kB / 357.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.02423, allocations: 4 kB / 357.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.02424, allocations: 7.969 kB / 357.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001975/0.02622, allocations: 466.2 kB / 358.1 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.02633, allocations: 19.98 kB / 358.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007059/0.03339, allocations: 7.638 MB / 365.8 MB, free: 6.777 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.03356, allocations: 23.84 kB / 365.8 MB, free: 6.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.03358, allocations: 4 kB / 365.8 MB, free: 6.75 MB / 298.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.0001952/0.03378, allocations: 180.5 kB / 366 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-05/0.03385, allocations: 31.86 kB / 366 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.03492, allocations: 434.9 kB / 366.4 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.03493, allocations: 4 kB / 366.4 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.03493, allocations: 0 / 366.4 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.03493, allocations: 0 / 366.4 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003919/0.03533, allocations: 216.8 kB / 366.6 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.03533, allocations: 8 kB / 366.6 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.179e-05/0.03541, allocations: 15.98 kB / 366.7 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001811/0.03722, allocations: 462.4 kB / 367.1 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.03725, allocations: 4 kB / 367.1 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007212/0.04447, allocations: 7.691 MB / 374.8 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.04447, allocations: 0 / 374.8 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.04559, allocations: 0.5525 MB / 375.4 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.04564, allocations: 27.8 kB / 375.4 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.04567, allocations: 15.92 kB / 375.4 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.04581, allocations: 8 kB / 375.4 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.04594, allocations: 27.94 kB / 375.4 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.04596, allocations: 8 kB / 375.4 MB, free: 12.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001482/0.04611, allocations: 185.1 kB / 375.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04611, allocations: 3.938 kB / 375.6 MB, free: 12.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007691/0.04688, allocations: 123.9 kB / 375.7 MB, free: 12.21 MB / 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.000174/0.04706, allocations: 103.2 kB / 375.8 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007582/0.04781, allocations: 0.8663 MB / 376.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.04782, allocations: 0 / 376.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007586/0.04858, allocations: 0.9169 MB / 377.6 MB, free: 10.17 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.04885, allocations: 20.5 kB / 377.6 MB, free: 10.15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009562/0.0498, allocations: 0.5004 MB / 378.2 MB, free: 9.617 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.04993, allocations: 104.6 kB / 378.3 MB, free: 9.496 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.457e-05/0.05002, allocations: 5.969 kB / 378.3 MB, free: 9.488 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.495e-05/0.0501, allocations: 86.19 kB / 378.3 MB, free: 9.402 MB / 314.7 MB Notification: Performance of SimCode: time 1.453e-06/0.0501, allocations: 4 kB / 378.3 MB, free: 9.398 MB / 314.7 MB Notification: Performance of Templates: time 0.01263/0.06273, allocations: 9.166 MB / 387.5 MB, free: 264 kB / 314.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4089381392113864]