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.0009633/0.0009633, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001034/0.001034, allocations: 169 kB / 24.91 MB, free: 8.723 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 0.9951/0.9951, allocations: 177.1 MB / 205.3 MB, free: 5.086 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.2625/0.2625, allocations: 32.8 MB / 294.6 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] 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 1.823e-06/1.823e-06, allocations: 0 / 323.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.226e-05, allocations: 2.969 kB / 323.2 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004407/0.00444, allocations: 2.982 MB / 326.2 MB, free: 6.746 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.005979, allocations: 0.7917 MB / 327 MB, free: 5.949 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.006186, allocations: 11.88 kB / 327 MB, free: 5.938 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.006347, allocations: 59.44 kB / 327 MB, free: 5.879 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.006556, allocations: 103 kB / 327.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.006901, allocations: 123.8 kB / 327.3 MB, free: 5.656 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004494/0.007351, allocations: 491.1 kB / 327.8 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.007558, allocations: 117.1 kB / 327.9 MB, free: 5.051 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004069/0.007965, allocations: 279.4 kB / 328.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.008143, allocations: 155.5 kB / 328.3 MB, free: 4.625 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.008183, allocations: 36 kB / 328.3 MB, free: 4.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.873e-05/0.008252, allocations: 44 kB / 328.4 MB, free: 4.547 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.112e-05/0.008303, allocations: 91.64 kB / 328.5 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.24e-05/0.008396, allocations: 139.7 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.008707, allocations: 306.8 kB / 328.9 MB, free: 4.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.008712, allocations: 4 kB / 328.9 MB, free: 4.016 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.008713, allocations: 4 kB / 328.9 MB, free: 4.012 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.008719, allocations: 0 / 328.9 MB, free: 4.012 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.000767/0.009486, allocations: 0.6174 MB / 329.5 MB, free: 3.371 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.009523, allocations: 11.98 kB / 329.5 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.00972, allocations: 76.81 kB / 329.6 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.009965, allocations: 193.2 kB / 329.8 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.009985, allocations: 29.38 kB / 329.8 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.01003, allocations: 44.36 kB / 329.9 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.0103, allocations: 251.7 kB / 330.1 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.01031, allocations: 192 / 330.1 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.01034, allocations: 16.38 kB / 330.1 MB, free: 2.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.01035, allocations: 15.94 kB / 330.1 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.01048, allocations: 110.9 kB / 330.3 MB, free: 2.605 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.01172, allocations: 0.9305 MB / 331.2 MB, free: 1.613 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.01191, allocations: 143 kB / 331.3 MB, free: 1.465 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.34e-05/0.01199, allocations: 82.03 kB / 331.4 MB, free: 1.383 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.01202, allocations: 4.281 kB / 331.4 MB, free: 1.379 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.01204, allocations: 38.84 kB / 331.4 MB, free: 1.332 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.844e-06/0.01204, allocations: 0 / 331.4 MB, free: 1.332 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002545/0.0123, allocations: 171.8 kB / 331.6 MB, free: 1.156 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.01234, allocations: 59.34 kB / 331.7 MB, free: 1.086 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.01247, allocations: 224.9 kB / 331.9 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.01249, allocations: 33.7 kB / 331.9 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.678e-05/0.01257, allocations: 208.2 kB / 332.1 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.632e-05/0.01263, allocations: 118.9 kB / 332.2 MB, free: 500 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.178e-05/0.0127, allocations: 74.11 kB / 332.3 MB, free: 420 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.732e-05/0.01279, allocations: 346.7 kB / 332.7 MB, free: 64 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.068e-05/0.01284, allocations: 36.97 kB / 332.7 MB, free: 28 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.368e-05/0.01293, allocations: 108.1 kB / 332.8 MB, free: 15.9 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.01309, allocations: 184.5 kB / 333 MB, free: 15.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.01309, allocations: 0 / 333 MB, free: 15.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002193/0.01331, allocations: 198.6 kB / 333.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.01333, allocations: 4 kB / 333.2 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.01334, allocations: 4 kB / 333.2 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.01336, allocations: 4 kB / 333.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.01361, allocations: 104 kB / 333.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.01362, allocations: 4 kB / 333.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.01374, allocations: 35.77 kB / 333.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.01376, allocations: 12 kB / 333.3 MB, free: 15.33 MB / 314.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.0001066/0.01386, allocations: 129.7 kB / 333.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.0139, allocations: 27.97 kB / 333.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.01415, allocations: 186.4 kB / 333.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01415, allocations: 4 kB / 333.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.01415, allocations: 3.938 kB / 333.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01416, allocations: 4 kB / 333.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.01438, allocations: 197.6 kB / 333.9 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01438, allocations: 0 / 333.9 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.01457, allocations: 83.83 kB / 334 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01457, allocations: 4 kB / 334 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.01459, allocations: 7.984 kB / 334 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01459, allocations: 0 / 334 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01459, allocations: 4 kB / 334 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.01487, allocations: 307.9 kB / 334.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.274e-05/0.01493, allocations: 35.69 kB / 334.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.01496, allocations: 16.02 kB / 334.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.317e-05/0.01504, allocations: 8 kB / 334.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.01509, allocations: 27.81 kB / 334.4 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.0151, allocations: 8 kB / 334.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.046e-05/0.01516, allocations: 70.72 kB / 334.4 MB, free: 14.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01516, allocations: 0 / 334.4 MB, free: 14.18 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002288/0.01539, allocations: 95.84 kB / 334.5 MB, free: 14.08 MB / 314.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.0001208/0.01551, allocations: 84.34 kB / 334.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.0157, allocations: 153.6 kB / 334.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.01571, allocations: 4 kB / 334.8 MB, free: 13.83 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.576e-05/0.01579, allocations: 84.86 kB / 334.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.01598, allocations: 29.8 kB / 334.9 MB, free: 13.72 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008171/0.01679, allocations: 0.654 MB / 335.5 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.592e-05/0.01685, allocations: 96.8 kB / 335.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.01695, allocations: 34.95 kB / 335.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.01706, allocations: 87.36 kB / 335.7 MB, free: 12.8 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01706, allocations: 0 / 335.7 MB, free: 12.8 MB / 314.7 MB Notification: Performance of Templates: time 0.004945/0.02201, allocations: 2.616 MB / 338.4 MB, free: 10.23 MB / 314.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.0626334859989583]