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.001269/0.001269, allocations: 67.77 kB / 21.69 MB, free: 2.852 MB / 18.57 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.001753/0.001753, allocations: 165.5 kB / 24.99 MB, free: 8.742 MB / 18.57 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.088/1.088, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.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.2817/0.2817, allocations: 34.25 MB / 296 MB, free: 0.7695 MB / 266.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 2.184e-06/2.184e-06, allocations: 0 / 378 MB, free: 3.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.48e-05/3.698e-05, allocations: 6.312 kB / 378 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.005028/0.005065, allocations: 3.016 MB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.007251, allocations: 0.7634 MB / 381.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003172/0.007568, allocations: 11.94 kB / 381.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.007819, allocations: 55.38 kB / 381.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.008153, allocations: 111 kB / 382 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.00863, allocations: 115.8 kB / 382.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006503/0.00928, allocations: 490.4 kB / 382.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003008/0.009581, allocations: 104.4 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006143/0.0102, allocations: 275.4 kB / 382.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.01051, allocations: 155.5 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.77e-05/0.0106, allocations: 40 kB / 383.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.01071, allocations: 44 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.926e-05/0.01079, allocations: 87.66 kB / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.01096, allocations: 143.6 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.0115, allocations: 318.8 kB / 383.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.0115, allocations: 0 / 383.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.36e-06/0.01151, allocations: 0 / 383.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.635e-05/0.01154, allocations: 0 / 383.7 MB, free: 13.26 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.001104/0.01264, allocations: 0.7339 MB / 384.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.01268, allocations: 8.031 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002147/0.01289, allocations: 96.58 kB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.01326, allocations: 236 kB / 384.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.01329, allocations: 29.38 kB / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.015e-05/0.01335, allocations: 36.38 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.0138, allocations: 275.7 kB / 385.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.01382, allocations: 192 / 385.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.01385, allocations: 16.38 kB / 385.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.01387, allocations: 11.94 kB / 385.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.01414, allocations: 173.8 kB / 385.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.01549, allocations: 1.148 MB / 386.4 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.01576, allocations: 189.7 kB / 386.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.0159, allocations: 92.22 kB / 386.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.01593, allocations: 4.281 kB / 386.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.01595, allocations: 41.67 kB / 386.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.352e-06/0.01595, allocations: 0 / 386.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004852/0.01644, allocations: 259.6 kB / 387 MB, free: 9.758 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.01649, allocations: 59.34 kB / 387.1 MB, free: 9.688 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.01671, allocations: 288.2 kB / 387.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.01674, allocations: 33.7 kB / 387.4 MB, free: 9.352 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.01688, allocations: 259.3 kB / 387.6 MB, free: 9.094 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.044e-05/0.01695, allocations: 118.9 kB / 387.8 MB, free: 8.977 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.236e-05/0.01704, allocations: 79.84 kB / 387.8 MB, free: 8.891 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.01719, allocations: 0.5001 MB / 388.3 MB, free: 8.379 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.01729, allocations: 56.95 kB / 388.4 MB, free: 8.324 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.01746, allocations: 146.8 kB / 388.5 MB, free: 8.148 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.01771, allocations: 219.2 kB / 388.7 MB, free: 7.902 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.01771, allocations: 0 / 388.7 MB, free: 7.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003999/0.01811, allocations: 286.4 kB / 389 MB, free: 7.617 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.01813, allocations: 4 kB / 389 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.01814, allocations: 7.938 kB / 389 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.01815, allocations: 8.219 kB / 389 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.01843, allocations: 99.86 kB / 389.1 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.01844, allocations: 4 kB / 389.2 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.01855, allocations: 35.77 kB / 389.2 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.01857, allocations: 12 kB / 389.2 MB, free: 7.449 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 0.0001125/0.01868, allocations: 184.4 kB / 389.4 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.01873, allocations: 35.81 kB / 389.4 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/0.01905, allocations: 245.7 kB / 389.7 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.01905, allocations: 4 kB / 389.7 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.01906, allocations: 4 kB / 389.7 MB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.01906, allocations: 3.984 kB / 389.7 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.01933, allocations: 280.3 kB / 389.9 MB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.01933, allocations: 3.984 kB / 389.9 MB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.01954, allocations: 79.89 kB / 390 MB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01954, allocations: 0 / 390 MB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.01956, allocations: 8 kB / 390 MB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.01956, allocations: 3.938 kB / 390 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01956, allocations: 0 / 390 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004304/0.01999, allocations: 443.5 kB / 390.5 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.367e-05/0.02007, allocations: 43.77 kB / 390.5 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.02009, allocations: 4 kB / 390.5 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.323e-05/0.02019, allocations: 19.92 kB / 390.5 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.02024, allocations: 15.97 kB / 390.5 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.02025, allocations: 15.98 kB / 390.6 MB, free: 6.012 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.02036, allocations: 193.1 kB / 390.7 MB, free: 5.824 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02036, allocations: 0 / 390.7 MB, free: 5.824 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002447/0.0206, allocations: 103.7 kB / 390.9 MB, free: 5.723 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 0.0001031/0.02071, allocations: 99.19 kB / 390.9 MB, free: 5.617 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002726/0.02098, allocations: 192.3 kB / 391.1 MB, free: 5.426 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02098, allocations: 0 / 391.1 MB, free: 5.426 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.02109, allocations: 99.81 kB / 391.2 MB, free: 5.324 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.02133, allocations: 36.47 kB / 391.3 MB, free: 5.289 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009155/0.02225, allocations: 0.6674 MB / 391.9 MB, free: 4.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.68e-05/0.02231, allocations: 100.8 kB / 392 MB, free: 4.473 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.02242, allocations: 34.95 kB / 392.1 MB, free: 4.441 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/0.02249, allocations: 24.5 kB / 392.1 MB, free: 4.414 MB / 362.7 MB Notification: Performance of SimCode: time 1.252e-06/0.0225, allocations: 0 / 392.1 MB, free: 4.414 MB / 362.7 MB Notification: Performance of Templates: time 0.004721/0.02722, allocations: 2.49 MB / 394.6 MB, free: 1.969 MB / 362.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.240253061056137]