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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01973/0.02086, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009829/0.0009829, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001527/0.00251, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8948/0.8948, allocations: 173.4 MB / 186 MB, free: 7.543 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1491/1.044, allocations: 52.48 MB / 238.5 MB, free: 7.617 MB / 234.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.1364/0.1364, allocations: 32.79 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02322/0.1596, allocations: 12.54 MB / 284.5 MB, free: 9.707 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 1.944e-06/1.944e-06, allocations: 0 / 285.8 MB, free: 8.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.382e-05, allocations: 5.406 kB / 285.8 MB, free: 8.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003638/0.003662, allocations: 3.038 MB / 288.9 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.004851, allocations: 0.7437 MB / 289.6 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.005015, allocations: 11.94 kB / 289.6 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.005147, allocations: 59.31 kB / 289.7 MB, free: 4.543 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.005347, allocations: 115 kB / 289.8 MB, free: 4.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.005573, allocations: 115.8 kB / 289.9 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004395/0.006012, allocations: 478.4 kB / 290.4 MB, free: 3.848 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.006213, allocations: 113.1 kB / 290.5 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004203/0.006633, allocations: 291.4 kB / 290.8 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.006842, allocations: 163.5 kB / 290.9 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.953e-05/0.006902, allocations: 44 kB / 291 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.448e-05/0.006956, allocations: 36 kB / 291 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.351e-05/0.00702, allocations: 67.75 kB / 291.1 MB, free: 3.141 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.007129, allocations: 107.8 kB / 291.2 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.007462, allocations: 275 kB / 291.4 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.315e-05/0.007475, allocations: 0 / 291.4 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.007476, allocations: 0 / 291.4 MB, free: 2.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.007488, allocations: 3.938 kB / 291.5 MB, free: 2.762 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.0009391/0.008427, allocations: 0.6947 MB / 292.1 MB, free: 2.043 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.008458, allocations: 8.031 kB / 292.2 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.548e-05/0.008544, allocations: 56.91 kB / 292.2 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.008806, allocations: 200.9 kB / 292.4 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.008832, allocations: 29.38 kB / 292.4 MB, free: 1.727 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.223e-05/0.008884, allocations: 44.27 kB / 292.5 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.009216, allocations: 255.7 kB / 292.7 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.009229, allocations: 192 / 292.7 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.009254, allocations: 20.38 kB / 292.7 MB, free: 1.406 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.009266, allocations: 11.94 kB / 292.8 MB, free: 1.395 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.009443, allocations: 110.9 kB / 292.9 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.01078, allocations: 0.9266 MB / 293.8 MB, free: 304 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.01099, allocations: 146.5 kB / 293.9 MB, free: 148 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.499e-05/0.01109, allocations: 73.39 kB / 294 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.01111, allocations: 8.281 kB / 294 MB, free: 64 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.01114, allocations: 38.84 kB / 294.1 MB, free: 16 kB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 1.633e-06/0.01114, allocations: 0 / 294.1 MB, free: 16 kB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.000329/0.01147, allocations: 185.1 kB / 294.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.0115, allocations: 59.34 kB / 294.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.01166, allocations: 224.9 kB / 294.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.01168, allocations: 29.7 kB / 294.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.728e-05/0.01178, allocations: 196.5 kB / 294.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.901e-05/0.01186, allocations: 126.9 kB / 294.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.022e-05/0.01195, allocations: 74.09 kB / 294.9 MB, free: 15.1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.01205, allocations: 342.8 kB / 295.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.478e-05/0.01211, allocations: 32.98 kB / 295.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.01222, allocations: 104.1 kB / 295.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.01244, allocations: 180.5 kB / 295.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01244, allocations: 0 / 295.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002578/0.0127, allocations: 194.8 kB / 295.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.01271, allocations: 16.02 kB / 295.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.01272, allocations: 3.938 kB / 295.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.01273, allocations: 4 kB / 295.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.0131, allocations: 119.8 kB / 295.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.01311, allocations: 7.938 kB / 295.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.01325, allocations: 35.77 kB / 295.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.01327, allocations: 8 kB / 296 MB, free: 14.01 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.582e-05/0.01336, allocations: 133.8 kB / 296.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/0.01341, allocations: 31.97 kB / 296.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/0.01368, allocations: 184.3 kB / 296.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.01369, allocations: 4 kB / 296.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.01369, allocations: 3.938 kB / 296.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.0137, allocations: 7.969 kB / 296.3 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.01395, allocations: 205.5 kB / 296.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01396, allocations: 0 / 296.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/0.01425, allocations: 95.86 kB / 296.6 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.411e-05/0.01432, allocations: 31.75 kB / 296.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.01432, allocations: 8 kB / 296.6 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.01434, allocations: 4 kB / 296.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.01434, allocations: 4 kB / 296.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.01434, allocations: 3.938 kB / 296.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.01467, allocations: 308.5 kB / 297 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.0147, allocations: 8 kB / 297 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.01481, allocations: 8 kB / 297 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.01486, allocations: 23.95 kB / 297 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.01487, allocations: 4 kB / 297 MB, free: 12.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.942e-05/0.01494, allocations: 74.72 kB / 297.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01494, allocations: 4.031 kB / 297.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002936/0.01524, allocations: 99.78 kB / 297.2 MB, free: 12.73 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.0001107/0.01535, allocations: 88.34 kB / 297.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.01559, allocations: 153.5 kB / 297.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/0.0156, allocations: 7.984 kB / 297.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.01574, allocations: 100.7 kB / 297.5 MB, free: 12.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.01608, allocations: 246.4 kB / 297.8 MB, free: 12.1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.0176, allocations: 0.6722 MB / 298.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.037e-05/0.01766, allocations: 100.8 kB / 298.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.01777, allocations: 34.95 kB / 298.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.0179, allocations: 91.36 kB / 298.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of SimCode: time 1.873e-06/0.0179, allocations: 0 / 298.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of Templates: time 0.005308/0.02321, allocations: 2.76 MB / 301.4 MB, free: 8.441 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.764998434111476]