Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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.001112/0.001112, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001913/0.003025, 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.001221/0.001221, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001397/0.002618, 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.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08746/1.092, allocations: 53.66 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.2635/0.2635, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02647/0.29, allocations: 13.09 MB / 291.3 MB, free: 7.367 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.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 292.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.312e-05, allocations: 3.891 kB / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.006753/0.006776, allocations: 3.049 MB / 295.7 MB, free: 3.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.008256, allocations: 0.7833 MB / 296.4 MB, free: 2.461 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.008447, allocations: 8 kB / 296.4 MB, free: 2.453 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.008582, allocations: 63.31 kB / 296.5 MB, free: 2.391 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.008802, allocations: 111 kB / 296.6 MB, free: 2.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.009059, allocations: 119.8 kB / 296.7 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00354/0.0126, allocations: 478.4 kB / 297.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.01282, allocations: 113.1 kB / 297.3 MB, free: 1.574 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00046/0.01328, allocations: 307.8 kB / 297.6 MB, free: 1.273 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.01348, allocations: 151.5 kB / 297.8 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.399e-05/0.01354, allocations: 44 kB / 297.8 MB, free: 1.082 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.01365, allocations: 47.94 kB / 297.9 MB, free: 1.035 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.0137, allocations: 63.75 kB / 297.9 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.01382, allocations: 107.8 kB / 298 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003782/0.01419, allocations: 282.9 kB / 298.3 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.852e-05/0.01421, allocations: 0 / 298.3 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01421, allocations: 0 / 298.3 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.01423, allocations: 4 kB / 298.3 MB, free: 0.5859 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.004154/0.01839, allocations: 0.6959 MB / 299 MB, free: 15.87 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.01842, allocations: 8.031 kB / 299 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000271/0.01869, allocations: 150 kB / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.01899, allocations: 205.1 kB / 299.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.01902, allocations: 29.38 kB / 299.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.041e-05/0.01907, allocations: 40.33 kB / 299.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.01941, allocations: 255.7 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.01942, allocations: 192 / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.01945, allocations: 16.38 kB / 299.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.01946, allocations: 11.94 kB / 299.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.01964, allocations: 114.9 kB / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.02104, allocations: 0.9306 MB / 300.7 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003238/0.02428, allocations: 149.5 kB / 300.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.02439, allocations: 73.98 kB / 301 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.02441, allocations: 8.281 kB / 301 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.02444, allocations: 38.84 kB / 301 MB, free: 13.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 2.154e-06/0.02444, allocations: 0 / 301 MB, free: 13.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003259/0.02477, allocations: 187.7 kB / 301.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.0248, allocations: 59.34 kB / 301.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.02497, allocations: 216.9 kB / 301.5 MB, free: 13.24 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.02499, allocations: 37.7 kB / 301.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.0251, allocations: 204.2 kB / 301.7 MB, free: 12.99 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.929e-05/0.02518, allocations: 122.9 kB / 301.8 MB, free: 12.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.205e-05/0.02527, allocations: 70.11 kB / 301.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.02537, allocations: 342.7 kB / 302.2 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.966e-05/0.02544, allocations: 44.91 kB / 302.3 MB, free: 12.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.02555, allocations: 108.1 kB / 302.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.02575, allocations: 173.2 kB / 302.5 MB, free: 12.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.02575, allocations: 0 / 302.5 MB, free: 12.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002607/0.02601, allocations: 194.7 kB / 302.7 MB, free: 11.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.02604, allocations: 7.984 kB / 302.7 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.02604, allocations: 7.938 kB / 302.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.02606, allocations: 4 kB / 302.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.02644, allocations: 119.8 kB / 302.9 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.02645, allocations: 4 kB / 302.9 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.02659, allocations: 31.77 kB / 302.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.02661, allocations: 16.22 kB / 302.9 MB, free: 11.71 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.02672, allocations: 125.8 kB / 303 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-05/0.02677, allocations: 31.91 kB / 303.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00332/0.03009, allocations: 186.3 kB / 303.2 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.0301, allocations: 4 kB / 303.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.0301, allocations: 3.938 kB / 303.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.03011, allocations: 7.984 kB / 303.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.03042, allocations: 197.5 kB / 303.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.03043, allocations: 0 / 303.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/0.03074, allocations: 103.9 kB / 303.6 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.786e-05/0.03082, allocations: 31.75 kB / 303.6 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.03082, allocations: 0 / 303.6 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.03084, allocations: 8 kB / 303.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.03084, allocations: 0 / 303.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.03085, allocations: 3.938 kB / 303.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.03121, allocations: 307.2 kB / 303.9 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.03124, allocations: 12 kB / 303.9 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.03136, allocations: 8 kB / 303.9 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.03142, allocations: 23.81 kB / 303.9 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.03143, allocations: 8.031 kB / 304 MB, free: 10.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.978e-05/0.0315, allocations: 82.66 kB / 304 MB, free: 10.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0315, allocations: 0 / 304 MB, free: 10.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003111/0.03181, allocations: 99.77 kB / 304.1 MB, free: 10.44 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001159/0.03193, allocations: 84.36 kB / 304.2 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.03217, allocations: 145.7 kB / 304.4 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/0.03218, allocations: 4 kB / 304.4 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.03228, allocations: 93.42 kB / 304.4 MB, free: 10.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.03255, allocations: 63.3 kB / 304.5 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004304/0.03685, allocations: 0.6685 MB / 305.2 MB, free: 9.344 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.03696, allocations: 96.8 kB / 305.3 MB, free: 9.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002177/0.03718, allocations: 38.95 kB / 305.3 MB, free: 9.191 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.03736, allocations: 91.3 kB / 305.4 MB, free: 9.102 MB / 298.7 MB Notification: Performance of SimCode: time 1.243e-06/0.03736, allocations: 0 / 305.4 MB, free: 9.102 MB / 298.7 MB Notification: Performance of Templates: time 0.007427/0.04478, allocations: 2.661 MB / 308.1 MB, free: 6.492 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.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: 2.9406620180234313]