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.001222/0.001222, allocations: 118.8 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246.9 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.2188/0.2188, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002525/0.002525, allocations: 75.88 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4256, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01261/0.4383, allocations: 10.35 MB / 0.5411 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009384/0.4477, allocations: 3.877 MB / 0.5449 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002503/0.4503, allocations: 60.75 kB / 0.5449 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004497/0.4548, allocations: 2.065 MB / 0.547 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006331/0.4612, allocations: 1.712 MB / 0.5486 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002254/0.4635, allocations: 0.6979 MB / 0.5493 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007305/0.4708, allocations: 4.004 MB / 0.5532 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00485/0.4757, allocations: 2.597 MB / 0.5558 GB, free: 8.238 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002983/0.4787, allocations: 1.304 MB / 0.557 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003533/0.4822, allocations: 1.842 MB / 0.5588 GB, free: 5.082 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001379/0.4836, allocations: 264 kB / 0.5591 GB, free: 4.824 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003961/0.4876, allocations: 1.182 MB / 0.5602 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002597/0.4902, allocations: 1.679 MB / 0.5619 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003907/0.4941, allocations: 1.879 MB / 0.5637 GB, free: 68 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009731/0.5039, allocations: 6.153 MB / 0.5697 GB, free: 9.895 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.5039, allocations: 3.938 kB / 0.5697 GB, free: 9.891 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.07e-06/0.5039, allocations: 3.938 kB / 0.5697 GB, free: 9.887 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002722/0.5042, allocations: 3.938 kB / 0.5697 GB, free: 9.883 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.01142/0.5156, allocations: 4.202 MB / 0.5738 GB, free: 5.613 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.5157, allocations: 12.03 kB / 0.5739 GB, free: 5.602 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01575/0.5315, allocations: 2.433 MB / 0.5762 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006185/0.5377, allocations: 2.402 MB / 0.5786 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.5379, allocations: 193.3 kB / 0.5788 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007574/0.5386, allocations: 279.8 kB / 0.579 GB, free: 236 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/0.5546, allocations: 8.591 MB / 0.5874 GB, free: 7.008 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00013/0.5548, allocations: 43.58 kB / 0.5875 GB, free: 6.965 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003863/0.5552, allocations: 127.9 kB / 0.5876 GB, free: 6.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003012/0.5582, allocations: 1.735 MB / 0.5893 GB, free: 5.102 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01696/0.5752, allocations: 7.296 MB / 0.5964 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05128/0.6265, allocations: 34.01 MB / 0.6296 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/0.6374, allocations: 3.498 MB / 0.633 GB, free: 7.047 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003025/0.6404, allocations: 1.713 MB / 0.6347 GB, free: 5.324 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01482/0.6553, allocations: 7.515 MB / 0.642 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.869e-05/0.6554, allocations: 55.5 kB / 0.6421 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 5.801e-06/0.6554, allocations: 0 / 0.6421 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.06902/0.7245, allocations: 19.61 MB / 0.6612 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001632/0.7247, allocations: 205.2 kB / 0.6614 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008367/0.7331, allocations: 3.734 MB / 0.6651 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005553/0.7337, allocations: 57.69 kB / 0.6651 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002847/0.7365, allocations: 2.795 MB / 0.6679 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001334/0.7379, allocations: 0.7174 MB / 0.6686 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001954/0.7399, allocations: 1.202 MB / 0.6697 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.74, allocations: 301.1 kB / 0.67 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00356/0.7436, allocations: 2.21 MB / 0.6722 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006869/0.7505, allocations: 5.774 MB / 0.6778 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01162/0.7622, allocations: 8.606 MB / 0.6862 GB, free: 12.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001145/0.7623, allocations: 36 kB / 0.6863 GB, free: 12.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01983/0.7821, allocations: 9.19 MB / 0.6952 GB, free: 3.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.94e-05/0.7823, allocations: 56 kB / 0.6953 GB, free: 3.176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/0.7824, allocations: 132 kB / 0.6954 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00555/0.788, allocations: 1.661 MB / 0.697 GB, free: 1.383 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004452/0.7924, allocations: 1.326 MB / 0.6983 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01445/0.8069, allocations: 9.925 MB / 0.708 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004795/0.8118, allocations: 319.4 kB / 0.7083 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009989/0.8128, allocations: 360 kB / 0.7087 GB, free: 5.312 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.00377/0.8166, allocations: 1.896 MB / 0.7105 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007391/0.8173, allocations: 331.8 kB / 0.7108 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009119/0.8264, allocations: 4.149 MB / 0.7149 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.02e-05/0.8265, allocations: 20 kB / 0.7149 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/0.8265, allocations: 8 kB / 0.7149 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-05/0.8266, allocations: 7.969 kB / 0.7149 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01681/0.8434, allocations: 8.518 MB / 0.7233 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.171e-05/0.8434, allocations: 0 / 0.7233 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/0.8448, allocations: 251.6 kB / 0.7235 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005047/0.8498, allocations: 1.432 MB / 0.7249 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000272/0.8501, allocations: 35.98 kB / 0.7249 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3403/1.19, allocations: 9.207 MB / 0.7339 GB, free: 176 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/1.191, allocations: 1.281 kB / 0.7339 GB, free: 176 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0123/1.203, allocations: 6.738 MB / 0.7405 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/1.204, allocations: 375.7 kB / 0.7409 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004093/1.204, allocations: 30.62 kB / 0.7409 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/1.206, allocations: 91.8 kB / 0.741 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003748/1.206, allocations: 117.9 kB / 0.7411 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/1.206, allocations: 52.94 kB / 0.7411 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002951/1.209, allocations: 2.314 MB / 0.7434 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.209, allocations: 2.203 kB / 0.7434 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004459/1.214, allocations: 0.9831 MB / 0.7444 GB, free: 172.6 MB / 0.5762 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.0004184/1.214, allocations: 153.9 kB / 0.7445 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007913/1.222, allocations: 5.44 MB / 0.7498 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/1.222, allocations: 0 / 0.7498 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00218/1.224, allocations: 1.797 MB / 0.7516 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/1.226, allocations: 402.2 kB / 0.752 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/1.238, allocations: 8.531 MB / 0.7603 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002509/1.241, allocations: 2.968 MB / 0.7632 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004258/1.245, allocations: 1.811 MB / 0.765 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006486/1.246, allocations: 219.4 kB / 0.7652 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of SimCode: time 2.224e-06/1.246, allocations: 4 kB / 0.7652 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.06094/1.307, allocations: 36.06 MB / 0.8004 GB, free: 122.6 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches