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.001132/0.001132, 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.001494/0.001494, 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.053/1.053, 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.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.2718/0.2718, allocations: 34.26 MB / 296.1 MB, free: 0.7148 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.754e-06/1.754e-06, allocations: 0 / 378.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.523e-05, allocations: 6.25 kB / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003781/0.003806, allocations: 2.987 MB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.005214, allocations: 0.7556 MB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.005393, allocations: 7.938 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.00558, allocations: 59.38 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.005792, allocations: 111 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.006109, allocations: 123.7 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004298/0.006539, allocations: 486.4 kB / 383 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.006738, allocations: 100.5 kB / 383.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003832/0.007122, allocations: 275.4 kB / 383.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.007354, allocations: 155.5 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.892e-05/0.007412, allocations: 40 kB / 383.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.007514, allocations: 44 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.327e-05/0.007587, allocations: 95.64 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.007714, allocations: 139.7 kB / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004042/0.008118, allocations: 310.8 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.008123, allocations: 4 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.008124, allocations: 0 / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.008129, allocations: 3.938 kB / 384.1 MB, free: 12.7 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.001083/0.009212, allocations: 0.7377 MB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.009254, allocations: 16.03 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.009443, allocations: 88.64 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.009689, allocations: 236 kB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.009709, allocations: 29.38 kB / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.009753, allocations: 36.38 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.01004, allocations: 243.8 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.01005, allocations: 8.125 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.01007, allocations: 20.36 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.01008, allocations: 11.94 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.01024, allocations: 130.8 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.01142, allocations: 1.106 MB / 386.8 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.01162, allocations: 165.7 kB / 387 MB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.657e-05/0.01172, allocations: 84.14 kB / 387 MB, free: 9.645 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.01174, allocations: 4.281 kB / 387 MB, free: 9.641 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.01177, allocations: 41.67 kB / 387.1 MB, free: 9.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.01177, allocations: 0 / 387.1 MB, free: 9.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003425/0.01211, allocations: 239.5 kB / 387.3 MB, free: 9.352 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.01214, allocations: 59.34 kB / 387.4 MB, free: 9.281 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.0123, allocations: 276.1 kB / 387.6 MB, free: 8.996 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.01231, allocations: 33.7 kB / 387.7 MB, free: 8.957 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.01242, allocations: 255.3 kB / 387.9 MB, free: 8.703 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.99e-05/0.01248, allocations: 126.9 kB / 388 MB, free: 8.578 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.982e-05/0.01256, allocations: 75.81 kB / 388.1 MB, free: 8.496 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.01269, allocations: 0.5117 MB / 388.6 MB, free: 7.973 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.53e-05/0.01275, allocations: 40.95 kB / 388.7 MB, free: 7.934 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.804e-05/0.01285, allocations: 126.8 kB / 388.8 MB, free: 7.777 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.01302, allocations: 207.2 kB / 389 MB, free: 7.543 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01302, allocations: 0 / 389 MB, free: 7.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002565/0.01328, allocations: 258.6 kB / 389.3 MB, free: 7.285 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.01329, allocations: 4 kB / 389.3 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.0133, allocations: 4 kB / 389.3 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.01331, allocations: 7.938 kB / 389.3 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.01354, allocations: 99.86 kB / 389.4 MB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.01355, allocations: 4 kB / 389.4 MB, free: 7.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.97e-05/0.01365, allocations: 43.67 kB / 389.4 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.01366, allocations: 11.98 kB / 389.4 MB, free: 7.113 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.648e-05/0.01376, allocations: 176.5 kB / 389.6 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.0138, allocations: 43.88 kB / 389.6 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.01404, allocations: 221.7 kB / 389.9 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.01404, allocations: 7.938 kB / 389.9 MB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.01404, allocations: 0 / 389.9 MB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01405, allocations: 0 / 389.9 MB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.0143, allocations: 232.9 kB / 390.1 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.0143, allocations: 0 / 390.1 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.01452, allocations: 83.89 kB / 390.2 MB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.01452, allocations: 0 / 390.2 MB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.01454, allocations: 4 kB / 390.2 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.01454, allocations: 8 kB / 390.2 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01454, allocations: 0 / 390.2 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.01491, allocations: 412 kB / 390.6 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-05/0.01497, allocations: 43.77 kB / 390.6 MB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.01499, allocations: 8 kB / 390.6 MB, free: 5.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.84e-05/0.01509, allocations: 15.98 kB / 390.7 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.01514, allocations: 19.95 kB / 390.7 MB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.01515, allocations: 11.94 kB / 390.7 MB, free: 5.789 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.164e-05/0.01523, allocations: 189.1 kB / 390.9 MB, free: 5.605 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01523, allocations: 0 / 390.9 MB, free: 5.605 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002114/0.01544, allocations: 99.77 kB / 391 MB, free: 5.508 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.484e-05/0.01553, allocations: 103.2 kB / 391.1 MB, free: 5.398 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.01572, allocations: 164.3 kB / 391.2 MB, free: 5.234 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01573, allocations: 0 / 391.2 MB, free: 5.234 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.435e-05/0.01581, allocations: 87.81 kB / 391.3 MB, free: 5.145 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.01602, allocations: 40.47 kB / 391.4 MB, free: 5.105 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007969/0.01682, allocations: 0.6635 MB / 392 MB, free: 4.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.368e-05/0.01688, allocations: 100.7 kB / 392.1 MB, free: 4.289 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.01699, allocations: 34.89 kB / 392.1 MB, free: 4.258 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.01711, allocations: 110.2 kB / 392.3 MB, free: 4.148 MB / 362.7 MB Notification: Performance of SimCode: time 4.3e-07/0.01711, allocations: 4 kB / 392.3 MB, free: 4.145 MB / 362.7 MB Notification: Performance of Templates: time 0.004887/0.022, allocations: 2.666 MB / 394.9 MB, free: 1.527 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.1791025111451745]