Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001222/0.001222, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002149/0.003371, allocations: 449.7 kB / 10.37 MB, free: 328 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.001438/0.001438, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001925/0.003363, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.103/1.103, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1035/1.206, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2829/0.2829, allocations: 32.79 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05032/0.3332, allocations: 12.54 MB / 289.3 MB, free: 8.668 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 290.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.181e-05/3.404e-05, allocations: 2.312 kB / 290.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.007712/0.007746, allocations: 2.547 MB / 293.1 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.008934, allocations: 0.8469 MB / 294 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.009067, allocations: 4 kB / 294 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001762/0.01083, allocations: 59.52 kB / 294 MB, free: 4.844 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.01103, allocations: 119 kB / 294.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.01125, allocations: 91.86 kB / 294.3 MB, free: 4.637 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.01151, allocations: 363.3 kB / 294.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.01166, allocations: 70.78 kB / 294.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.01195, allocations: 245.6 kB / 294.9 MB, free: 3.977 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.01209, allocations: 115.7 kB / 295 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.405e-05/0.01213, allocations: 32 kB / 295.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.413e-05/0.01221, allocations: 35.98 kB / 295.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.676e-05/0.01225, allocations: 47.81 kB / 295.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.41e-05/0.01232, allocations: 83.81 kB / 295.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.01257, allocations: 215.2 kB / 295.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.741e-05/0.01258, allocations: 4 kB / 295.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.01259, allocations: 0 / 295.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.0126, allocations: 0 / 295.4 MB, free: 3.453 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.0007442/0.01335, allocations: 0.5975 MB / 296 MB, free: 2.832 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.01338, allocations: 12.03 kB / 296.1 MB, free: 2.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.01357, allocations: 126 kB / 296.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.0138, allocations: 180.8 kB / 296.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.01382, allocations: 20.88 kB / 296.4 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.01385, allocations: 24.38 kB / 296.4 MB, free: 2.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.0141, allocations: 181.3 kB / 296.6 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.01411, allocations: 192 / 296.6 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.01413, allocations: 8.375 kB / 296.6 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.01414, allocations: 11.94 kB / 296.6 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.01425, allocations: 79.39 kB / 296.7 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007645/0.01501, allocations: 0.551 MB / 297.2 MB, free: 1.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.01522, allocations: 168.7 kB / 297.4 MB, free: 1.398 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.582e-05/0.0153, allocations: 64.83 kB / 297.4 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.01533, allocations: 8 kB / 297.5 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.01535, allocations: 34.56 kB / 297.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.052e-06/0.01535, allocations: 4 kB / 297.5 MB, free: 1.277 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.001698/0.01705, allocations: 0.7541 MB / 298.2 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.01708, allocations: 55.41 kB / 298.3 MB, free: 448 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.01721, allocations: 213 kB / 298.5 MB, free: 220 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.01723, allocations: 29.7 kB / 298.5 MB, free: 184 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.677e-05/0.01731, allocations: 157.1 kB / 298.7 MB, free: 24 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.052e-05/0.01738, allocations: 111.1 kB / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.01744, allocations: 53.69 kB / 298.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.312e-05/0.01753, allocations: 342.7 kB / 299.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-05/0.01757, allocations: 27.98 kB / 299.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.568e-05/0.01764, allocations: 71.67 kB / 299.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.01775, allocations: 107.3 kB / 299.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01775, allocations: 0 / 299.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006131/0.01837, allocations: 370.4 kB / 299.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.01839, allocations: 4 kB / 299.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.01839, allocations: 4 kB / 299.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.01952, allocations: 454.9 kB / 300.2 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.007e-05/0.01961, allocations: 23.98 kB / 300.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003357/0.02297, allocations: 5.343 MB / 305.6 MB, free: 8.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.266e-05/0.02305, allocations: 27.78 kB / 305.6 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.02307, allocations: 8 kB / 305.6 MB, free: 8.691 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.658e-05/0.02316, allocations: 121.9 kB / 305.7 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.0232, allocations: 31.91 kB / 305.8 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006219/0.02382, allocations: 387.4 kB / 306.1 MB, free: 8.137 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.02382, allocations: 0 / 306.1 MB, free: 8.137 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-07/0.02382, allocations: 4 kB / 306.1 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.02383, allocations: 4 kB / 306.1 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.02402, allocations: 177.7 kB / 306.3 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.02403, allocations: 0 / 306.3 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.279e-05/0.02408, allocations: 23.86 kB / 306.3 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.0241, allocations: 43.72 kB / 306.4 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009579/0.02506, allocations: 435 kB / 306.8 MB, free: 7.434 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.02507, allocations: 8 kB / 306.8 MB, free: 7.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003207/0.02828, allocations: 5.399 MB / 312.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.02828, allocations: 0 / 312.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006084/0.02889, allocations: 463.6 kB / 312.7 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.02891, allocations: 8 kB / 312.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.171e-05/0.02898, allocations: 11.98 kB / 312.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.02906, allocations: 31.88 kB / 312.7 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.02907, allocations: 11.94 kB / 312.7 MB, free: 1.129 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.105e-05/0.02913, allocations: 78.72 kB / 312.8 MB, free: 1.051 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.02913, allocations: 0 / 312.8 MB, free: 1.051 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00033/0.02946, allocations: 123.9 kB / 312.9 MB, free: 0.9297 MB / 298.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.998e-05/0.02956, allocations: 76.42 kB / 313 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005142/0.03007, allocations: 0.644 MB / 313.6 MB, free: 152 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/0.03008, allocations: 4 kB / 313.6 MB, free: 148 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005264/0.03061, allocations: 0.6824 MB / 314.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.03081, allocations: 45.67 kB / 314.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.03235, allocations: 0.5378 MB / 314.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.734e-05/0.03242, allocations: 108.4 kB / 315 MB, free: 14.67 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.708e-05/0.03247, allocations: 13.94 kB / 315 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/0.03254, allocations: 59.38 kB / 315.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03254, allocations: 0 / 315.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of Templates: time 0.01119/0.04373, allocations: 9.171 MB / 324.3 MB, free: 5.496 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.664256348274648]