Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001299/0.001299, allocations: 104.7 kB / 19.8 MB, free: 2.516 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.001412/0.001412, allocations: 213.2 kB / 22.99 MB, free: 5.609 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.514/1.514, allocations: 230.2 MB / 256.2 MB, free: 8.559 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2422/0.2422, allocations: 46.91 MB / 359.4 MB, free: 4.855 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 83.86 kB / 0.4946 GB, free: 8.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.418/0.4204, allocations: 65.98 MB / 0.5591 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.005007/0.4254, allocations: 3.042 MB / 0.5621 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.427, allocations: 0.7864 MB / 0.5628 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.4272, allocations: 4 kB / 0.5628 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.4274, allocations: 63.38 kB / 0.5629 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.4276, allocations: 99.11 kB / 0.563 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.428, allocations: 119.8 kB / 0.5631 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005395/0.4285, allocations: 474.6 kB / 0.5635 GB, free: 456 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002522/0.4288, allocations: 116 kB / 0.5637 GB, free: 332 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003218/0.4291, allocations: 187.3 kB / 0.5638 GB, free: 144 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.4294, allocations: 211.1 kB / 0.564 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.234e-05/0.4295, allocations: 40 kB / 0.5641 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.444e-05/0.4295, allocations: 40 kB / 0.5641 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.4297, allocations: 91.67 kB / 0.5642 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.4299, allocations: 199 kB / 0.5644 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000622/0.4305, allocations: 476.7 kB / 0.5648 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4305, allocations: 0 / 0.5648 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4305, allocations: 0 / 0.5648 GB, free: 15.11 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.4305, allocations: 0 / 0.5648 GB, free: 15.11 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.001665/0.4322, allocations: 0.7132 MB / 0.5655 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4322, allocations: 15.97 kB / 0.5656 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002986/0.4325, allocations: 56.64 kB / 0.5656 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.433, allocations: 291.5 kB / 0.5659 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.433, allocations: 29.38 kB / 0.5659 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.649e-05/0.4331, allocations: 36.38 kB / 0.5659 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006832/0.4338, allocations: 346.8 kB / 0.5663 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.4338, allocations: 3.938 kB / 0.5663 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.4338, allocations: 16 kB / 0.5663 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.4338, allocations: 12 kB / 0.5663 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000652/0.4345, allocations: 307.8 kB / 0.5666 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002476/0.437, allocations: 1.345 MB / 0.5679 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005363/0.4375, allocations: 257.7 kB / 0.5682 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/0.4378, allocations: 137.4 kB / 0.5683 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.153e-05/0.4378, allocations: 4.281 kB / 0.5683 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.4379, allocations: 38.84 kB / 0.5683 GB, free: 11.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.244e-06/0.4379, allocations: 0 / 0.5683 GB, free: 11.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.000933/0.4388, allocations: 375.5 kB / 0.5687 GB, free: 10.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.4388, allocations: 59.34 kB / 0.5688 GB, free: 10.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.4392, allocations: 258.7 kB / 0.569 GB, free: 10.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.4393, allocations: 37.64 kB / 0.569 GB, free: 10.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.4394, allocations: 212.3 kB / 0.5692 GB, free: 10.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.4395, allocations: 126.9 kB / 0.5694 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.4397, allocations: 70.08 kB / 0.5694 GB, free: 10.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4398, allocations: 338.8 kB / 0.5697 GB, free: 9.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.4401, allocations: 100.8 kB / 0.5698 GB, free: 9.723 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.4404, allocations: 175.5 kB / 0.57 GB, free: 9.527 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005436/0.441, allocations: 292.6 kB / 0.5703 GB, free: 9.219 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.441, allocations: 4 kB / 0.5703 GB, free: 9.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007158/0.4417, allocations: 370.6 kB / 0.5706 GB, free: 8.848 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.4417, allocations: 4 kB / 0.5707 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4417, allocations: 3.938 kB / 0.5707 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.4417, allocations: 4 kB / 0.5707 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004943/0.4422, allocations: 107.8 kB / 0.5708 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.4422, allocations: 4 kB / 0.5708 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.4425, allocations: 47.66 kB / 0.5708 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.4425, allocations: 12 kB / 0.5708 GB, free: 8.668 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.0001792/0.4427, allocations: 153.7 kB / 0.571 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/0.4428, allocations: 31.81 kB / 0.571 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008178/0.4436, allocations: 325 kB / 0.5713 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.4436, allocations: 4 kB / 0.5713 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.4436, allocations: 0 / 0.5713 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.4436, allocations: 7.984 kB / 0.5713 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000648/0.4443, allocations: 401.2 kB / 0.5717 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.4443, allocations: 4 kB / 0.5717 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004369/0.4447, allocations: 83.88 kB / 0.5718 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.4447, allocations: 4 kB / 0.5718 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.4447, allocations: 4 kB / 0.5718 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.4447, allocations: 3.984 kB / 0.5718 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.4447, allocations: 7.938 kB / 0.5718 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.4459, allocations: 0.5145 MB / 0.5723 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.4461, allocations: 128.8 kB / 0.5724 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.009e-05/0.4461, allocations: 8 kB / 0.5724 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.4463, allocations: 19.98 kB / 0.5725 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.4464, allocations: 15.97 kB / 0.5725 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.4465, allocations: 8 kB / 0.5725 GB, free: 6.863 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002535/0.4467, allocations: 194 kB / 0.5727 GB, free: 6.672 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4467, allocations: 0 / 0.5727 GB, free: 6.672 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004293/0.4471, allocations: 91.91 kB / 0.5728 GB, free: 6.582 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.0001965/0.4473, allocations: 115.1 kB / 0.5729 GB, free: 6.461 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007244/0.4481, allocations: 259.9 kB / 0.5731 GB, free: 6.207 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4481, allocations: 0 / 0.5731 GB, free: 6.207 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.4484, allocations: 128.7 kB / 0.5732 GB, free: 6.082 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.4488, allocations: 42.98 kB / 0.5733 GB, free: 6.043 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.4506, allocations: 0.7585 MB / 0.574 GB, free: 5.258 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006302/0.4512, allocations: 0.7876 MB / 0.5748 GB, free: 4.445 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001835/0.4514, allocations: 38.94 kB / 0.5748 GB, free: 4.406 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.4515, allocations: 27.44 kB / 0.5748 GB, free: 4.379 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4515, allocations: 0 / 0.5748 GB, free: 4.379 MB / 414.1 MB Notification: Performance of Templates: time 0.007762/0.4593, allocations: 2.821 MB / 0.5776 GB, free: 1.578 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.347455866634846]