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.001009/0.001009, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005957/0.006966, 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.001106/0.001106, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003033/0.00414, 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.027/1.027, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09584/1.123, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2578/0.2578, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02338/0.2812, allocations: 13.1 MB / 291.3 MB, free: 7.371 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.603e-06/1.603e-06, allocations: 0 / 292.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.258e-05, allocations: 7.188 kB / 292.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.002873/0.002895, allocations: 2.536 MB / 295.2 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.00416, allocations: 0.8426 MB / 296 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.004284, allocations: 7.938 kB / 296 MB, free: 2.906 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.004439, allocations: 63.44 kB / 296.1 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.004635, allocations: 107.2 kB / 296.2 MB, free: 2.738 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.004893, allocations: 103.8 kB / 296.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.005204, allocations: 362.5 kB / 296.6 MB, free: 2.281 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.005358, allocations: 70.8 kB / 296.7 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000331/0.005689, allocations: 237.6 kB / 296.9 MB, free: 1.984 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.005823, allocations: 127.6 kB / 297 MB, free: 1.859 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.005858, allocations: 28 kB / 297.1 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.262e-05/0.005941, allocations: 32 kB / 297.1 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.777e-05/0.005978, allocations: 51.81 kB / 297.2 MB, free: 1.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.852e-05/0.006057, allocations: 83.81 kB / 297.2 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.006338, allocations: 215.2 kB / 297.5 MB, free: 1.457 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.766e-05/0.006356, allocations: 0 / 297.5 MB, free: 1.457 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.006357, allocations: 0 / 297.5 MB, free: 1.457 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.006376, allocations: 3.984 kB / 297.5 MB, free: 1.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.0007444/0.00712, allocations: 0.598 MB / 298.1 MB, free: 0.832 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.007157, allocations: 12.03 kB / 298.1 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.00734, allocations: 126 kB / 298.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.007562, allocations: 180.8 kB / 298.4 MB, free: 488 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.007579, allocations: 20.88 kB / 298.4 MB, free: 468 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.007604, allocations: 24.38 kB / 298.4 MB, free: 444 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.007834, allocations: 181.3 kB / 298.6 MB, free: 252 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.007844, allocations: 192 / 298.6 MB, free: 252 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.007861, allocations: 12.38 kB / 298.6 MB, free: 240 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.007871, allocations: 7.938 kB / 298.6 MB, free: 232 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.007977, allocations: 71.45 kB / 298.7 MB, free: 164 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007728/0.00875, allocations: 0.5511 MB / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.008958, allocations: 180.6 kB / 299.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.33e-05/0.009031, allocations: 56.84 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.009063, allocations: 7.938 kB / 299.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.009089, allocations: 38.56 kB / 299.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.884e-06/0.009091, allocations: 0 / 299.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.001746/0.01084, allocations: 0.758 MB / 300.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.01087, allocations: 59.39 kB / 300.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.01099, allocations: 213 kB / 300.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.01101, allocations: 29.7 kB / 300.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/0.01107, allocations: 149.1 kB / 300.7 MB, free: 14.03 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.949e-05/0.01112, allocations: 115 kB / 300.8 MB, free: 13.92 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.834e-05/0.01118, allocations: 49.67 kB / 300.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.928e-05/0.01127, allocations: 342.7 kB / 301.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.47e-05/0.01131, allocations: 31.98 kB / 301.2 MB, free: 13.49 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-05/0.01137, allocations: 67.73 kB / 301.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.01149, allocations: 115.2 kB / 301.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01149, allocations: 0 / 301.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006093/0.0121, allocations: 366.4 kB / 301.8 MB, free: 12.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.01212, allocations: 7.984 kB / 301.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.01212, allocations: 0 / 301.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.01319, allocations: 450.9 kB / 302.2 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.036e-05/0.01328, allocations: 31.98 kB / 302.2 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003439/0.01672, allocations: 5.337 MB / 307.6 MB, free: 6.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.307e-05/0.0168, allocations: 23.83 kB / 307.6 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.01681, allocations: 8 kB / 307.6 MB, free: 6.703 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 8.116e-05/0.01689, allocations: 125.8 kB / 307.7 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.01692, allocations: 27.92 kB / 307.8 MB, free: 6.543 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006014/0.01752, allocations: 391.4 kB / 308.1 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.01753, allocations: 4 kB / 308.1 MB, free: 6.141 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.01753, allocations: 0 / 308.1 MB, free: 6.141 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.01754, allocations: 3.984 kB / 308.2 MB, free: 6.137 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.01774, allocations: 173.7 kB / 308.3 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01774, allocations: 0 / 308.3 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.852e-05/0.0178, allocations: 31.92 kB / 308.4 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.233e-05/0.01782, allocations: 31.73 kB / 308.4 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009818/0.0188, allocations: 451 kB / 308.8 MB, free: 5.434 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.01881, allocations: 4 kB / 308.8 MB, free: 5.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003484/0.0223, allocations: 5.4 MB / 314.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.0223, allocations: 7.984 kB / 314.2 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006151/0.02292, allocations: 459.6 kB / 314.7 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.02293, allocations: 4 kB / 314.7 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.02301, allocations: 11.98 kB / 314.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.02313, allocations: 31.94 kB / 314.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.02314, allocations: 11.94 kB / 314.7 MB, free: 15.13 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.206e-05/0.0232, allocations: 70.77 kB / 314.8 MB, free: 15.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-08/0.0232, allocations: 0 / 314.8 MB, free: 15.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003684/0.02357, allocations: 123.9 kB / 314.9 MB, free: 14.94 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.0001134/0.02368, allocations: 92.34 kB / 315 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005399/0.02422, allocations: 0.6322 MB / 315.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/0.02424, allocations: 8.047 kB / 315.7 MB, free: 14.15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005322/0.02477, allocations: 0.6824 MB / 316.3 MB, free: 13.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.02496, allocations: 41.48 kB / 316.4 MB, free: 13.37 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.02652, allocations: 0.5508 MB / 316.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.727e-05/0.0266, allocations: 100.5 kB / 317 MB, free: 12.67 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.051e-05/0.02665, allocations: 17.94 kB / 317.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.034e-05/0.02672, allocations: 63.38 kB / 317.1 MB, free: 12.59 MB / 314.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02672, allocations: 0 / 317.1 MB, free: 12.59 MB / 314.7 MB Notification: Performance of Templates: time 0.01187/0.03859, allocations: 9.161 MB / 326.3 MB, free: 3.496 MB / 314.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 -ignoreHideResult -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.226284888572991]