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.0008682/0.0008682, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001436/0.002304, 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.001038/0.001038, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001189/0.002228, 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.028/1.028, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1181/1.146, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.2725/0.2725, allocations: 34.25 MB / 278.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02899/0.3015, allocations: 13.1 MB / 291.5 MB, free: 7.352 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.723e-06/1.723e-06, allocations: 0 / 292.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.835e-05, allocations: 4.734 kB / 292.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004269/0.004288, allocations: 3.044 MB / 295.9 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.005605, allocations: 0.795 MB / 296.7 MB, free: 2.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.005764, allocations: 4 kB / 296.7 MB, free: 2.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.005915, allocations: 63.38 kB / 296.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.006143, allocations: 107 kB / 296.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.006398, allocations: 119.8 kB / 297 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004918/0.00689, allocations: 482.4 kB / 297.4 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002369/0.007127, allocations: 113.1 kB / 297.5 MB, free: 1.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000456/0.007583, allocations: 303.9 kB / 297.8 MB, free: 1.184 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.007835, allocations: 155.5 kB / 298 MB, free: 1.031 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.483e-05/0.0079, allocations: 40 kB / 298 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.008021, allocations: 43.94 kB / 298.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.819e-05/0.008089, allocations: 67.75 kB / 298.1 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.008217, allocations: 111.8 kB / 298.2 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000407/0.008624, allocations: 283 kB / 298.5 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-05/0.008638, allocations: 0 / 298.5 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.008639, allocations: 0 / 298.5 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.008652, allocations: 0 / 298.5 MB, free: 0.4961 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.001123/0.009775, allocations: 0.6959 MB / 299.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.009805, allocations: 8.031 kB / 299.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.01001, allocations: 154 kB / 299.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.01024, allocations: 197.1 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.01026, allocations: 29.38 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.471e-05/0.0103, allocations: 40.33 kB / 299.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.01057, allocations: 255.7 kB / 299.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.01058, allocations: 192 / 299.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.0106, allocations: 16.38 kB / 299.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.01061, allocations: 11.94 kB / 299.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.01075, allocations: 118.9 kB / 300 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.01181, allocations: 0.9305 MB / 301 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.012, allocations: 149.5 kB / 301.1 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.916e-05/0.01208, allocations: 70.92 kB / 301.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.0121, allocations: 8.281 kB / 301.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.01213, allocations: 42.72 kB / 301.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.532e-06/0.01213, allocations: 4 kB / 301.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002622/0.01239, allocations: 175.8 kB / 301.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.01242, allocations: 59.34 kB / 301.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.01256, allocations: 220.9 kB / 301.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.01258, allocations: 37.69 kB / 301.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.759e-05/0.01268, allocations: 200.2 kB / 301.9 MB, free: 12.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.941e-05/0.01275, allocations: 126.9 kB / 302 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.428e-05/0.01282, allocations: 74.11 kB / 302.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.01292, allocations: 338.8 kB / 302.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.901e-05/0.01297, allocations: 32.98 kB / 302.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.848e-05/0.01306, allocations: 108.1 kB / 302.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.01322, allocations: 181.2 kB / 302.7 MB, free: 12.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01322, allocations: 3.938 kB / 302.7 MB, free: 12.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002063/0.01342, allocations: 190.7 kB / 302.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.01344, allocations: 8 kB / 302.9 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.01344, allocations: 224 / 302.9 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.01346, allocations: 8 kB / 302.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.01374, allocations: 127.7 kB / 303.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.01375, allocations: 4 kB / 303.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.388e-05/0.01384, allocations: 39.78 kB / 303.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.01386, allocations: 11.98 kB / 303.1 MB, free: 11.62 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 8.1e-05/0.01394, allocations: 125.8 kB / 303.3 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.01397, allocations: 23.98 kB / 303.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.01418, allocations: 194.3 kB / 303.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01418, allocations: 4 kB / 303.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.01418, allocations: 3.938 kB / 303.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.01419, allocations: 3.984 kB / 303.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.01439, allocations: 201.5 kB / 303.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01439, allocations: 0 / 303.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.01461, allocations: 99.86 kB / 303.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.01467, allocations: 35.73 kB / 303.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01467, allocations: 3.938 kB / 303.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.01468, allocations: 7.984 kB / 303.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01469, allocations: 8 kB / 303.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.01469, allocations: 3.938 kB / 303.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.01498, allocations: 299.9 kB / 304.1 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.015, allocations: 7.938 kB / 304.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/0.01508, allocations: 11.98 kB / 304.1 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.01513, allocations: 23.83 kB / 304.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.01514, allocations: 7.984 kB / 304.2 MB, free: 10.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.944e-05/0.0152, allocations: 78.72 kB / 304.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0152, allocations: 0 / 304.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001827/0.01538, allocations: 95.78 kB / 304.3 MB, free: 10.36 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 9.408e-05/0.01548, allocations: 88.39 kB / 304.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.01567, allocations: 153.6 kB / 304.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.01568, allocations: 4 kB / 304.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.01579, allocations: 113 kB / 304.7 MB, free: 9.988 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.0161, allocations: 223.3 kB / 304.9 MB, free: 9.734 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.01771, allocations: 0.6801 MB / 305.6 MB, free: 9.023 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.138e-05/0.01778, allocations: 100.8 kB / 305.7 MB, free: 8.906 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.01789, allocations: 30.95 kB / 305.7 MB, free: 8.875 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.01802, allocations: 95.36 kB / 305.8 MB, free: 8.781 MB / 298.7 MB Notification: Performance of SimCode: time 1.583e-06/0.01802, allocations: 4 kB / 305.8 MB, free: 8.777 MB / 298.7 MB Notification: Performance of Templates: time 0.00543/0.02345, allocations: 2.787 MB / 308.6 MB, free: 6.055 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0782371144741774]