Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007275/0.0007275, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001035/0.001762, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007061/0.0007061, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000951/0.001657, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9376/0.9376, allocations: 177.5 MB / 190 MB, free: 4.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08826/1.026, allocations: 53.88 MB / 243.9 MB, free: 14.82 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2594/0.2594, allocations: 34.87 MB / 279.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02448/0.2839, allocations: 13.24 MB / 292.8 MB, free: 6.363 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 294.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.073e-05, allocations: 3.406 kB / 294.1 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004252/0.004273, allocations: 3.04 MB / 297.1 MB, free: 2.012 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.005621, allocations: 0.7875 MB / 297.9 MB, free: 1.219 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.005785, allocations: 7.938 kB / 297.9 MB, free: 1.211 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.005921, allocations: 63.38 kB / 298 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.006139, allocations: 107 kB / 298.1 MB, free: 1.043 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.006392, allocations: 127.7 kB / 298.2 MB, free: 0.918 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004959/0.006888, allocations: 474.5 kB / 298.7 MB, free: 464 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002113/0.007099, allocations: 117.1 kB / 298.8 MB, free: 336 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004135/0.007513, allocations: 296 kB / 299.1 MB, free: 40 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.007767, allocations: 159.5 kB / 299.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.741e-05/0.007834, allocations: 40 kB / 299.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.00795, allocations: 51.92 kB / 299.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.441e-05/0.008014, allocations: 63.75 kB / 299.4 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.008137, allocations: 107.8 kB / 299.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.008504, allocations: 282.9 kB / 299.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.008515, allocations: 4 kB / 299.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.008516, allocations: 0 / 299.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.008529, allocations: 3.938 kB / 299.8 MB, free: 15.34 MB / 298.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.001097/0.009626, allocations: 0.692 MB / 300.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.00966, allocations: 8.922 kB / 300.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002865/0.009946, allocations: 154 kB / 300.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.01025, allocations: 201.1 kB / 300.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.01028, allocations: 29.38 kB / 300.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.962e-05/0.01034, allocations: 36.38 kB / 300.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003935/0.01074, allocations: 251.7 kB / 301.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.01075, allocations: 192 / 301.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.01078, allocations: 20.31 kB / 301.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.0108, allocations: 15.94 kB / 301.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.01101, allocations: 118.9 kB / 301.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.01251, allocations: 0.9313 MB / 302.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.01277, allocations: 152.5 kB / 302.4 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.01288, allocations: 69.39 kB / 302.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.01291, allocations: 8.281 kB / 302.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.01294, allocations: 42.83 kB / 302.5 MB, free: 12.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 2.084e-06/0.01294, allocations: 0 / 302.5 MB, free: 12.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003441/0.01329, allocations: 171.8 kB / 302.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.01332, allocations: 63.28 kB / 302.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.0135, allocations: 220.9 kB / 302.9 MB, free: 12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.01353, allocations: 37.7 kB / 303 MB, free: 11.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.01363, allocations: 200.2 kB / 303.2 MB, free: 11.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.298e-05/0.01371, allocations: 122.9 kB / 303.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.01381, allocations: 70.11 kB / 303.4 MB, free: 11.56 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.01392, allocations: 346.8 kB / 303.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.592e-05/0.01399, allocations: 36.97 kB / 303.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.01411, allocations: 100.1 kB / 303.8 MB, free: 11.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.01435, allocations: 185.2 kB / 304 MB, free: 10.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.01435, allocations: 0 / 304 MB, free: 10.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003013/0.01465, allocations: 194.6 kB / 304.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.01467, allocations: 11.94 kB / 304.2 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.01467, allocations: 0 / 304.2 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.01469, allocations: 8.219 kB / 304.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.01512, allocations: 123.8 kB / 304.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.01513, allocations: 4 kB / 304.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.01529, allocations: 39.77 kB / 304.4 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.01531, allocations: 8 kB / 304.4 MB, free: 10.47 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.0001078/0.01542, allocations: 129.7 kB / 304.5 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.424e-05/0.01547, allocations: 27.97 kB / 304.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.01577, allocations: 185.1 kB / 304.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01577, allocations: 8 kB / 304.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.01578, allocations: 3.938 kB / 304.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.01578, allocations: 0 / 304.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.01608, allocations: 205.5 kB / 304.9 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.01608, allocations: 0 / 304.9 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.01644, allocations: 95.88 kB / 305 MB, free: 9.793 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.879e-05/0.01652, allocations: 35.73 kB / 305.1 MB, free: 9.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.01652, allocations: 0 / 305.1 MB, free: 9.758 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.01654, allocations: 8 kB / 305.1 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.01654, allocations: 8 kB / 305.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.01655, allocations: 3.938 kB / 305.1 MB, free: 9.738 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.01693, allocations: 307.8 kB / 305.4 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.01696, allocations: 7.984 kB / 305.4 MB, free: 9.414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.01711, allocations: 8 kB / 305.4 MB, free: 9.406 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.01716, allocations: 27.81 kB / 305.4 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.01718, allocations: 4 kB / 305.4 MB, free: 9.375 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.669e-05/0.01726, allocations: 78.72 kB / 305.5 MB, free: 9.297 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01726, allocations: 0 / 305.5 MB, free: 9.297 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003304/0.01759, allocations: 99.78 kB / 305.6 MB, free: 9.199 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.629e-05/0.01769, allocations: 87.02 kB / 305.7 MB, free: 9.105 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000263/0.01795, allocations: 158.2 kB / 305.8 MB, free: 8.949 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/0.01796, allocations: 4 kB / 305.8 MB, free: 8.945 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.01813, allocations: 108.4 kB / 306 MB, free: 8.836 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.0185, allocations: 234.7 kB / 306.2 MB, free: 8.574 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.02077, allocations: 0.6768 MB / 306.9 MB, free: 7.867 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.243e-05/0.02085, allocations: 100.8 kB / 307 MB, free: 7.746 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001691/0.02102, allocations: 30.95 kB / 307 MB, free: 7.715 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.02119, allocations: 95.34 kB / 307.1 MB, free: 7.621 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02119, allocations: 0 / 307.1 MB, free: 7.621 MB / 298.7 MB Notification: Performance of Templates: time 0.005078/0.02627, allocations: 2.771 MB / 309.9 MB, free: 4.91 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 2.7315302286297083]