Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001251/0.001251, allocations: 81.86 kB / 21.42 MB, free: 3.078 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.001047/0.001047, allocations: 169.1 kB / 24.82 MB, free: 8.867 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.143/1.143, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3577/0.3577, allocations: 32.8 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 376.5 MB, free: 4.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.284e-05, allocations: 6.25 kB / 376.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003524/0.003547, allocations: 2.992 MB / 379.5 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.00524, allocations: 0.7556 MB / 380.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002738/0.005514, allocations: 8 kB / 380.2 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.005729, allocations: 63.31 kB / 380.3 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000303/0.006032, allocations: 107 kB / 380.4 MB, free: 476 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.006542, allocations: 123.8 kB / 380.5 MB, free: 352 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006297/0.007172, allocations: 486.4 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002592/0.007431, allocations: 104.5 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004784/0.007909, allocations: 275.4 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.008113, allocations: 159.5 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.312e-05/0.008166, allocations: 40 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.112e-05/0.008258, allocations: 40 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.462e-05/0.008322, allocations: 91.66 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.008475, allocations: 143.6 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003931/0.008868, allocations: 310.8 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.008877, allocations: 0 / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.008878, allocations: 0 / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.008885, allocations: 0 / 382.1 MB, free: 14.71 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.0009642/0.009849, allocations: 0.7416 MB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.452e-05/0.009914, allocations: 15.98 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002819/0.0102, allocations: 92.64 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.01056, allocations: 235.9 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/0.0106, allocations: 29.38 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/0.01067, allocations: 36.38 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.01103, allocations: 243.8 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.01105, allocations: 192 / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.01107, allocations: 16.38 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.01109, allocations: 15.92 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.01126, allocations: 134.9 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.01256, allocations: 1.113 MB / 384.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.01278, allocations: 165.8 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.01288, allocations: 80.2 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.01291, allocations: 4.281 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.01294, allocations: 45.61 kB / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.673e-06/0.01294, allocations: 0 / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003394/0.01328, allocations: 223.6 kB / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.01332, allocations: 59.34 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.01351, allocations: 280.1 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.01353, allocations: 33.7 kB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.01367, allocations: 259.3 kB / 385.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.449e-05/0.01374, allocations: 130.9 kB / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.454e-05/0.01384, allocations: 75.81 kB / 386.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.01402, allocations: 0.504 MB / 386.6 MB, free: 9.992 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.251e-05/0.01408, allocations: 36.97 kB / 386.6 MB, free: 9.957 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.01421, allocations: 138.7 kB / 386.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.01441, allocations: 195.3 kB / 387 MB, free: 9.562 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.01442, allocations: 4 kB / 387 MB, free: 9.559 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002942/0.01471, allocations: 254.4 kB / 387.2 MB, free: 9.305 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.01473, allocations: 4 kB / 387.2 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.01474, allocations: 4 kB / 387.2 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.01476, allocations: 8.156 kB / 387.2 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.015, allocations: 111.7 kB / 387.4 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.01501, allocations: 4 kB / 387.4 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.978e-05/0.01511, allocations: 31.78 kB / 387.4 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.01513, allocations: 11.98 kB / 387.4 MB, free: 9.133 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.0001206/0.01525, allocations: 184.4 kB / 387.6 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.591e-05/0.01529, allocations: 39.81 kB / 387.6 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.01557, allocations: 225.7 kB / 387.8 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.01558, allocations: 11.92 kB / 387.8 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.01558, allocations: 4 kB / 387.9 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.01558, allocations: 0 / 387.9 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.01583, allocations: 232.9 kB / 388.1 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.01583, allocations: 0 / 388.1 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.01602, allocations: 75.89 kB / 388.2 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.01603, allocations: 4 kB / 388.2 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.01604, allocations: 4 kB / 388.2 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.01604, allocations: 4 kB / 388.2 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01604, allocations: 0 / 388.2 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.01641, allocations: 404.1 kB / 388.6 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.078e-05/0.01648, allocations: 55.78 kB / 388.6 MB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.01651, allocations: 8 kB / 388.6 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.29e-05/0.01659, allocations: 15.92 kB / 388.6 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.01664, allocations: 15.97 kB / 388.7 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.01665, allocations: 11.92 kB / 388.7 MB, free: 7.801 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.877e-05/0.01675, allocations: 189.1 kB / 388.9 MB, free: 7.617 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01675, allocations: 4 kB / 388.9 MB, free: 7.613 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002784/0.01703, allocations: 99.73 kB / 389 MB, free: 7.516 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.0001052/0.01713, allocations: 103.2 kB / 389.1 MB, free: 7.406 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.01735, allocations: 164.3 kB / 389.2 MB, free: 7.242 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01735, allocations: 0 / 389.2 MB, free: 7.242 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.995e-05/0.01744, allocations: 95.73 kB / 389.3 MB, free: 7.145 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.01768, allocations: 24.48 kB / 389.3 MB, free: 7.121 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009027/0.01858, allocations: 0.6674 MB / 390 MB, free: 6.422 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.133e-05/0.01865, allocations: 108.7 kB / 390.1 MB, free: 6.293 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000106/0.01876, allocations: 30.95 kB / 390.1 MB, free: 6.266 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.01889, allocations: 106.2 kB / 390.2 MB, free: 6.16 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01889, allocations: 0 / 390.2 MB, free: 6.16 MB / 362.7 MB Notification: Performance of Templates: time 0.005108/0.024, allocations: 2.679 MB / 392.9 MB, free: 3.531 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.588900327216834]