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.001315/0.001315, allocations: 80.31 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001584/0.001584, allocations: 163.8 kB / 23.96 MB, free: 4.164 MB / 14.72 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.547/1.547, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.2188/0.2188, allocations: 32.81 MB / 293.5 MB, free: 40 kB / 270.1 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.543e-06/1.543e-06, allocations: 0 / 440.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.323e-05/3.478e-05, allocations: 5.234 kB / 440.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004432/0.004466, allocations: 2.802 MB / 442.9 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.006057, allocations: 0.7478 MB / 443.6 MB, free: 4.598 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.006232, allocations: 7.938 kB / 443.6 MB, free: 4.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.006455, allocations: 63.38 kB / 443.7 MB, free: 4.527 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.006722, allocations: 107 kB / 443.8 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.007091, allocations: 119.7 kB / 443.9 MB, free: 4.305 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000567/0.007658, allocations: 482.4 kB / 444.4 MB, free: 3.832 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.007925, allocations: 104.5 kB / 444.5 MB, free: 3.719 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00044/0.008365, allocations: 283.4 kB / 444.8 MB, free: 3.441 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.008627, allocations: 151.5 kB / 444.9 MB, free: 3.293 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.288e-05/0.0087, allocations: 40 kB / 445 MB, free: 3.254 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.008805, allocations: 44 kB / 445 MB, free: 3.211 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.146e-05/0.008897, allocations: 95.58 kB / 445.1 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.009076, allocations: 143.6 kB / 445.2 MB, free: 2.977 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005919/0.009668, allocations: 482.4 kB / 445.7 MB, free: 2.504 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.009675, allocations: 3.984 kB / 445.7 MB, free: 2.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.009677, allocations: 0 / 445.7 MB, free: 2.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.009685, allocations: 0 / 445.7 MB, free: 2.5 MB / 366.1 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.001469/0.01115, allocations: 0.634 MB / 446.3 MB, free: 1.832 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.01119, allocations: 11.98 kB / 446.4 MB, free: 1.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/0.01146, allocations: 64.58 kB / 446.4 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.01184, allocations: 228.8 kB / 446.6 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.97e-05/0.01188, allocations: 33.38 kB / 446.7 MB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.159e-05/0.01195, allocations: 36.38 kB / 446.7 MB, free: 1.441 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006898/0.01264, allocations: 351 kB / 447.1 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.01266, allocations: 192 / 447.1 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.0127, allocations: 16.38 kB / 447.1 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.01272, allocations: 11.94 kB / 447.1 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006735/0.01339, allocations: 303.8 kB / 447.4 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.242/0.2554, allocations: 1.131 MB / 448.5 MB, free: 21.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005323/0.2559, allocations: 260 kB / 448.8 MB, free: 21.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/0.2562, allocations: 139.3 kB / 448.9 MB, free: 21.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.2563, allocations: 6.125 kB / 448.9 MB, free: 21.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.2563, allocations: 37.83 kB / 448.9 MB, free: 21.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.585e-06/0.2563, allocations: 0 / 448.9 MB, free: 21.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008761/0.2572, allocations: 376.4 kB / 449.3 MB, free: 21.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.2572, allocations: 59.22 kB / 449.4 MB, free: 20.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.2574, allocations: 233.6 kB / 449.6 MB, free: 20.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.2575, allocations: 33.98 kB / 449.6 MB, free: 20.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.2576, allocations: 217.4 kB / 449.8 MB, free: 20.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.983e-05/0.2577, allocations: 123.1 kB / 450 MB, free: 20.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.2578, allocations: 71.56 kB / 450 MB, free: 20.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.882e-05/0.2579, allocations: 337.3 kB / 450.4 MB, free: 20.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.2582, allocations: 102.5 kB / 450.5 MB, free: 20.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.2585, allocations: 176.8 kB / 450.6 MB, free: 20.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005482/0.259, allocations: 283.3 kB / 450.9 MB, free: 19.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.259, allocations: 0 / 450.9 MB, free: 19.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006932/0.2597, allocations: 371.2 kB / 451.3 MB, free: 19.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.2597, allocations: 10.23 kB / 451.3 MB, free: 19.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.2597, allocations: 1.125 kB / 451.3 MB, free: 19.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.2598, allocations: 4.438 kB / 451.3 MB, free: 19.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/0.2603, allocations: 105.5 kB / 451.4 MB, free: 19.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.2603, allocations: 7.5 kB / 451.4 MB, free: 19.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.2606, allocations: 38.03 kB / 451.4 MB, free: 19.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.2606, allocations: 17.92 kB / 451.5 MB, free: 19.73 MB / 366.1 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.0001311/0.2608, allocations: 155.9 kB / 451.6 MB, free: 19.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.554e-05/0.2608, allocations: 26.7 kB / 451.6 MB, free: 19.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006608/0.2615, allocations: 330.8 kB / 452 MB, free: 19.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.2615, allocations: 10.86 kB / 452 MB, free: 19.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2615, allocations: 2.234 kB / 452 MB, free: 19.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.2615, allocations: 1.969 kB / 452 MB, free: 19.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.2619, allocations: 279.5 kB / 452.2 MB, free: 19.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2619, allocations: 3.938 kB / 452.2 MB, free: 19.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004183/0.2623, allocations: 84.39 kB / 452.3 MB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2623, allocations: 1.375 kB / 452.3 MB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.2623, allocations: 11.47 kB / 452.3 MB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.2623, allocations: 1.375 kB / 452.3 MB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2623, allocations: 2.656 kB / 452.3 MB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008822/0.2632, allocations: 0.5089 MB / 452.9 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.2633, allocations: 53.2 kB / 452.9 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/0.2633, allocations: 10.8 kB / 452.9 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.2636, allocations: 14.84 kB / 452.9 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.043e-05/0.2636, allocations: 22.41 kB / 453 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.2637, allocations: 11.78 kB / 453 MB, free: 18.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.2638, allocations: 165.5 kB / 453.1 MB, free: 18.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2638, allocations: 3.938 kB / 453.1 MB, free: 18.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003712/0.2642, allocations: 100 kB / 453.2 MB, free: 18.77 MB / 366.1 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.0001058/0.2643, allocations: 101.3 kB / 453.3 MB, free: 18.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005529/0.2648, allocations: 265.2 kB / 453.6 MB, free: 18.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2648, allocations: 0 / 453.6 MB, free: 18.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.2651, allocations: 124.1 kB / 453.7 MB, free: 18.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.2654, allocations: 31.95 kB / 453.7 MB, free: 18.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.2667, allocations: 0.6766 MB / 454.4 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.2668, allocations: 179.1 kB / 454.6 MB, free: 18.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001631/0.267, allocations: 40.5 kB / 454.6 MB, free: 18.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.987e-05/0.2671, allocations: 29.75 kB / 454.7 MB, free: 18.04 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2671, allocations: 0 / 454.7 MB, free: 18.04 MB / 366.1 MB Notification: Performance of Templates: time 0.007516/0.2746, allocations: 2.443 MB / 457.1 MB, free: 17.76 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0724815502762794]