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.0008037/0.0008037, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001118/0.001922, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007113/0.0007113, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009243/0.001636, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.003/1.003, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1153/1.118, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.3102/0.3102, allocations: 34.25 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02805/0.3382, allocations: 13.1 MB / 291.5 MB, free: 7.324 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.473e-06/1.473e-06, allocations: 0 / 292.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.399e-05/1.546e-05, allocations: 4.484 kB / 292.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.002507/0.002523, allocations: 2.55 MB / 295.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009938/0.003516, allocations: 0.8426 MB / 296.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.976e-05/0.003616, allocations: 8 kB / 296.2 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.003745, allocations: 55.5 kB / 296.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.003914, allocations: 115.1 kB / 296.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.004134, allocations: 99.83 kB / 296.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.004411, allocations: 355.8 kB / 296.8 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.004558, allocations: 74.78 kB / 296.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002923/0.00485, allocations: 245.6 kB / 297.2 MB, free: 1.863 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.004983, allocations: 111.7 kB / 297.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.00502, allocations: 28 kB / 297.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.253e-05/0.005103, allocations: 35.98 kB / 297.3 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.417e-05/0.005147, allocations: 51.81 kB / 297.4 MB, free: 1.641 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.992e-05/0.005217, allocations: 83.81 kB / 297.5 MB, free: 1.559 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.005459, allocations: 219.1 kB / 297.7 MB, free: 1.344 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/0.00547, allocations: 0 / 297.7 MB, free: 1.344 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.005472, allocations: 3.984 kB / 297.7 MB, free: 1.34 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.005483, allocations: 4 kB / 297.7 MB, free: 1.336 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.0007336/0.006216, allocations: 0.5942 MB / 298.3 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.006251, allocations: 8.031 kB / 298.3 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.006424, allocations: 126 kB / 298.4 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.006652, allocations: 184.8 kB / 298.6 MB, free: 368 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.00667, allocations: 20.88 kB / 298.6 MB, free: 348 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.006698, allocations: 24.38 kB / 298.6 MB, free: 324 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.006912, allocations: 177.3 kB / 298.8 MB, free: 140 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.006922, allocations: 4.188 kB / 298.8 MB, free: 136 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.006938, allocations: 12.38 kB / 298.8 MB, free: 124 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.006948, allocations: 11.94 kB / 298.8 MB, free: 112 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.007051, allocations: 75.39 kB / 298.9 MB, free: 36 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000745/0.007796, allocations: 0.5471 MB / 299.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.008025, allocations: 174.2 kB / 299.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.773e-05/0.008102, allocations: 56.84 kB / 299.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.008134, allocations: 16 kB / 299.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.008162, allocations: 30.56 kB / 299.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.443e-06/0.008163, allocations: 0 / 299.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.001809/0.009972, allocations: 0.758 MB / 300.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.01, allocations: 59.39 kB / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.01013, allocations: 213 kB / 300.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.01015, allocations: 29.7 kB / 300.8 MB, free: 14.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/0.01022, allocations: 153.1 kB / 300.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.899e-05/0.01028, allocations: 115 kB / 301 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.01034, allocations: 45.69 kB / 301.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.717e-05/0.01042, allocations: 346.7 kB / 301.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.262e-05/0.01046, allocations: 31.92 kB / 301.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.651e-05/0.01053, allocations: 67.69 kB / 301.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.01065, allocations: 112.1 kB / 301.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01065, allocations: 0 / 301.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006077/0.01126, allocations: 369.5 kB / 302 MB, free: 12.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.01128, allocations: 9.562 kB / 302 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.01128, allocations: 3.984 kB / 302 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.01241, allocations: 450.9 kB / 302.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.795e-05/0.01251, allocations: 27.98 kB / 302.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003509/0.01602, allocations: 5.343 MB / 307.8 MB, free: 6.605 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.223e-05/0.0161, allocations: 23.89 kB / 307.8 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.01611, allocations: 8 kB / 307.8 MB, free: 6.574 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.788e-05/0.0162, allocations: 125.8 kB / 308 MB, free: 6.441 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.01623, allocations: 27.91 kB / 308 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005979/0.01683, allocations: 395.3 kB / 308.4 MB, free: 6.012 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.01683, allocations: 4 kB / 308.4 MB, free: 6.008 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.01683, allocations: 0 / 308.4 MB, free: 6.008 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.01684, allocations: 3.984 kB / 308.4 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.01701, allocations: 177.7 kB / 308.6 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01702, allocations: 0 / 308.6 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.303e-05/0.01707, allocations: 27.86 kB / 308.6 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.838e-05/0.01709, allocations: 27.75 kB / 308.6 MB, free: 5.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/0.01811, allocations: 451 kB / 309.1 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.01812, allocations: 4 kB / 309.1 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003525/0.02164, allocations: 5.396 MB / 314.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.02165, allocations: 7.984 kB / 314.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006006/0.02225, allocations: 459.6 kB / 314.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.02227, allocations: 4 kB / 314.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.02234, allocations: 19.92 kB / 314.9 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.679e-05/0.02244, allocations: 31.94 kB / 315 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.02245, allocations: 12.12 kB / 315 MB, free: 15 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.528e-05/0.0225, allocations: 70.78 kB / 315 MB, free: 14.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0225, allocations: 0 / 315 MB, free: 14.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003205/0.02282, allocations: 119.9 kB / 315.2 MB, free: 14.81 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.000102/0.02292, allocations: 93.33 kB / 315.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004738/0.0234, allocations: 0.6434 MB / 315.9 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/0.02341, allocations: 4 kB / 315.9 MB, free: 14.01 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005334/0.02394, allocations: 0.6903 MB / 316.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.02418, allocations: 189 kB / 316.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.02557, allocations: 0.5386 MB / 317.3 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.196e-05/0.02564, allocations: 108.4 kB / 317.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.425e-05/0.02568, allocations: 13.94 kB / 317.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.266e-05/0.02576, allocations: 75.36 kB / 317.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02576, allocations: 3.938 kB / 317.5 MB, free: 12.26 MB / 314.7 MB Notification: Performance of Templates: time 0.00975/0.03551, allocations: 8.367 MB / 325.9 MB, free: 3.98 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2776938965544105]