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.001334/0.001334, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001399/0.001399, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.993/0.993, allocations: 177.1 MB / 205 MB, free: 5.621 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.2845/0.2845, allocations: 34.26 MB / 295.7 MB, free: 0.7656 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 1.593e-06/1.593e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.035e-05, allocations: 2.312 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003906/0.003936, allocations: 3.027 MB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.005602, allocations: 0.7634 MB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/0.005816, allocations: 11.94 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.005993, allocations: 63.31 kB / 381.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.006215, allocations: 107 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.006582, allocations: 119.8 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004901/0.007072, allocations: 490.4 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/0.007331, allocations: 96.53 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005281/0.007859, allocations: 283.4 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.008098, allocations: 159.5 kB / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.433e-05/0.008152, allocations: 40 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.173e-05/0.008244, allocations: 40 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.008348, allocations: 95.66 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.008483, allocations: 139.7 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004609/0.008944, allocations: 306.8 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.008948, allocations: 0 / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.00895, allocations: 0 / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.008961, allocations: 0 / 383.7 MB, free: 12.92 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.001109/0.01007, allocations: 0.7377 MB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.01013, allocations: 12.03 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002579/0.01039, allocations: 92.64 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.01072, allocations: 239.9 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.01076, allocations: 29.38 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.703e-05/0.01081, allocations: 36.38 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/0.01123, allocations: 267.8 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.01125, allocations: 192 / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.01127, allocations: 16.38 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.01129, allocations: 19.94 kB / 385.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002522/0.01154, allocations: 161.9 kB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.01299, allocations: 1.156 MB / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.01327, allocations: 189.8 kB / 386.7 MB, free: 9.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.0134, allocations: 92.22 kB / 386.8 MB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.01343, allocations: 8.281 kB / 386.8 MB, free: 9.719 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.01345, allocations: 37.67 kB / 386.8 MB, free: 9.672 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/0.01345, allocations: 3.938 kB / 386.8 MB, free: 9.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004213/0.01387, allocations: 259.6 kB / 387.1 MB, free: 9.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.01391, allocations: 63.34 kB / 387.1 MB, free: 9.336 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.01411, allocations: 280.2 kB / 387.4 MB, free: 9.047 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.01413, allocations: 29.7 kB / 387.4 MB, free: 9.012 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.01425, allocations: 259.3 kB / 387.7 MB, free: 8.754 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.926e-05/0.01432, allocations: 126.9 kB / 387.8 MB, free: 8.629 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.562e-05/0.0144, allocations: 71.84 kB / 387.9 MB, free: 8.551 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.01454, allocations: 0.504 MB / 388.4 MB, free: 8.035 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.378e-05/0.01463, allocations: 52.95 kB / 388.4 MB, free: 7.984 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.01478, allocations: 150.7 kB / 388.6 MB, free: 7.805 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.01501, allocations: 211.3 kB / 388.8 MB, free: 7.566 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01502, allocations: 4 kB / 388.8 MB, free: 7.562 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003327/0.01535, allocations: 286.4 kB / 389.1 MB, free: 7.277 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.01537, allocations: 8.219 kB / 389.1 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.01538, allocations: 7.938 kB / 389.1 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.01539, allocations: 7.938 kB / 389.1 MB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.01567, allocations: 99.81 kB / 389.2 MB, free: 7.156 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.01567, allocations: 4 kB / 389.2 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.01579, allocations: 39.77 kB / 389.2 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.01581, allocations: 12 kB / 389.2 MB, free: 7.102 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.0001284/0.01594, allocations: 176.5 kB / 389.4 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.01599, allocations: 39.81 kB / 389.4 MB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/0.01635, allocations: 253.6 kB / 389.7 MB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.01635, allocations: 4 kB / 389.7 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01636, allocations: 0 / 389.7 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.01636, allocations: 0 / 389.7 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.01664, allocations: 272.3 kB / 390 MB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01664, allocations: 0 / 390 MB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.01687, allocations: 83.88 kB / 390 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.01687, allocations: 4 kB / 390.1 MB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.01689, allocations: 4 kB / 390.1 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.0169, allocations: 3.938 kB / 390.1 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.0169, allocations: 4 kB / 390.1 MB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004974/0.01739, allocations: 435.5 kB / 390.5 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.018e-05/0.01748, allocations: 51.75 kB / 390.5 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.01751, allocations: 8 kB / 390.5 MB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.01761, allocations: 11.94 kB / 390.6 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.01768, allocations: 23.95 kB / 390.6 MB, free: 5.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.01769, allocations: 7.984 kB / 390.6 MB, free: 5.676 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.0178, allocations: 201.1 kB / 390.8 MB, free: 5.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0178, allocations: 0 / 390.8 MB, free: 5.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002956/0.01809, allocations: 99.73 kB / 390.9 MB, free: 5.383 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.0001117/0.0182, allocations: 99.28 kB / 391 MB, free: 5.277 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00031/0.01851, allocations: 196.2 kB / 391.2 MB, free: 5.082 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01851, allocations: 4 kB / 391.2 MB, free: 5.078 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.01863, allocations: 99.81 kB / 391.3 MB, free: 4.977 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.0189, allocations: 28.47 kB / 391.3 MB, free: 4.949 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.01997, allocations: 0.6752 MB / 392 MB, free: 4.242 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.89e-05/0.02005, allocations: 100.8 kB / 392.1 MB, free: 4.125 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.02018, allocations: 34.94 kB / 392.1 MB, free: 4.094 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.597e-05/0.02027, allocations: 28.5 kB / 392.1 MB, free: 4.062 MB / 362.7 MB Notification: Performance of SimCode: time 1.703e-06/0.02027, allocations: 0 / 392.1 MB, free: 4.062 MB / 362.7 MB Notification: Performance of Templates: time 0.005747/0.02602, allocations: 2.577 MB / 394.7 MB, free: 1.523 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.1098301047459245]