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.002302/0.002302, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009678/0.00327, allocations: 449.7 kB / 10.37 MB, free: 324 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.0006666/0.0006666, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008003/0.001467, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9483/0.9483, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08737/1.036, allocations: 53.87 MB / 243.8 MB, free: 14.9 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.277/0.277, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04672/0.3238, allocations: 13.23 MB / 292.6 MB, free: 6.457 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.052e-06/1.052e-06, allocations: 0 / 293.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008e-05/1.113e-05, allocations: 2.312 kB / 293.9 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.002644/0.002655, allocations: 3.033 MB / 296.9 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009863/0.003641, allocations: 0.7914 MB / 297.7 MB, free: 1.348 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.003764, allocations: 8 kB / 297.7 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.99e-05/0.003853, allocations: 59.33 kB / 297.7 MB, free: 1.281 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.004006, allocations: 107 kB / 297.9 MB, free: 1.176 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.004184, allocations: 127.7 kB / 298 MB, free: 1.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003343/0.004519, allocations: 482.4 kB / 298.4 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.00468, allocations: 117.1 kB / 298.6 MB, free: 464 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.004979, allocations: 299.9 kB / 298.9 MB, free: 164 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.005128, allocations: 155.5 kB / 299 MB, free: 8 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.93e-05/0.005177, allocations: 36.05 kB / 299 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-05/0.005257, allocations: 47.94 kB / 299.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.155e-05/0.005298, allocations: 63.75 kB / 299.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.08e-05/0.005379, allocations: 115.8 kB / 299.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.00563, allocations: 282.8 kB / 299.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.229e-05/0.005642, allocations: 4 kB / 299.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.3e-07/0.005642, allocations: 0 / 299.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.005656, allocations: 0 / 299.5 MB, free: 15.47 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.0008003/0.006456, allocations: 0.692 MB / 300.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.799e-05/0.006484, allocations: 8.922 kB / 300.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.006669, allocations: 158 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.006936, allocations: 197.1 kB / 300.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.006956, allocations: 25.38 kB / 300.6 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.006998, allocations: 40.38 kB / 300.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.007248, allocations: 251.7 kB / 300.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.00726, allocations: 192 / 300.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.00728, allocations: 16.38 kB / 300.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.00729, allocations: 19.94 kB / 300.9 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.007434, allocations: 118.8 kB / 301.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.008493, allocations: 0.9274 MB / 302 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.008665, allocations: 148.5 kB / 302.1 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.983e-05/0.008745, allocations: 78.16 kB / 302.2 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.008766, allocations: 4.281 kB / 302.2 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.008791, allocations: 42.83 kB / 302.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.483e-06/0.008793, allocations: 0 / 302.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002446/0.009038, allocations: 180.3 kB / 302.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.00907, allocations: 63.34 kB / 302.5 MB, free: 12.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.009201, allocations: 216.9 kB / 302.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.009219, allocations: 37.64 kB / 302.7 MB, free: 12.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.477e-05/0.009304, allocations: 204.2 kB / 302.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.042e-05/0.009365, allocations: 122.9 kB / 303.1 MB, free: 11.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-05/0.009431, allocations: 74.05 kB / 303.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.395e-05/0.009505, allocations: 342.8 kB / 303.5 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.401e-05/0.009549, allocations: 32.98 kB / 303.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.802e-05/0.009627, allocations: 112.1 kB / 303.6 MB, free: 11.17 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.009769, allocations: 169.2 kB / 303.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.009772, allocations: 0 / 303.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0001836/0.009955, allocations: 198.6 kB / 304 MB, free: 10.78 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.009968, allocations: 4.219 kB / 304 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.009973, allocations: 8 kB / 304 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.009984, allocations: 4 kB / 304 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.01027, allocations: 123.8 kB / 304.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.01027, allocations: 4 kB / 304.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.532e-05/0.01037, allocations: 31.78 kB / 304.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.01038, allocations: 11.98 kB / 304.1 MB, free: 10.6 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 7.822e-05/0.01046, allocations: 129.7 kB / 304.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.0105, allocations: 31.97 kB / 304.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.01069, allocations: 193.1 kB / 304.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.0107, allocations: 4 kB / 304.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.0107, allocations: 3.938 kB / 304.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.0107, allocations: 0 / 304.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.0109, allocations: 201.5 kB / 304.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.0109, allocations: 4 kB / 304.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.0111, allocations: 91.88 kB / 304.8 MB, free: 9.918 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.01115, allocations: 35.73 kB / 304.8 MB, free: 9.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.01116, allocations: 4 kB / 304.8 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.01117, allocations: 8 kB / 304.8 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01117, allocations: 0 / 304.8 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.738e-06/0.01117, allocations: 7.938 kB / 304.8 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.01143, allocations: 307.2 kB / 305.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.01146, allocations: 8 kB / 305.2 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.822e-05/0.01153, allocations: 11.98 kB / 305.2 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.01158, allocations: 27.81 kB / 305.2 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.01159, allocations: 7.938 kB / 305.2 MB, free: 9.492 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.536e-05/0.01164, allocations: 74.72 kB / 305.3 MB, free: 9.422 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01164, allocations: 0 / 305.3 MB, free: 9.422 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002061/0.01185, allocations: 103.8 kB / 305.4 MB, free: 9.32 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 8.26e-05/0.01193, allocations: 80.36 kB / 305.5 MB, free: 9.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.01211, allocations: 150.2 kB / 305.6 MB, free: 9.082 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/0.01212, allocations: 4 kB / 305.6 MB, free: 9.078 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.027e-05/0.01219, allocations: 84.42 kB / 305.7 MB, free: 8.992 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.01236, allocations: 60.97 kB / 305.7 MB, free: 8.938 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.01378, allocations: 0.6767 MB / 306.4 MB, free: 8.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.979e-05/0.01383, allocations: 96.81 kB / 306.5 MB, free: 8.117 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.01393, allocations: 34.95 kB / 306.5 MB, free: 8.082 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.01404, allocations: 91.34 kB / 306.6 MB, free: 7.992 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01404, allocations: 4 kB / 306.6 MB, free: 7.988 MB / 298.7 MB Notification: Performance of Templates: time 0.004406/0.01845, allocations: 2.64 MB / 309.3 MB, free: 5.391 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.815577305853367]