Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.007761/0.007761, allocations: 109.7 kB / 21.98 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001798/0.001798, allocations: 220.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 230.5 MB / 258.9 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2326/0.2326, allocations: 46.92 MB / 362.3 MB, free: 4.215 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002365/0.002365, allocations: 79.88 kB / 0.4982 GB, free: 7.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3449, allocations: 66.08 MB / 0.5627 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004681/0.3496, allocations: 3.052 MB / 0.5657 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.3512, allocations: 0.798 MB / 0.5665 GB, free: 404 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.3514, allocations: 4 kB / 0.5665 GB, free: 400 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.3516, allocations: 63.38 kB / 0.5665 GB, free: 336 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.3519, allocations: 103 kB / 0.5666 GB, free: 232 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.3522, allocations: 111.8 kB / 0.5668 GB, free: 120 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005788/0.3528, allocations: 474.6 kB / 0.5672 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.353, allocations: 116.4 kB / 0.5673 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003223/0.3534, allocations: 195.3 kB / 0.5675 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/0.3537, allocations: 207.1 kB / 0.5677 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.275e-05/0.3537, allocations: 40 kB / 0.5677 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.316e-05/0.3538, allocations: 40 kB / 0.5678 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.649e-05/0.3539, allocations: 95.67 kB / 0.5679 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.3541, allocations: 195 kB / 0.5681 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006461/0.3548, allocations: 476.7 kB / 0.5685 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/0.3548, allocations: 4 kB / 0.5685 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.448e-06/0.3548, allocations: 0 / 0.5685 GB, free: 14.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.3548, allocations: 0 / 0.5685 GB, free: 14.3 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.00151/0.3563, allocations: 0.6418 MB / 0.5691 GB, free: 13.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3563, allocations: 8.031 kB / 0.5691 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002555/0.3566, allocations: 56.64 kB / 0.5692 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004646/0.3571, allocations: 238 kB / 0.5694 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.3571, allocations: 33.38 kB / 0.5695 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.268e-05/0.3572, allocations: 36.38 kB / 0.5695 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006987/0.3579, allocations: 346.7 kB / 0.5698 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.3579, allocations: 0 / 0.5698 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.3579, allocations: 16 kB / 0.5698 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.3579, allocations: 8 kB / 0.5698 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00067/0.3586, allocations: 303.8 kB / 0.5701 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002453/0.3611, allocations: 1.299 MB / 0.5714 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005433/0.3616, allocations: 252.8 kB / 0.5716 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/0.3619, allocations: 137.4 kB / 0.5718 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/0.3619, allocations: 4.281 kB / 0.5718 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.362, allocations: 42.84 kB / 0.5718 GB, free: 10.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.362, allocations: 0 / 0.5718 GB, free: 10.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008816/0.3629, allocations: 375.5 kB / 0.5722 GB, free: 10.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.3629, allocations: 59.34 kB / 0.5722 GB, free: 10.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.3632, allocations: 257.8 kB / 0.5725 GB, free: 10.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.3632, allocations: 37.7 kB / 0.5725 GB, free: 9.988 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.3634, allocations: 208.3 kB / 0.5727 GB, free: 9.781 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.591e-05/0.3635, allocations: 123 kB / 0.5728 GB, free: 9.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.3636, allocations: 82.02 kB / 0.5729 GB, free: 9.574 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3637, allocations: 338.8 kB / 0.5732 GB, free: 9.234 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.364, allocations: 100.8 kB / 0.5733 GB, free: 9.137 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003026/0.3643, allocations: 175.5 kB / 0.5735 GB, free: 8.941 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005726/0.3649, allocations: 284.7 kB / 0.5738 GB, free: 8.641 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3649, allocations: 0 / 0.5738 GB, free: 8.641 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007614/0.3656, allocations: 374.5 kB / 0.5741 GB, free: 8.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.3657, allocations: 12 kB / 0.5741 GB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3657, allocations: 3.938 kB / 0.5741 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.3657, allocations: 4 kB / 0.5741 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004944/0.3662, allocations: 103.9 kB / 0.5742 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.3662, allocations: 7.938 kB / 0.5743 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.3665, allocations: 47.66 kB / 0.5743 GB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.3665, allocations: 16 kB / 0.5743 GB, free: 8.078 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.000178/0.3667, allocations: 153.7 kB / 0.5745 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.3667, allocations: 31.81 kB / 0.5745 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007598/0.3675, allocations: 317.2 kB / 0.5748 GB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.3675, allocations: 4 kB / 0.5748 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3675, allocations: 0 / 0.5748 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.3675, allocations: 7.984 kB / 0.5748 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005074/0.368, allocations: 376.2 kB / 0.5752 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.368, allocations: 3.938 kB / 0.5752 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004285/0.3684, allocations: 79.94 kB / 0.5752 GB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.3685, allocations: 4 kB / 0.5752 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.3685, allocations: 8 kB / 0.5753 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3685, allocations: 3.984 kB / 0.5753 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3685, allocations: 7.938 kB / 0.5753 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009432/0.3694, allocations: 0.5147 MB / 0.5758 GB, free: 6.512 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.3695, allocations: 47.75 kB / 0.5758 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.964e-05/0.3696, allocations: 4 kB / 0.5758 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.3698, allocations: 19.98 kB / 0.5758 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.483e-05/0.3699, allocations: 15.97 kB / 0.5759 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.3699, allocations: 11.98 kB / 0.5759 GB, free: 6.414 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002094/0.3701, allocations: 185.2 kB / 0.576 GB, free: 6.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3701, allocations: 0 / 0.576 GB, free: 6.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003687/0.3705, allocations: 99.83 kB / 0.5761 GB, free: 6.133 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.0001231/0.3706, allocations: 107.2 kB / 0.5762 GB, free: 6.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006166/0.3712, allocations: 255.6 kB / 0.5765 GB, free: 5.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3712, allocations: 0 / 0.5765 GB, free: 5.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002605/0.3715, allocations: 123.8 kB / 0.5766 GB, free: 5.648 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.3718, allocations: 44.8 kB / 0.5766 GB, free: 5.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.3733, allocations: 0.786 MB / 0.5774 GB, free: 4.785 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.3738, allocations: 0.7876 MB / 0.5782 GB, free: 3.973 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.3739, allocations: 31.42 kB / 0.5782 GB, free: 3.941 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3739, allocations: 0 / 0.5782 GB, free: 3.941 MB / 414.1 MB Notification: Performance of Templates: time 0.006677/0.3806, allocations: 3.936 MB / 0.5821 GB, free: 16 kB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 7.560352751985192]