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.001422/0.001422, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001229/0.001229, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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.9625/0.9625, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.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.258/0.258, allocations: 34.87 MB / 296.3 MB, free: 0.5391 MB / 266.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.363e-06/1.363e-06, allocations: 0 / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.298e-05, allocations: 2.312 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003139/0.003162, allocations: 3.023 MB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.004201, allocations: 0.7711 MB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.004333, allocations: 8 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.004498, allocations: 59.38 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.004661, allocations: 111 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.004969, allocations: 123.7 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003666/0.005336, allocations: 482.4 kB / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002021/0.005538, allocations: 104.5 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.005843, allocations: 279.4 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.006012, allocations: 159.5 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.618e-05/0.006058, allocations: 40 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.05e-05/0.006128, allocations: 40 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.313e-05/0.006182, allocations: 95.64 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.507e-05/0.006277, allocations: 135.7 kB / 384.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.006588, allocations: 310.8 kB / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.00659, allocations: 0 / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.006591, allocations: 0 / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.006596, allocations: 0 / 384.5 MB, free: 12.34 MB / 362.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.0008455/0.007441, allocations: 0.7417 MB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.007478, allocations: 12.03 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.00766, allocations: 88.64 kB / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.007917, allocations: 235.9 kB / 385.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.007939, allocations: 33.38 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.895e-05/0.007988, allocations: 36.38 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.008337, allocations: 271.8 kB / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.008349, allocations: 192 / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.008373, allocations: 16.38 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.008385, allocations: 19.88 kB / 385.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.008643, allocations: 165.8 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.009929, allocations: 1.152 MB / 387.2 MB, free: 9.441 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.01019, allocations: 185.7 kB / 387.4 MB, free: 9.242 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.01032, allocations: 96.22 kB / 387.5 MB, free: 9.145 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.01035, allocations: 12.28 kB / 387.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.01037, allocations: 37.66 kB / 387.5 MB, free: 9.086 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.814e-06/0.01037, allocations: 0 / 387.5 MB, free: 9.086 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.000393/0.01076, allocations: 259.6 kB / 387.8 MB, free: 8.828 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.01079, allocations: 59.34 kB / 387.8 MB, free: 8.758 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.01097, allocations: 280.2 kB / 388.1 MB, free: 8.469 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.01099, allocations: 29.7 kB / 388.1 MB, free: 8.434 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.01109, allocations: 259.3 kB / 388.4 MB, free: 8.176 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.599e-05/0.01115, allocations: 122.9 kB / 388.5 MB, free: 8.055 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.091e-05/0.01123, allocations: 83.72 kB / 388.6 MB, free: 7.965 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.01135, allocations: 0.504 MB / 389.1 MB, free: 7.449 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.435e-05/0.01144, allocations: 56.95 kB / 389.2 MB, free: 7.395 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.01158, allocations: 142.8 kB / 389.3 MB, free: 7.219 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.01181, allocations: 215.2 kB / 389.5 MB, free: 6.977 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.01181, allocations: 4 kB / 389.5 MB, free: 6.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003233/0.01213, allocations: 286.4 kB / 389.8 MB, free: 6.688 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.01215, allocations: 4 kB / 389.8 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.01215, allocations: 7.938 kB / 389.8 MB, free: 6.676 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.01217, allocations: 4 kB / 389.8 MB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.01243, allocations: 95.88 kB / 389.9 MB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.01244, allocations: 4 kB / 389.9 MB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.01255, allocations: 39.98 kB / 389.9 MB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.01257, allocations: 12 kB / 390 MB, free: 6.523 MB / 362.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.437e-05/0.01266, allocations: 184.4 kB / 390.1 MB, free: 6.332 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.0127, allocations: 35.81 kB / 390.2 MB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.01301, allocations: 249.7 kB / 390.4 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01302, allocations: 4 kB / 390.4 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.01302, allocations: 0 / 390.4 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.01303, allocations: 3.984 kB / 390.4 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.01327, allocations: 276.3 kB / 390.7 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01327, allocations: 0 / 390.7 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.01348, allocations: 87.89 kB / 390.8 MB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.01348, allocations: 4 kB / 390.8 MB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.0135, allocations: 4 kB / 390.8 MB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.0135, allocations: 3.938 kB / 390.8 MB, free: 5.637 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.0135, allocations: 3.984 kB / 390.8 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004037/0.01391, allocations: 435.5 kB / 391.2 MB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.01397, allocations: 47.7 kB / 391.3 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.014, allocations: 8 kB / 391.3 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.336e-05/0.01409, allocations: 15.92 kB / 391.3 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/0.01415, allocations: 19.95 kB / 391.3 MB, free: 5.098 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.01416, allocations: 16.03 kB / 391.3 MB, free: 5.082 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.519e-05/0.01426, allocations: 193.1 kB / 391.5 MB, free: 4.898 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01426, allocations: 0 / 391.5 MB, free: 4.898 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002232/0.01448, allocations: 103.7 kB / 391.6 MB, free: 4.797 MB / 362.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.302e-05/0.01457, allocations: 99.19 kB / 391.7 MB, free: 4.691 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.01483, allocations: 188.3 kB / 391.9 MB, free: 4.504 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01483, allocations: 448 / 391.9 MB, free: 4.504 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.01494, allocations: 99.67 kB / 392 MB, free: 4.402 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.01518, allocations: 40.42 kB / 392 MB, free: 4.363 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008774/0.01605, allocations: 0.6703 MB / 392.7 MB, free: 3.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.122e-05/0.01612, allocations: 96.8 kB / 392.8 MB, free: 3.547 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.01622, allocations: 42.94 kB / 392.8 MB, free: 3.508 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.615e-05/0.0163, allocations: 24.5 kB / 392.9 MB, free: 3.48 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0163, allocations: 0 / 392.9 MB, free: 3.48 MB / 362.7 MB Notification: Performance of Templates: time 0.004669/0.02097, allocations: 2.471 MB / 395.3 MB, free: 1.047 MB / 362.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 -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: 3.3033824977464974]