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.001773/0.001773, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001922/0.001922, allocations: 165.3 kB / 23.8 MB, free: 0.7773 MB / 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.9559/0.9559, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1666/0.1666, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.483e-06/1.483e-06, allocations: 0 / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/3.1e-05, allocations: 6.312 kB / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.002625/0.002656, allocations: 2.422 MB / 350.1 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.003695, allocations: 0.7876 MB / 350.9 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.003821, allocations: 7.938 kB / 350.9 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002002/0.004021, allocations: 51.58 kB / 350.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.004234, allocations: 103.2 kB / 351 MB, free: 6.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.004471, allocations: 107.7 kB / 351.1 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.004681, allocations: 354.6 kB / 351.5 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.004826, allocations: 60.89 kB / 351.5 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.005043, allocations: 203.6 kB / 351.7 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.005163, allocations: 115.7 kB / 351.8 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.005197, allocations: 28 kB / 351.9 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.628e-05/0.005223, allocations: 35.94 kB / 351.9 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.005258, allocations: 63.75 kB / 352 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.005319, allocations: 99.8 kB / 352.1 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.005499, allocations: 235.1 kB / 352.3 MB, free: 4.797 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005501, allocations: 0 / 352.3 MB, free: 4.797 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005502, allocations: 0 / 352.3 MB, free: 4.797 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.005507, allocations: 4 kB / 352.3 MB, free: 4.793 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.0005846/0.006092, allocations: 0.64 MB / 352.9 MB, free: 4.117 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.00613, allocations: 12.03 kB / 353 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.548e-05/0.006196, allocations: 60.7 kB / 353 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.006391, allocations: 200.1 kB / 353.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.006408, allocations: 24.81 kB / 353.2 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.006433, allocations: 20.38 kB / 353.3 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.006692, allocations: 197.3 kB / 353.4 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.006703, allocations: 192 / 353.4 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.006723, allocations: 12.38 kB / 353.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.006733, allocations: 7.938 kB / 353.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.006901, allocations: 110.9 kB / 353.6 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007899/0.007691, allocations: 0.7457 MB / 354.3 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.007944, allocations: 215 kB / 354.5 MB, free: 2.434 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.008057, allocations: 83.64 kB / 354.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.008085, allocations: 4 kB / 354.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.008102, allocations: 41.39 kB / 354.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.562e-06/0.008103, allocations: 0 / 354.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.001891/0.009994, allocations: 0.8318 MB / 355.5 MB, free: 1.438 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.916e-05/0.01001, allocations: 59.34 kB / 355.5 MB, free: 1.367 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.01013, allocations: 264.4 kB / 355.8 MB, free: 1.094 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.01014, allocations: 29.7 kB / 355.8 MB, free: 1.059 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/0.01021, allocations: 216 kB / 356 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.01025, allocations: 115 kB / 356.2 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.0103, allocations: 55.36 kB / 356.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.449e-05/0.01035, allocations: 0.5078 MB / 356.7 MB, free: 148 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.041e-05/0.01042, allocations: 55.91 kB / 356.8 MB, free: 92 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.479e-05/0.01051, allocations: 83.33 kB / 356.9 MB, free: 0 / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.01072, allocations: 137 kB / 357 MB, free: 15.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.01073, allocations: 4 kB / 357 MB, free: 15.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007742/0.0115, allocations: 456.7 kB / 357.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.01152, allocations: 11.88 kB / 357.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.01152, allocations: 8 kB / 357.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/0.01271, allocations: 462.3 kB / 357.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.06e-05/0.01279, allocations: 19.98 kB / 357.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004092/0.01688, allocations: 7.788 MB / 365.7 MB, free: 6.594 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.949e-05/0.01696, allocations: 23.84 kB / 365.7 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.01698, allocations: 8 kB / 365.7 MB, free: 6.562 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 9.11e-05/0.01707, allocations: 168.6 kB / 365.9 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.0171, allocations: 35.86 kB / 365.9 MB, free: 6.352 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007286/0.01783, allocations: 466.9 kB / 366.4 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01783, allocations: 4 kB / 366.4 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-07/0.01784, allocations: 0 / 366.4 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01784, allocations: 0 / 366.4 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.01806, allocations: 252.3 kB / 366.7 MB, free: 5.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01806, allocations: 0 / 366.7 MB, free: 5.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.507e-05/0.01811, allocations: 19.92 kB / 366.7 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0011/0.01921, allocations: 466.3 kB / 367.1 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.01923, allocations: 7.938 kB / 367.1 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004142/0.02337, allocations: 7.83 MB / 375 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.02337, allocations: 0 / 375 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000807/0.02418, allocations: 0.5877 MB / 375.6 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.12e-05/0.0242, allocations: 27.73 kB / 375.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.02421, allocations: 11.94 kB / 375.6 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/0.02429, allocations: 8 kB / 375.6 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.141e-05/0.02438, allocations: 35.86 kB / 375.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.02439, allocations: 12 kB / 375.6 MB, free: 12.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.809e-05/0.02449, allocations: 185.1 kB / 375.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02449, allocations: 0 / 375.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003225/0.02482, allocations: 119.9 kB / 375.9 MB, free: 11.74 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 9.054e-05/0.02491, allocations: 103.2 kB / 376 MB, free: 11.63 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006351/0.02554, allocations: 0.8898 MB / 376.9 MB, free: 10.67 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.02554, allocations: 0 / 376.9 MB, free: 10.67 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006554/0.0262, allocations: 0.9287 MB / 377.9 MB, free: 9.664 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.02642, allocations: 24.69 kB / 377.9 MB, free: 9.641 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00068/0.0271, allocations: 0.5048 MB / 378.4 MB, free: 9.105 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.17e-05/0.02717, allocations: 96.61 kB / 378.5 MB, free: 8.992 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.782e-05/0.02721, allocations: 9.953 kB / 378.5 MB, free: 8.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.02725, allocations: 16.5 kB / 378.5 MB, free: 8.965 MB / 314.7 MB Notification: Performance of SimCode: time 8.21e-07/0.02725, allocations: 4 kB / 378.5 MB, free: 8.961 MB / 314.7 MB Notification: Performance of Templates: time 0.01062/0.03787, allocations: 8.784 MB / 387.3 MB, free: 216 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.7265999130904675]