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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 107.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002659/0.002659, allocations: 195.6 kB / 22.98 MB, free: 5.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 251.6 MB, free: 13.35 MB / 206.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.2456/0.2456, allocations: 44.92 MB / 351.6 MB, free: 12.23 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002038/0.002038, allocations: 71.88 kB / 495.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4567/0.4587, allocations: 64.25 MB / 0.5464 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.005774/0.4645, allocations: 3.032 MB / 0.5493 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.4663, allocations: 0.7384 MB / 0.5501 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002062/0.4665, allocations: 8.312 kB / 0.5501 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.4667, allocations: 53.02 kB / 0.5501 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.4669, allocations: 105.7 kB / 0.5502 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.4673, allocations: 114.4 kB / 0.5503 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005769/0.4679, allocations: 470.2 kB / 0.5508 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002885/0.4681, allocations: 118.1 kB / 0.5509 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003014/0.4684, allocations: 181.6 kB / 0.5511 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002967/0.4687, allocations: 209.5 kB / 0.5513 GB, free: 9.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.84e-05/0.4688, allocations: 38.62 kB / 0.5513 GB, free: 9.355 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.843e-05/0.4689, allocations: 43.12 kB / 0.5513 GB, free: 9.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.469, allocations: 85.92 kB / 0.5514 GB, free: 9.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002231/0.4692, allocations: 205.5 kB / 0.5516 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006793/0.4699, allocations: 476.7 kB / 0.5521 GB, free: 8.777 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4699, allocations: 0 / 0.5521 GB, free: 8.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4699, allocations: 0 / 0.5521 GB, free: 8.777 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.4699, allocations: 5.219 kB / 0.5521 GB, free: 8.773 MB / 398.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.001553/0.4715, allocations: 0.707 MB / 0.5528 GB, free: 8.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.4715, allocations: 9.844 kB / 0.5528 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.251e-05/0.4716, allocations: 45.16 kB / 0.5528 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004955/0.4721, allocations: 296 kB / 0.5531 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.4721, allocations: 29.06 kB / 0.5531 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-05/0.4722, allocations: 40.95 kB / 0.5532 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000719/0.4729, allocations: 347.4 kB / 0.5535 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.4729, allocations: 0 / 0.5535 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.829e-05/0.473, allocations: 15.22 kB / 0.5535 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.473, allocations: 9.875 kB / 0.5535 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006682/0.4736, allocations: 308.4 kB / 0.5538 GB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002467/0.4761, allocations: 1.327 MB / 0.5551 GB, free: 6.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000565/0.4767, allocations: 265.6 kB / 0.5554 GB, free: 6.227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/0.477, allocations: 137.3 kB / 0.5555 GB, free: 6.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.926e-05/0.477, allocations: 8.281 kB / 0.5555 GB, free: 6.156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.4771, allocations: 36.34 kB / 0.5555 GB, free: 6.113 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 1.803e-06/0.4771, allocations: 0 / 0.5555 GB, free: 6.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009877/0.4781, allocations: 381.6 kB / 0.5559 GB, free: 5.852 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.4781, allocations: 59.34 kB / 0.556 GB, free: 5.781 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/0.4784, allocations: 266.7 kB / 0.5562 GB, free: 5.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.4784, allocations: 33.7 kB / 0.5563 GB, free: 5.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.4786, allocations: 208.3 kB / 0.5565 GB, free: 5.266 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.4787, allocations: 122.9 kB / 0.5566 GB, free: 5.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.4789, allocations: 70.08 kB / 0.5566 GB, free: 5.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002562/0.4791, allocations: 342.8 kB / 0.557 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.4794, allocations: 100.8 kB / 0.5571 GB, free: 4.629 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.4797, allocations: 175.5 kB / 0.5572 GB, free: 4.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000572/0.4803, allocations: 292.6 kB / 0.5575 GB, free: 4.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.4803, allocations: 4 kB / 0.5575 GB, free: 4.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007023/0.481, allocations: 370.5 kB / 0.5579 GB, free: 3.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.481, allocations: 6.344 kB / 0.5579 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.481, allocations: 7.984 kB / 0.5579 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.4811, allocations: 4 kB / 0.5579 GB, free: 3.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.4816, allocations: 95.88 kB / 0.558 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.4816, allocations: 4 kB / 0.558 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/0.4818, allocations: 39.72 kB / 0.558 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.4819, allocations: 16 kB / 0.558 GB, free: 3.582 MB / 398.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.0001832/0.4821, allocations: 161.6 kB / 0.5582 GB, free: 3.414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.4821, allocations: 31.81 kB / 0.5582 GB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007728/0.4829, allocations: 328.2 kB / 0.5585 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.4829, allocations: 4 kB / 0.5585 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4829, allocations: 4 kB / 0.5585 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4829, allocations: 3.938 kB / 0.5585 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005612/0.4835, allocations: 405.2 kB / 0.5589 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4835, allocations: 4 kB / 0.5589 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004117/0.4839, allocations: 83.88 kB / 0.559 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.4839, allocations: 4 kB / 0.559 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.4839, allocations: 4 kB / 0.559 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4839, allocations: 0 / 0.559 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4839, allocations: 4 kB / 0.559 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009527/0.4849, allocations: 0.5223 MB / 0.5595 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.485, allocations: 128.9 kB / 0.5597 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.4851, allocations: 4 kB / 0.5597 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.4853, allocations: 15.98 kB / 0.5597 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.4854, allocations: 23.91 kB / 0.5597 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.4854, allocations: 4 kB / 0.5597 GB, free: 1.766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002422/0.4856, allocations: 198 kB / 0.5599 GB, free: 1.574 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4856, allocations: 0 / 0.5599 GB, free: 1.574 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003731/0.486, allocations: 99.84 kB / 0.56 GB, free: 1.477 MB / 398.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.0001252/0.4861, allocations: 99.19 kB / 0.5601 GB, free: 1.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006442/0.4868, allocations: 259.9 kB / 0.5603 GB, free: 1.117 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4868, allocations: 4 kB / 0.5603 GB, free: 1.113 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000257/0.487, allocations: 132.1 kB / 0.5605 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.4874, allocations: 36.48 kB / 0.5605 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.4893, allocations: 0.7624 MB / 0.5612 GB, free: 160 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006451/0.49, allocations: 0.7835 MB / 0.562 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002092/0.4902, allocations: 34.95 kB / 0.562 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.4903, allocations: 31.42 kB / 0.5621 GB, free: 15.28 MB / 414.1 MB Notification: Performance of SimCode: time 1.502e-06/0.4903, allocations: 0 / 0.5621 GB, free: 15.28 MB / 414.1 MB Notification: Performance of Templates: time 0.009113/0.4994, allocations: 2.803 MB / 0.5648 GB, free: 12.49 MB / 414.1 MB " [Timeout remaining time 659] 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.547050987370312]