Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.001396/0.001396, allocations: 73.41 kB / 21.24 MB, free: 0.5547 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.001455/0.001455, allocations: 161.2 kB / 24.5 MB, free: 3.715 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.452/1.452, allocations: 177.2 MB / 204.9 MB, free: 9.008 MB / 190.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.2073/0.2073, allocations: 34.27 MB / 295.5 MB, free: 14.59 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.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002974/0.002974, allocations: 67.89 kB / 443.2 MB, free: 6.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3464, allocations: 66.01 MB / 0.4972 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.007948/0.3544, allocations: 9.105 MB / 0.5061 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007192/0.3616, allocations: 3.697 MB / 0.5097 GB, free: 21.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.3627, allocations: 67.47 kB / 0.5098 GB, free: 21.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003308/0.366, allocations: 2.033 MB / 0.5118 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003887/0.3699, allocations: 1.717 MB / 0.5135 GB, free: 19.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.3716, allocations: 0.6924 MB / 0.5141 GB, free: 19.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00629/0.3779, allocations: 4.008 MB / 0.5181 GB, free: 18.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003429/0.3813, allocations: 2.145 MB / 0.5202 GB, free: 17.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002438/0.3838, allocations: 1.331 MB / 0.5215 GB, free: 16.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002915/0.3867, allocations: 1.906 MB / 0.5233 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006473/0.3873, allocations: 266.5 kB / 0.5236 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/0.3897, allocations: 1.085 MB / 0.5246 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001866/0.3915, allocations: 1.701 MB / 0.5263 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001741/0.3933, allocations: 1.389 MB / 0.5276 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007474/0.4008, allocations: 6.202 MB / 0.5337 GB, free: 11.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4008, allocations: 1.312 kB / 0.5337 GB, free: 11.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4008, allocations: 0 / 0.5337 GB, free: 11.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001349/0.4009, allocations: 0 / 0.5337 GB, free: 11.28 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.008521/0.4094, allocations: 4.24 MB / 0.5378 GB, free: 8.309 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.4095, allocations: 13.91 kB / 0.5379 GB, free: 8.305 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02317/0.4326, allocations: 2.566 MB / 0.5404 GB, free: 7.078 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009153/0.4418, allocations: 2.35 MB / 0.5427 GB, free: 5.598 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/0.442, allocations: 190.2 kB / 0.5428 GB, free: 5.508 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001624/0.4436, allocations: 282.2 kB / 0.5431 GB, free: 5.398 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02234/0.466, allocations: 8.67 MB / 0.5516 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001716/0.4662, allocations: 43.69 kB / 0.5516 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005727/0.4667, allocations: 131.8 kB / 0.5517 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004571/0.4713, allocations: 1.743 MB / 0.5534 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02264/0.4939, allocations: 7.264 MB / 0.5605 GB, free: 4.07 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04669/0.5406, allocations: 31.68 MB / 0.5915 GB, free: 3.426 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009256/0.5499, allocations: 2.989 MB / 0.5944 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002388/0.5523, allocations: 1.576 MB / 0.5959 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01164/0.5639, allocations: 6.116 MB / 0.6019 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.423e-05/0.564, allocations: 55.5 kB / 0.602 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 8.106e-06/0.564, allocations: 3.984 kB / 0.602 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.06688/0.6309, allocations: 19.67 MB / 0.6212 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.631, allocations: 197.5 kB / 0.6214 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005317/0.6363, allocations: 3.558 MB / 0.6248 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003486/0.6367, allocations: 49.7 kB / 0.6249 GB, free: 1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00232/0.639, allocations: 2.946 MB / 0.6278 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009886/0.64, allocations: 0.7482 MB / 0.6285 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001764/0.6417, allocations: 1.211 MB / 0.6297 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.6419, allocations: 309.1 kB / 0.63 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003495/0.6454, allocations: 2.143 MB / 0.6321 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00653/0.6519, allocations: 5.762 MB / 0.6377 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/0.663, allocations: 8.48 MB / 0.646 GB, free: 7.809 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001055/0.6631, allocations: 40 kB / 0.646 GB, free: 7.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02166/0.6848, allocations: 9.084 MB / 0.6549 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000208/0.685, allocations: 60.97 kB / 0.6549 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002618/0.6853, allocations: 124 kB / 0.6551 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006319/0.6916, allocations: 1.734 MB / 0.6568 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005029/0.6966, allocations: 1.333 MB / 0.6581 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01645/0.7131, allocations: 9.483 MB / 0.6673 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005044/0.7181, allocations: 327.6 kB / 0.6676 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001332/0.7194, allocations: 360 kB / 0.668 GB, free: 1.16 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (714): * Single equations (assignments): 710 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,43,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004861/0.7243, allocations: 1.901 MB / 0.6698 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009491/0.7252, allocations: 313.9 kB / 0.6701 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/0.7368, allocations: 4.028 MB / 0.6741 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.688e-05/0.7369, allocations: 20 kB / 0.6741 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.052e-05/0.7369, allocations: 11.94 kB / 0.6741 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.302e-05/0.7369, allocations: 7.969 kB / 0.6741 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02101/0.758, allocations: 7.408 MB / 0.6813 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/0.758, allocations: 0 / 0.6813 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001478/0.7595, allocations: 259.6 kB / 0.6816 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00593/0.7654, allocations: 1.502 MB / 0.683 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002903/0.7657, allocations: 32 kB / 0.6831 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01572/0.7814, allocations: 8.793 MB / 0.6917 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.7814, allocations: 0 / 0.6917 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01409/0.7955, allocations: 6.579 MB / 0.6981 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009732/0.7965, allocations: 277.8 kB / 0.6984 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000386/0.7969, allocations: 28 kB / 0.6984 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/0.7983, allocations: 99.86 kB / 0.6985 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003777/0.7986, allocations: 117 kB / 0.6986 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/0.7988, allocations: 47.98 kB / 0.6986 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.259/1.058, allocations: 2.039 MB / 0.7006 GB, free: 165.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/1.058, allocations: 0.9688 kB / 0.7006 GB, free: 165.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006322/1.064, allocations: 0.9704 MB / 0.7016 GB, free: 165.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.w) * 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 (130): * Single equations (assignments): 126 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004506/1.065, allocations: 160.5 kB / 0.7017 GB, free: 165.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008232/1.073, allocations: 5.075 MB / 0.7067 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.073, allocations: 0 / 0.7067 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002012/1.075, allocations: 1.603 MB / 0.7082 GB, free: 164.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/1.077, allocations: 342.7 kB / 0.7086 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/1.091, allocations: 8.594 MB / 0.717 GB, free: 160.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00314/1.095, allocations: 2.418 MB / 0.7193 GB, free: 159.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004367/1.099, allocations: 1.771 MB / 0.7211 GB, free: 159.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006536/1.1, allocations: 211.1 kB / 0.7213 GB, free: 159.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.032e-06/1.1, allocations: 1.125 kB / 0.7213 GB, free: 159.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.06162/1.161, allocations: 33.36 MB / 0.7538 GB, free: 147 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.175913127954118]