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.001803/0.001803, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002356/0.002356, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.532/1.532, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.2732/0.2732, allocations: 46.93 MB / 360.8 MB, free: 4.281 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002624/0.002624, allocations: 75.81 kB / 0.4966 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3979, allocations: 66.01 MB / 0.5611 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004966/0.4029, allocations: 3.049 MB / 0.5641 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.4046, allocations: 0.7942 MB / 0.5649 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.4048, allocations: 7.938 kB / 0.5649 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.405, allocations: 59.38 kB / 0.5649 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003324/0.4054, allocations: 103.1 kB / 0.565 GB, free: 432 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.4058, allocations: 115.8 kB / 0.5651 GB, free: 316 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005789/0.4064, allocations: 474.6 kB / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.4066, allocations: 112.4 kB / 0.5657 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003298/0.4069, allocations: 195.3 kB / 0.5659 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.4072, allocations: 215 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.216e-05/0.4073, allocations: 40 kB / 0.5661 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.387e-05/0.4074, allocations: 40 kB / 0.5662 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.566e-05/0.4075, allocations: 91.67 kB / 0.5663 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.4077, allocations: 191.1 kB / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005804/0.4083, allocations: 476.7 kB / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.4083, allocations: 4 kB / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4083, allocations: 0 / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.4083, allocations: 0 / 0.5669 GB, free: 14.5 MB / 414.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.001483/0.4098, allocations: 0.6379 MB / 0.5675 GB, free: 13.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.4098, allocations: 8.031 kB / 0.5675 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002898/0.4101, allocations: 60.58 kB / 0.5676 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/0.4106, allocations: 238 kB / 0.5678 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.721e-05/0.4107, allocations: 33.38 kB / 0.5678 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/0.4107, allocations: 36.38 kB / 0.5679 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007217/0.4115, allocations: 346.8 kB / 0.5682 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.4115, allocations: 0 / 0.5682 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.355e-05/0.4115, allocations: 16 kB / 0.5682 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.4116, allocations: 8 kB / 0.5682 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007123/0.4123, allocations: 315.7 kB / 0.5685 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/0.4149, allocations: 1.283 MB / 0.5698 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005845/0.4155, allocations: 263.3 kB / 0.57 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/0.4159, allocations: 141.3 kB / 0.5702 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.872e-05/0.4159, allocations: 8.266 kB / 0.5702 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.416, allocations: 42.84 kB / 0.5702 GB, free: 10.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.224e-06/0.416, allocations: 0 / 0.5702 GB, free: 10.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009299/0.4169, allocations: 367.6 kB / 0.5706 GB, free: 10.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/0.417, allocations: 59.34 kB / 0.5706 GB, free: 10.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000318/0.4173, allocations: 261.8 kB / 0.5709 GB, free: 10.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.4173, allocations: 33.7 kB / 0.5709 GB, free: 10.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.4175, allocations: 216.2 kB / 0.5711 GB, free: 9.965 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.4176, allocations: 119 kB / 0.5712 GB, free: 9.848 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.4177, allocations: 74.08 kB / 0.5713 GB, free: 9.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.4179, allocations: 338.8 kB / 0.5716 GB, free: 9.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.4182, allocations: 100.8 kB / 0.5717 GB, free: 9.332 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003235/0.4185, allocations: 179.5 kB / 0.5719 GB, free: 9.133 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005892/0.4191, allocations: 288.7 kB / 0.5722 GB, free: 8.828 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.4191, allocations: 4 kB / 0.5722 GB, free: 8.824 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007875/0.4199, allocations: 370.5 kB / 0.5725 GB, free: 8.457 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.4199, allocations: 8 kB / 0.5725 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4199, allocations: 0 / 0.5725 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.4199, allocations: 7.938 kB / 0.5725 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005754/0.4205, allocations: 107.8 kB / 0.5726 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.81e-05/0.4205, allocations: 4 kB / 0.5726 GB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.4209, allocations: 47.66 kB / 0.5727 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.969e-05/0.4209, allocations: 16 kB / 0.5727 GB, free: 8.27 MB / 414.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.0002651/0.4212, allocations: 149.7 kB / 0.5728 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.555e-05/0.4213, allocations: 31.81 kB / 0.5729 GB, free: 8.082 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008489/0.4221, allocations: 325.2 kB / 0.5732 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.4221, allocations: 4 kB / 0.5732 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.4221, allocations: 0 / 0.5732 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.703e-05/0.4222, allocations: 7.984 kB / 0.5732 GB, free: 7.746 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005682/0.4227, allocations: 376.2 kB / 0.5736 GB, free: 7.336 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4227, allocations: 0 / 0.5736 GB, free: 7.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004359/0.4232, allocations: 87.88 kB / 0.5736 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.4232, allocations: 4 kB / 0.5736 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.4232, allocations: 4 kB / 0.5736 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.4232, allocations: 7.984 kB / 0.5737 GB, free: 7.234 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4232, allocations: 0 / 0.5737 GB, free: 7.234 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000974/0.4242, allocations: 0.5147 MB / 0.5742 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.4243, allocations: 55.69 kB / 0.5742 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.4244, allocations: 4 kB / 0.5742 GB, free: 6.645 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.4246, allocations: 15.98 kB / 0.5742 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.4247, allocations: 19.97 kB / 0.5742 GB, free: 6.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.4247, allocations: 11.92 kB / 0.5743 GB, free: 6.598 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002178/0.4249, allocations: 185.2 kB / 0.5744 GB, free: 6.414 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4249, allocations: 0 / 0.5744 GB, free: 6.414 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004029/0.4253, allocations: 99.83 kB / 0.5745 GB, free: 6.316 MB / 414.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.000147/0.4255, allocations: 103.2 kB / 0.5746 GB, free: 6.207 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006584/0.4261, allocations: 263.5 kB / 0.5749 GB, free: 5.949 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4261, allocations: 0 / 0.5749 GB, free: 5.949 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.4264, allocations: 119.8 kB / 0.575 GB, free: 5.832 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.4268, allocations: 44.8 kB / 0.575 GB, free: 5.789 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.4285, allocations: 0.7531 MB / 0.5758 GB, free: 5.008 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.4291, allocations: 0.7915 MB / 0.5765 GB, free: 4.191 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001831/0.4292, allocations: 34.95 kB / 0.5766 GB, free: 4.156 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.4293, allocations: 31.42 kB / 0.5766 GB, free: 4.125 MB / 414.1 MB Notification: Performance of SimCode: time 1.403e-06/0.4293, allocations: 0 / 0.5766 GB, free: 4.125 MB / 414.1 MB Notification: Performance of Templates: time 0.00911/0.4385, allocations: 2.912 MB / 0.5795 GB, free: 1.238 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.702519767917693]