Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.00107, allocations: 117.9 kB / 18.46 MB, free: 4.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001172/0.001172, allocations: 206.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2046/0.2046, allocations: 46.09 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 75.88 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2931, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01147/0.3046, allocations: 10.36 MB / 0.5418 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007446/0.3121, allocations: 3.882 MB / 0.5456 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.3137, allocations: 61.31 kB / 0.5456 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003939/0.3177, allocations: 2.068 MB / 0.5476 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00443/0.3221, allocations: 1.67 MB / 0.5493 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00174/0.3239, allocations: 0.6979 MB / 0.55 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005854/0.3297, allocations: 4.004 MB / 0.5539 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0036/0.3334, allocations: 2.594 MB / 0.5564 GB, free: 8.266 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002128/0.3355, allocations: 1.3 MB / 0.5577 GB, free: 6.961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003312/0.3388, allocations: 1.838 MB / 0.5595 GB, free: 5.117 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008673/0.3397, allocations: 264 kB / 0.5597 GB, free: 4.859 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002548/0.3423, allocations: 1.19 MB / 0.5609 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00191/0.3442, allocations: 1.679 MB / 0.5625 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002864/0.3471, allocations: 1.875 MB / 0.5644 GB, free: 100 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00734/0.3544, allocations: 6.161 MB / 0.5704 GB, free: 9.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3544, allocations: 3.938 kB / 0.5704 GB, free: 9.914 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3544, allocations: 0 / 0.5704 GB, free: 9.914 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001905/0.3546, allocations: 0 / 0.5704 GB, free: 9.914 MB / 430.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.01007/0.3647, allocations: 4.195 MB / 0.5745 GB, free: 5.652 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3648, allocations: 12.03 kB / 0.5745 GB, free: 5.641 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.016/0.3808, allocations: 2.433 MB / 0.5769 GB, free: 3.199 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005744/0.3866, allocations: 2.402 MB / 0.5792 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.3868, allocations: 193.3 kB / 0.5794 GB, free: 0.543 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/0.3878, allocations: 279.8 kB / 0.5797 GB, free: 276 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01623/0.4041, allocations: 8.599 MB / 0.588 GB, free: 7.039 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001625/0.4043, allocations: 43.59 kB / 0.5881 GB, free: 6.996 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00078/0.4051, allocations: 123.9 kB / 0.5882 GB, free: 6.875 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003016/0.4081, allocations: 1.739 MB / 0.5899 GB, free: 5.133 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01481/0.423, allocations: 7.3 MB / 0.597 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04197/0.465, allocations: 34.01 MB / 0.6303 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008925/0.4739, allocations: 3.486 MB / 0.6337 GB, free: 7.086 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002496/0.4765, allocations: 1.729 MB / 0.6353 GB, free: 5.348 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01155/0.488, allocations: 7.511 MB / 0.6427 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.4881, allocations: 43.56 kB / 0.6427 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 5.901e-06/0.4881, allocations: 3.984 kB / 0.6427 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.06763/0.5557, allocations: 19.62 MB / 0.6619 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.5559, allocations: 201.2 kB / 0.6621 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005942/0.5618, allocations: 3.73 MB / 0.6657 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002015/0.5621, allocations: 57.7 kB / 0.6658 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002132/0.5642, allocations: 2.802 MB / 0.6685 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008901/0.5651, allocations: 0.7096 MB / 0.6692 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001898/0.567, allocations: 1.206 MB / 0.6704 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.5671, allocations: 305.4 kB / 0.6707 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003331/0.5705, allocations: 2.202 MB / 0.6728 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006277/0.5768, allocations: 5.782 MB / 0.6785 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009703/0.5865, allocations: 8.603 MB / 0.6869 GB, free: 12.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.902e-05/0.5866, allocations: 36 kB / 0.6869 GB, free: 12.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01751/0.6041, allocations: 9.195 MB / 0.6959 GB, free: 3.254 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.691e-05/0.6042, allocations: 60 kB / 0.6959 GB, free: 3.195 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001471/0.6044, allocations: 124 kB / 0.6961 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005592/0.61, allocations: 1.661 MB / 0.6977 GB, free: 1.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004075/0.6141, allocations: 1.326 MB / 0.699 GB, free: 84 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01416/0.6282, allocations: 9.925 MB / 0.7087 GB, free: 6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003794/0.6321, allocations: 319.4 kB / 0.709 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006401/0.6327, allocations: 364 kB / 0.7093 GB, free: 5.332 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.002887/0.6356, allocations: 1.892 MB / 0.7112 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006013/0.6362, allocations: 323.8 kB / 0.7115 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009485/0.6457, allocations: 4.149 MB / 0.7155 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.44e-05/0.6457, allocations: 11.91 kB / 0.7155 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.6458, allocations: 4 kB / 0.7155 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000623/0.6464, allocations: 372.7 kB / 0.7159 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004487/0.6468, allocations: 32 kB / 0.7159 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.6482, allocations: 95.88 kB / 0.716 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003118/0.6485, allocations: 133.1 kB / 0.7161 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00925/0.6578, allocations: 4.499 MB / 0.7205 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006861/0.6647, allocations: 5.359 MB / 0.7258 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001828/0.6665, allocations: 1.416 MB / 0.7272 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003759/0.6703, allocations: 2.316 MB / 0.7294 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of Backend: time 4.21e-07/0.6703, allocations: 4 kB / 0.7294 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2381/0.9084, allocations: 4.41 MB / 0.7337 GB, free: 183.4 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01397/0.9224, allocations: 8.418 MB / 0.7419 GB, free: 179.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.06773/0.9902, allocations: 46.99 MB / 0.7878 GB, free: 138.2 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches