Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008962/0.0008962, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001111/0.002007, 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.0007011/0.0007011, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008777/0.001579, 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.023/1.023, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1006/1.124, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.3473/0.3473, allocations: 32.81 MB / 276.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02752/0.3748, allocations: 12.53 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.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.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.286e-06/3.286e-06, allocations: 3.938 kB / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.273e-05, allocations: 2.312 kB / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003564/0.003587, allocations: 3.047 MB / 293.6 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.004878, allocations: 0.7903 MB / 294.4 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.005037, allocations: 11.94 kB / 294.4 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.005149, allocations: 47.45 kB / 294.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.005331, allocations: 111 kB / 294.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.005533, allocations: 127.7 kB / 294.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003791/0.005912, allocations: 487.2 kB / 295.2 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.006139, allocations: 109.1 kB / 295.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000401/0.00654, allocations: 299.4 kB / 295.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.006727, allocations: 151.5 kB / 295.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.949e-05/0.006777, allocations: 36 kB / 295.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.006883, allocations: 55.92 kB / 295.8 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.006932, allocations: 63.75 kB / 295.9 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.007033, allocations: 115.8 kB / 296 MB, free: 2.867 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003205/0.007354, allocations: 278.9 kB / 296.3 MB, free: 2.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.666e-05/0.00737, allocations: 0 / 296.3 MB, free: 2.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007371, allocations: 4 kB / 296.3 MB, free: 2.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.741e-05/0.007389, allocations: 0 / 296.3 MB, free: 2.59 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.0008573/0.008246, allocations: 0.6954 MB / 297 MB, free: 1.871 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.00828, allocations: 8.031 kB / 297 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002198/0.008499, allocations: 154 kB / 297.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.008725, allocations: 193.1 kB / 297.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.008747, allocations: 29.38 kB / 297.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.008788, allocations: 40.38 kB / 297.4 MB, free: 1.414 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.009068, allocations: 255.7 kB / 297.6 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.009081, allocations: 4.125 kB / 297.6 MB, free: 1.152 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.009104, allocations: 16.38 kB / 297.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.009115, allocations: 15.94 kB / 297.7 MB, free: 1.121 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.009257, allocations: 110.9 kB / 297.8 MB, free: 1.012 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.01032, allocations: 0.9306 MB / 298.7 MB, free: 20 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.01051, allocations: 149.5 kB / 298.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.056e-05/0.01059, allocations: 78.25 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.01061, allocations: 8.219 kB / 299 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.01064, allocations: 38.84 kB / 299 MB, free: 15.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.833e-06/0.01064, allocations: 0 / 299 MB, free: 15.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002517/0.01089, allocations: 183.7 kB / 299.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.01093, allocations: 59.34 kB / 299.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.01106, allocations: 216.9 kB / 299.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.01108, allocations: 37.7 kB / 299.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.01117, allocations: 204.2 kB / 299.7 MB, free: 15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.35e-05/0.01123, allocations: 122.9 kB / 299.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.964e-05/0.0113, allocations: 74.11 kB / 299.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.803e-05/0.01139, allocations: 342.8 kB / 300.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.696e-05/0.01143, allocations: 32.98 kB / 300.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.26e-05/0.01152, allocations: 104.1 kB / 300.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.01168, allocations: 177.2 kB / 300.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.01168, allocations: 0 / 300.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002161/0.01189, allocations: 198.6 kB / 300.7 MB, free: 13.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.01191, allocations: 4 kB / 300.7 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.01192, allocations: 4 kB / 300.7 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.01193, allocations: 8.219 kB / 300.7 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.01224, allocations: 123.8 kB / 300.8 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.01224, allocations: 4 kB / 300.8 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.216e-05/0.01234, allocations: 27.78 kB / 300.9 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.01235, allocations: 15.98 kB / 300.9 MB, free: 13.73 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 9.475e-05/0.01245, allocations: 129.7 kB / 301 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.01248, allocations: 27.97 kB / 301 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.01271, allocations: 198.3 kB / 301.2 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.01271, allocations: 7.984 kB / 301.2 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.01272, allocations: 7.938 kB / 301.2 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.01272, allocations: 0 / 301.2 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.01293, allocations: 197.6 kB / 301.4 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.01293, allocations: 0 / 301.4 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.01315, allocations: 95.88 kB / 301.5 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.592e-05/0.0132, allocations: 39.67 kB / 301.6 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.0132, allocations: 4 kB / 301.6 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.01322, allocations: 4 kB / 301.6 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.01322, allocations: 4 kB / 301.6 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.01322, allocations: 3.938 kB / 301.6 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.0135, allocations: 303.2 kB / 301.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.01352, allocations: 8 kB / 301.9 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.792e-05/0.0136, allocations: 11.98 kB / 301.9 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.01365, allocations: 27.81 kB / 301.9 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.01366, allocations: 8 kB / 301.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.322e-05/0.01371, allocations: 70.72 kB / 302 MB, free: 12.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01371, allocations: 0 / 302 MB, free: 12.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002113/0.01392, allocations: 99.78 kB / 302.1 MB, free: 12.45 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.000108/0.01403, allocations: 84.39 kB / 302.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.01423, allocations: 149.6 kB / 302.3 MB, free: 12.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.01424, allocations: 4 kB / 302.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.01431, allocations: 93 kB / 302.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.01453, allocations: 50.83 kB / 302.5 MB, free: 12.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.01607, allocations: 0.6814 MB / 303.2 MB, free: 11.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.031e-05/0.01613, allocations: 92.81 kB / 303.3 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.01625, allocations: 34.95 kB / 303.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.01637, allocations: 95.34 kB / 303.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of SimCode: time 1.213e-06/0.01637, allocations: 3.938 kB / 303.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of Templates: time 0.005081/0.02145, allocations: 2.653 MB / 306 MB, free: 8.508 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.186740073375404]