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.001067/0.001067, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001002/0.001002, allocations: 161.5 kB / 25.61 MB, free: 8.594 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.052/1.052, allocations: 177.2 MB / 206.1 MB, free: 4.473 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.1601/0.1601, allocations: 34.24 MB / 296.8 MB, free: 13.92 MB / 282.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.743e-06/1.743e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.94e-05, allocations: 3.188 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003337/0.003366, allocations: 2.965 MB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.004768, allocations: 0.7671 MB / 383 MB, free: 19.65 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.004982, allocations: 11.94 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.00515, allocations: 55.44 kB / 383.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.005354, allocations: 107 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.005652, allocations: 119.7 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003828/0.006035, allocations: 486.4 kB / 383.8 MB, free: 18.89 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.006229, allocations: 112.4 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003832/0.006613, allocations: 279.4 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.006792, allocations: 155.5 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.811e-05/0.00684, allocations: 40 kB / 384.4 MB, free: 18.3 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.387e-05/0.006914, allocations: 44 kB / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.964e-05/0.006964, allocations: 91.64 kB / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.007071, allocations: 143.6 kB / 384.6 MB, free: 18.03 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.007391, allocations: 310.8 kB / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.007394, allocations: 3.938 kB / 384.9 MB, free: 17.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.007395, allocations: 0 / 384.9 MB, free: 17.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.007401, allocations: 0 / 384.9 MB, free: 17.72 MB / 314.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.0008483/0.00825, allocations: 0.7338 MB / 385.7 MB, free: 16.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.008287, allocations: 8.031 kB / 385.7 MB, free: 16.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002256/0.008512, allocations: 88.64 kB / 385.8 MB, free: 16.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.008764, allocations: 236 kB / 386 MB, free: 16.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.008786, allocations: 33.38 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/0.008833, allocations: 44.36 kB / 386.1 MB, free: 16.53 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.00913, allocations: 243.8 kB / 386.3 MB, free: 16.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.009145, allocations: 4.141 kB / 386.3 MB, free: 16.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.009171, allocations: 12.38 kB / 386.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.00918, allocations: 15.94 kB / 386.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.009358, allocations: 134.7 kB / 386.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.01066, allocations: 1.098 MB / 387.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.01089, allocations: 161.8 kB / 387.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.804e-05/0.01098, allocations: 84.16 kB / 387.8 MB, free: 14.69 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.01101, allocations: 12.28 kB / 387.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.01103, allocations: 41.66 kB / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 2.455e-06/0.01103, allocations: 0 / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003546/0.01139, allocations: 229 kB / 388.1 MB, free: 14.4 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.01141, allocations: 59.34 kB / 388.1 MB, free: 14.33 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.01155, allocations: 280.2 kB / 388.4 MB, free: 14.03 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.01157, allocations: 29.7 kB / 388.4 MB, free: 14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.182e-05/0.01165, allocations: 263.2 kB / 388.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.42e-05/0.0117, allocations: 122.9 kB / 388.8 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.713e-05/0.01179, allocations: 79.81 kB / 388.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.553e-05/0.01184, allocations: 0.5078 MB / 389.4 MB, free: 13 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.916e-05/0.01191, allocations: 40.95 kB / 389.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.942e-05/0.01201, allocations: 138.7 kB / 389.6 MB, free: 12.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.0122, allocations: 191.2 kB / 389.8 MB, free: 12.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.0122, allocations: 4 kB / 389.8 MB, free: 12.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003057/0.01251, allocations: 258.4 kB / 390 MB, free: 12.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.01252, allocations: 8 kB / 390 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01253, allocations: 0 / 390 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.01254, allocations: 7.938 kB / 390 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.01285, allocations: 95.88 kB / 390.1 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.01285, allocations: 4 kB / 390.1 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.013, allocations: 39.98 kB / 390.2 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.01302, allocations: 15.98 kB / 390.2 MB, free: 12.15 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 8.75e-05/0.01311, allocations: 176.4 kB / 390.4 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.01316, allocations: 39.81 kB / 390.4 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002989/0.01346, allocations: 223.6 kB / 390.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.01346, allocations: 7.938 kB / 390.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.01347, allocations: 4 kB / 390.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01347, allocations: 3.984 kB / 390.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.01373, allocations: 232.8 kB / 390.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.01373, allocations: 4 kB / 390.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.01399, allocations: 83.88 kB / 391 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.014, allocations: 0 / 391 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.01402, allocations: 12 kB / 391 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01402, allocations: 0 / 391 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01402, allocations: 0 / 391 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.01438, allocations: 411.9 kB / 391.4 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.539e-05/0.01445, allocations: 47.75 kB / 391.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.01448, allocations: 11.94 kB / 391.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.01461, allocations: 8 kB / 391.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.01466, allocations: 23.98 kB / 391.5 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.01468, allocations: 11.94 kB / 391.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.899e-05/0.01474, allocations: 185.1 kB / 391.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01474, allocations: 0 / 391.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003078/0.01505, allocations: 95.78 kB / 391.7 MB, free: 10.54 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 8.966e-05/0.01514, allocations: 99.19 kB / 391.8 MB, free: 10.44 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.01538, allocations: 172.3 kB / 392 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.01538, allocations: 448 / 392 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.35e-05/0.01548, allocations: 99.64 kB / 392.1 MB, free: 10.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.01578, allocations: 32.44 kB / 392.1 MB, free: 10.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008957/0.01667, allocations: 0.6593 MB / 392.8 MB, free: 9.438 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.257e-05/0.01673, allocations: 104.6 kB / 392.9 MB, free: 9.312 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001436/0.01687, allocations: 34.95 kB / 392.9 MB, free: 9.277 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.017, allocations: 114.2 kB / 393 MB, free: 9.164 MB / 314.7 MB Notification: Performance of SimCode: time 6.92e-07/0.017, allocations: 0 / 393 MB, free: 9.164 MB / 314.7 MB Notification: Performance of Templates: time 0.005364/0.02236, allocations: 2.729 MB / 395.8 MB, free: 6.484 MB / 314.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.329763175919652]