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.001407/0.001407, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001657/0.001657, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.218/0.218, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 75.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3193, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01266/0.332, allocations: 10.37 MB / 0.5418 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008534/0.3406, allocations: 3.873 MB / 0.5456 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/0.3423, allocations: 61.91 kB / 0.5456 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004038/0.3464, allocations: 2.06 MB / 0.5476 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004507/0.3509, allocations: 1.722 MB / 0.5493 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.3527, allocations: 0.694 MB / 0.55 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006083/0.3588, allocations: 4 MB / 0.5539 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003812/0.3627, allocations: 2.597 MB / 0.5564 GB, free: 8.258 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002429/0.3651, allocations: 1.296 MB / 0.5577 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002937/0.3681, allocations: 1.846 MB / 0.5595 GB, free: 5.105 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009333/0.3691, allocations: 264 kB / 0.5598 GB, free: 4.848 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.3718, allocations: 1.182 MB / 0.5609 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002142/0.374, allocations: 1.679 MB / 0.5626 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003196/0.3772, allocations: 1.879 MB / 0.5644 GB, free: 92 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007973/0.3852, allocations: 6.157 MB / 0.5704 GB, free: 9.914 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3852, allocations: 3.938 kB / 0.5704 GB, free: 9.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3852, allocations: 0 / 0.5704 GB, free: 9.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001865/0.3854, allocations: 0 / 0.5704 GB, free: 9.91 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.01073/0.3961, allocations: 4.198 MB / 0.5745 GB, free: 5.645 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.3962, allocations: 8.031 kB / 0.5745 GB, free: 5.637 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01732/0.4135, allocations: 2.437 MB / 0.5769 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00639/0.42, allocations: 2.406 MB / 0.5792 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/0.4202, allocations: 193.3 kB / 0.5794 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001124/0.4213, allocations: 279.8 kB / 0.5797 GB, free: 264 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01636/0.4377, allocations: 8.587 MB / 0.5881 GB, free: 7.039 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001739/0.4379, allocations: 51.64 kB / 0.5881 GB, free: 6.988 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000929/0.4389, allocations: 123.9 kB / 0.5883 GB, free: 6.867 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003123/0.442, allocations: 1.743 MB / 0.59 GB, free: 5.121 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01574/0.4577, allocations: 7.292 MB / 0.5971 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0541/0.5119, allocations: 34.01 MB / 0.6303 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01664/0.5286, allocations: 3.498 MB / 0.6337 GB, free: 7.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0044/0.5331, allocations: 1.717 MB / 0.6354 GB, free: 5.344 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02102/0.5541, allocations: 7.511 MB / 0.6427 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.509e-05/0.5542, allocations: 51.56 kB / 0.6428 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 1.083e-05/0.5543, allocations: 0 / 0.6428 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.08565/0.6399, allocations: 19.62 MB / 0.6619 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/0.6401, allocations: 197.2 kB / 0.6621 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007853/0.648, allocations: 3.73 MB / 0.6658 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000461/0.6485, allocations: 53.7 kB / 0.6658 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002955/0.6515, allocations: 2.799 MB / 0.6685 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001344/0.6528, allocations: 0.7135 MB / 0.6692 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002363/0.6552, allocations: 1.202 MB / 0.6704 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.6554, allocations: 309.1 kB / 0.6707 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004213/0.6596, allocations: 2.206 MB / 0.6729 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006247/0.6659, allocations: 5.778 MB / 0.6785 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01076/0.6767, allocations: 8.595 MB / 0.6869 GB, free: 12.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.151e-05/0.6768, allocations: 36 kB / 0.6869 GB, free: 12.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01886/0.6957, allocations: 9.2 MB / 0.6959 GB, free: 3.254 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.6959, allocations: 60 kB / 0.696 GB, free: 3.195 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000203/0.6961, allocations: 124 kB / 0.6961 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006039/0.7021, allocations: 1.657 MB / 0.6977 GB, free: 1.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004555/0.7067, allocations: 1.326 MB / 0.699 GB, free: 88 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01542/0.7222, allocations: 9.929 MB / 0.7087 GB, free: 6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004826/0.727, allocations: 327.5 kB / 0.709 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001112/0.7282, allocations: 360 kB / 0.7094 GB, free: 5.328 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.004036/0.7322, allocations: 1.888 MB / 0.7112 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009684/0.7332, allocations: 327.8 kB / 0.7115 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01029/0.7435, allocations: 4.149 MB / 0.7156 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.92e-05/0.7436, allocations: 11.91 kB / 0.7156 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.7436, allocations: 4.469 kB / 0.7156 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.7447, allocations: 372.7 kB / 0.7159 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008365/0.7456, allocations: 28 kB / 0.716 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/0.7473, allocations: 95.88 kB / 0.7161 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003733/0.7477, allocations: 137.1 kB / 0.7162 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009783/0.7575, allocations: 4.506 MB / 0.7206 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00718/0.7647, allocations: 5.359 MB / 0.7258 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001898/0.7666, allocations: 1.416 MB / 0.7272 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004358/0.771, allocations: 2.315 MB / 0.7295 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of Backend: time 8.72e-07/0.771, allocations: 0 / 0.7295 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2442/1.015, allocations: 4.405 MB / 0.7338 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01272/1.028, allocations: 8.43 MB / 0.742 GB, free: 179.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.0623/1.09, allocations: 46.72 MB / 0.7876 GB, free: 138.4 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