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.001298/0.001298, allocations: 80.31 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.001794/0.001794, allocations: 170 kB / 25.61 MB, free: 8.859 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.023/1.023, allocations: 177.1 MB / 206 MB, free: 4.52 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.1338/0.1338, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.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.262e-06/1.262e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.752e-05, allocations: 2.312 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.002627/0.002645, allocations: 2.973 MB / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008949/0.00354, allocations: 0.7632 MB / 381 MB, free: 21.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.003675, allocations: 7.938 kB / 381 MB, free: 21.83 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.003806, allocations: 55.44 kB / 381.1 MB, free: 21.77 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.003939, allocations: 107 kB / 381.2 MB, free: 21.67 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.004167, allocations: 123.8 kB / 381.3 MB, free: 21.55 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.004453, allocations: 482.4 kB / 381.8 MB, free: 21.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.004609, allocations: 120.4 kB / 381.9 MB, free: 20.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002798/0.004889, allocations: 275.4 kB / 382.1 MB, free: 20.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.005023, allocations: 151.5 kB / 382.3 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.005061, allocations: 40 kB / 382.3 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.827e-05/0.005119, allocations: 40 kB / 382.4 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.052e-05/0.00516, allocations: 95.64 kB / 382.5 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.096e-05/0.005231, allocations: 143.6 kB / 382.6 MB, free: 20.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.005458, allocations: 310.8 kB / 382.9 MB, free: 19.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.00546, allocations: 4 kB / 382.9 MB, free: 19.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005461, allocations: 0 / 382.9 MB, free: 19.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.005467, allocations: 0 / 382.9 MB, free: 19.91 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.0006593/0.006126, allocations: 0.7338 MB / 383.6 MB, free: 19.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.767e-05/0.006154, allocations: 12.03 kB / 383.7 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.006303, allocations: 88.64 kB / 383.7 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.006486, allocations: 235.9 kB / 384 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.006502, allocations: 33.38 kB / 384 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.006536, allocations: 36.38 kB / 384 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.006765, allocations: 251.6 kB / 384.3 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.006777, allocations: 4.141 kB / 384.3 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.006797, allocations: 16.38 kB / 384.3 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.006804, allocations: 11.94 kB / 384.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.00694, allocations: 130.8 kB / 384.4 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009738/0.007914, allocations: 1.106 MB / 385.5 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.00808, allocations: 163.7 kB / 385.7 MB, free: 16.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.28e-05/0.008153, allocations: 76.22 kB / 385.8 MB, free: 16.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.008173, allocations: 8.266 kB / 385.8 MB, free: 16.87 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.008187, allocations: 41.67 kB / 385.8 MB, free: 16.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 1.483e-06/0.008189, allocations: 0 / 385.8 MB, free: 16.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002589/0.008448, allocations: 232.4 kB / 386.1 MB, free: 16.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.008469, allocations: 63.33 kB / 386.1 MB, free: 16.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.008572, allocations: 268.2 kB / 386.4 MB, free: 16.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.008592, allocations: 37.64 kB / 386.4 MB, free: 16.19 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.548e-05/0.008657, allocations: 263.2 kB / 386.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.008702, allocations: 126.9 kB / 386.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.807e-05/0.00877, allocations: 75.81 kB / 386.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.238e-05/0.008822, allocations: 0.5079 MB / 387.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.98e-05/0.008872, allocations: 40.95 kB / 387.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.697e-05/0.008949, allocations: 130.7 kB / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.009092, allocations: 199.2 kB / 387.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.009094, allocations: 0 / 387.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002123/0.009306, allocations: 258.4 kB / 388 MB, free: 14.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.00932, allocations: 6.344 kB / 388 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.009325, allocations: 4 kB / 388 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.009335, allocations: 8.156 kB / 388 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.009556, allocations: 103.9 kB / 388.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.009562, allocations: 7.938 kB / 388.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.009662, allocations: 39.77 kB / 388.2 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.009676, allocations: 8 kB / 388.2 MB, free: 14.34 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 6.796e-05/0.009744, allocations: 172.5 kB / 388.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.009782, allocations: 39.81 kB / 388.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.009988, allocations: 227.6 kB / 388.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.009991, allocations: 7.938 kB / 388.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.009993, allocations: 0 / 388.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.009997, allocations: 7.984 kB / 388.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.01018, allocations: 236.7 kB / 388.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01018, allocations: 0 / 388.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.01036, allocations: 83.88 kB / 388.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.01036, allocations: 4 kB / 388.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.01038, allocations: 4 kB / 388.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.01038, allocations: 7.938 kB / 388.9 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.01038, allocations: 3.938 kB / 388.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.01067, allocations: 408 kB / 389.3 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.928e-05/0.01073, allocations: 43.8 kB / 389.4 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.01076, allocations: 12 kB / 389.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-05/0.01084, allocations: 8 kB / 389.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.01089, allocations: 23.95 kB / 389.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.0109, allocations: 15.94 kB / 389.4 MB, free: 13 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.698e-05/0.01097, allocations: 185.1 kB / 389.6 MB, free: 12.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01097, allocations: 0 / 389.6 MB, free: 12.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002217/0.01119, allocations: 95.78 kB / 389.7 MB, free: 12.73 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 6.901e-05/0.01126, allocations: 110.9 kB / 389.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.01143, allocations: 164.3 kB / 390 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.01144, allocations: 0 / 390 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.549e-05/0.01151, allocations: 95.66 kB / 390.1 MB, free: 12.35 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.01172, allocations: 28.45 kB / 390.1 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006726/0.01239, allocations: 0.6598 MB / 390.8 MB, free: 11.63 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.865e-05/0.01243, allocations: 104.5 kB / 390.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.01254, allocations: 34.95 kB / 390.9 MB, free: 11.47 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.01265, allocations: 114.2 kB / 391 MB, free: 11.36 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01265, allocations: 0 / 391 MB, free: 11.36 MB / 314.7 MB Notification: Performance of Templates: time 0.004204/0.01685, allocations: 2.74 MB / 393.8 MB, free: 8.668 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.1994488812051713]