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.00135/0.00135, allocations: 108.5 kB / 21.23 MB, free: 0.6602 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.002052/0.002052, allocations: 187.4 kB / 24.51 MB, free: 4.035 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.529/1.529, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.2526/0.2526, allocations: 44.91 MB / 353.5 MB, free: 11.82 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.002178/0.002178, allocations: 63.89 kB / 497.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4192, allocations: 64.27 MB / 0.5488 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.00595/0.4251, allocations: 3.043 MB / 0.5518 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.4269, allocations: 0.7425 MB / 0.5525 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.4271, allocations: 13.31 kB / 0.5525 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.4273, allocations: 60.81 kB / 0.5526 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.4275, allocations: 97.58 kB / 0.5527 GB, free: 10 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.4279, allocations: 114 kB / 0.5528 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006069/0.4285, allocations: 470 kB / 0.5532 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002951/0.4288, allocations: 118.8 kB / 0.5533 GB, free: 9.535 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003146/0.4291, allocations: 185.6 kB / 0.5535 GB, free: 9.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003409/0.4295, allocations: 208.9 kB / 0.5537 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.928e-05/0.4295, allocations: 39.47 kB / 0.5537 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.471e-05/0.4296, allocations: 38.84 kB / 0.5538 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.52e-05/0.4297, allocations: 94.39 kB / 0.5539 GB, free: 9.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.4299, allocations: 201.2 kB / 0.5541 GB, free: 9.059 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006078/0.4305, allocations: 472.6 kB / 0.5545 GB, free: 8.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4305, allocations: 4 kB / 0.5545 GB, free: 8.703 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4305, allocations: 0 / 0.5545 GB, free: 8.703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.4305, allocations: 0 / 0.5545 GB, free: 8.703 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.001532/0.4321, allocations: 0.6375 MB / 0.5551 GB, free: 8.191 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.4321, allocations: 9.922 kB / 0.5552 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.4322, allocations: 45.88 kB / 0.5552 GB, free: 8.168 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004827/0.4327, allocations: 232.6 kB / 0.5554 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/0.4328, allocations: 35.92 kB / 0.5555 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.313e-05/0.4328, allocations: 41.27 kB / 0.5555 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007122/0.4336, allocations: 344.4 kB / 0.5558 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.4336, allocations: 4 kB / 0.5558 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.4336, allocations: 15.88 kB / 0.5558 GB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.4336, allocations: 8.688 kB / 0.5558 GB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006977/0.4343, allocations: 307.7 kB / 0.5561 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002501/0.4368, allocations: 1.276 MB / 0.5574 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005397/0.4374, allocations: 268.8 kB / 0.5576 GB, free: 6.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.4377, allocations: 137.4 kB / 0.5578 GB, free: 6.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.4377, allocations: 4.281 kB / 0.5578 GB, free: 6.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.4377, allocations: 38.83 kB / 0.5578 GB, free: 6.027 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 1.473e-06/0.4377, allocations: 0 / 0.5578 GB, free: 6.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008962/0.4386, allocations: 375.5 kB / 0.5582 GB, free: 5.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.877e-05/0.4387, allocations: 59.34 kB / 0.5582 GB, free: 5.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.439, allocations: 265.9 kB / 0.5585 GB, free: 5.316 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.4391, allocations: 33.7 kB / 0.5585 GB, free: 5.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.4392, allocations: 208.3 kB / 0.5587 GB, free: 5.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.4393, allocations: 126.9 kB / 0.5588 GB, free: 4.945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.4394, allocations: 70.08 kB / 0.5589 GB, free: 4.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.4396, allocations: 338.8 kB / 0.5592 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.4399, allocations: 100.8 kB / 0.5593 GB, free: 4.434 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.4402, allocations: 179.4 kB / 0.5595 GB, free: 4.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005405/0.4407, allocations: 288.7 kB / 0.5598 GB, free: 3.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4407, allocations: 0 / 0.5598 GB, free: 3.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006707/0.4414, allocations: 382.2 kB / 0.5601 GB, free: 3.547 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4414, allocations: 8 kB / 0.5601 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.4414, allocations: 0 / 0.5601 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.4414, allocations: 4 kB / 0.5601 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/0.4419, allocations: 99.88 kB / 0.5602 GB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.4419, allocations: 11.92 kB / 0.5602 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.4422, allocations: 43.89 kB / 0.5603 GB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.4422, allocations: 19.98 kB / 0.5603 GB, free: 3.363 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.0001801/0.4424, allocations: 149.7 kB / 0.5605 GB, free: 3.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.428e-05/0.4425, allocations: 31.81 kB / 0.5605 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006836/0.4431, allocations: 324.1 kB / 0.5608 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.4431, allocations: 4 kB / 0.5608 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4432, allocations: 3.938 kB / 0.5608 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4432, allocations: 7.984 kB / 0.5608 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005236/0.4437, allocations: 388.2 kB / 0.5612 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4437, allocations: 0 / 0.5612 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003996/0.4441, allocations: 79.94 kB / 0.5613 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.4441, allocations: 4 kB / 0.5613 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.4441, allocations: 7.938 kB / 0.5613 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4441, allocations: 0 / 0.5613 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4441, allocations: 0 / 0.5613 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009273/0.445, allocations: 0.5146 MB / 0.5618 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.4452, allocations: 51.69 kB / 0.5618 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.114e-05/0.4452, allocations: 15.92 kB / 0.5618 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.4454, allocations: 12 kB / 0.5618 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/0.4455, allocations: 15.95 kB / 0.5619 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.4455, allocations: 12 kB / 0.5619 GB, free: 1.688 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002068/0.4457, allocations: 193.3 kB / 0.5621 GB, free: 1.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4457, allocations: 0 / 0.5621 GB, free: 1.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003781/0.4461, allocations: 95.84 kB / 0.5621 GB, free: 1.406 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.000133/0.4462, allocations: 99.19 kB / 0.5622 GB, free: 1.301 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006107/0.4469, allocations: 260.2 kB / 0.5625 GB, free: 1.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4469, allocations: 448 / 0.5625 GB, free: 1.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.4471, allocations: 135.5 kB / 0.5626 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.4474, allocations: 30.12 kB / 0.5626 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.449, allocations: 0.7639 MB / 0.5634 GB, free: 96 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.4494, allocations: 0.7835 MB / 0.5642 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.4496, allocations: 38.95 kB / 0.5642 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.229e-05/0.4497, allocations: 27.42 kB / 0.5642 GB, free: 15.22 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4497, allocations: 0 / 0.5642 GB, free: 15.22 MB / 414.1 MB Notification: Performance of Templates: time 0.007474/0.4572, allocations: 2.911 MB / 0.5671 GB, free: 12.33 MB / 414.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.6529885698109865]