Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 178.6 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 223.3 MB / 242.1 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008104/0.0008104, allocations: 100.1 kB / 293.3 MB, free: 10.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3131/0.3131, allocations: 44.14 MB / 388.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003461, allocations: 16 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3153, allocations: 61.88 MB / 0.5107 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.4441, allocations: 108.7 MB / 0.6169 GB, free: 2.328 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001834/0.4443, allocations: 83.94 kB / 0.617 GB, free: 2.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4678/0.9121, allocations: 76.8 MB / 0.692 GB, free: 96.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.9122, allocations: 3.781 kB / 0.692 GB, free: 96.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001536/0.9123, allocations: 76.98 kB / 0.692 GB, free: 96.95 MB / 490.7 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.01147/0.9238, allocations: 3.737 MB / 0.6957 GB, free: 95.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.9239, allocations: 8.781 kB / 0.6957 GB, free: 95.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01373/0.9376, allocations: 3.505 MB / 0.6991 GB, free: 95.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008186/0.9458, allocations: 3.274 MB / 0.7023 GB, free: 94.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002076/0.9461, allocations: 271.9 kB / 0.7026 GB, free: 94.42 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001088/0.9472, allocations: 365.8 kB / 0.7029 GB, free: 94.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01519/0.9624, allocations: 9.102 MB / 0.7118 GB, free: 91.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001658/0.9626, allocations: 72.08 kB / 0.7119 GB, free: 91.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004886/0.9631, allocations: 182.9 kB / 0.7121 GB, free: 91.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001372/0.9645, allocations: 0.8886 MB / 0.7129 GB, free: 91.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01582/0.9803, allocations: 7.252 MB / 0.72 GB, free: 90.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04019/1.021, allocations: 44.09 MB / 0.7631 GB, free: 55.49 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007788/1.028, allocations: 3.503 MB / 0.7665 GB, free: 54.06 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001989/1.03, allocations: 1.604 MB / 0.7681 GB, free: 53.37 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01061/1.041, allocations: 7.133 MB / 0.775 GB, free: 49.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.338e-05/1.041, allocations: 51.31 kB / 0.7751 GB, free: 49.31 MB / 490.7 MB Notification: Performance of pre-optimization done (n=151): time 5.711e-06/1.041, allocations: 0 / 0.7751 GB, free: 49.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=188): time 0.05559/1.097, allocations: 19.09 MB / 0.7937 GB, free: 42.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/1.097, allocations: 205.2 kB / 0.7939 GB, free: 42.35 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004717/1.102, allocations: 3.705 MB / 0.7975 GB, free: 39.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000421/1.102, allocations: 53.7 kB / 0.7976 GB, free: 39.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001505/1.104, allocations: 2.839 MB / 0.8004 GB, free: 36.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008641/1.104, allocations: 0.7133 MB / 0.801 GB, free: 36.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/1.105, allocations: 116 kB / 0.8012 GB, free: 35.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002537/1.105, allocations: 0.5608 MB / 0.8017 GB, free: 35.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002512/1.107, allocations: 1.983 MB / 0.8036 GB, free: 33.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003836/1.111, allocations: 5.543 MB / 0.8091 GB, free: 26.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007146/1.118, allocations: 8.207 MB / 0.8171 GB, free: 17.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-05/1.119, allocations: 36 kB / 0.8171 GB, free: 17.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=765) (initialization): time 0.01523/1.134, allocations: 8.571 MB / 0.8255 GB, free: 9.988 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.283e-05/1.134, allocations: 56.19 kB / 0.8255 GB, free: 9.934 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001141/1.134, allocations: 128 kB / 0.8256 GB, free: 9.809 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004762/1.139, allocations: 1.496 MB / 0.8271 GB, free: 8.746 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003838/1.143, allocations: 1.286 MB / 0.8284 GB, free: 7.613 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/1.153, allocations: 8.137 MB / 0.8363 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004729/1.158, allocations: 303.5 kB / 0.8366 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009961/1.159, allocations: 363.8 kB / 0.8369 GB, free: 15.13 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 572 * 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 (697): * Single equations (assignments): 693 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003834/1.163, allocations: 1.892 MB / 0.8388 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007426/1.163, allocations: 331.7 kB / 0.8391 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00884/1.172, allocations: 3.679 MB / 0.8427 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.431e-05/1.172, allocations: 20 kB / 0.8427 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/1.172, allocations: 8 kB / 0.8427 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.888e-05/1.172, allocations: 11.91 kB / 0.8427 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01733/1.19, allocations: 7.942 MB / 0.8505 GB, free: 1.211 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.995e-05/1.19, allocations: 0 / 0.8505 GB, free: 1.211 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/1.191, allocations: 239.7 kB / 0.8507 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004944/1.196, allocations: 1.273 MB / 0.852 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002864/1.196, allocations: 35.92 kB / 0.852 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01168/1.208, allocations: 7.409 MB / 0.8592 GB, free: 8.125 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/1.208, allocations: 2.188 kB / 0.8592 GB, free: 8.125 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01203/1.22, allocations: 6.04 MB / 0.8651 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/1.221, allocations: 376.6 kB / 0.8655 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009407/1.222, allocations: 28 kB / 0.8655 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001974/1.224, allocations: 87.84 kB / 0.8656 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000435/1.225, allocations: 121 kB / 0.8657 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/1.225, allocations: 51.97 kB / 0.8658 GB, free: 1.395 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004274/1.229, allocations: 2.301 MB / 0.868 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.4e-07/1.229, allocations: 0 / 0.868 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005466/1.235, allocations: 0.9726 MB / 0.869 GB, free: 14.14 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005106/1.235, allocations: 174.9 kB / 0.8691 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008452/1.244, allocations: 4.964 MB / 0.874 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/1.244, allocations: 0 / 0.874 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002398/1.246, allocations: 1.621 MB / 0.8756 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/1.249, allocations: 387.6 kB / 0.8759 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.257/1.506, allocations: 9.741 MB / 0.8855 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003469/1.51, allocations: 2.968 MB / 0.8883 GB, free: 127 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004672/1.514, allocations: 1.817 MB / 0.8901 GB, free: 127 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005464/1.515, allocations: 224.9 kB / 0.8903 GB, free: 127 MB / 0.5261 GB Notification: Performance of SimCode: time 8.42e-07/1.515, allocations: 0 / 0.8903 GB, free: 127 MB / 0.5261 GB Notification: Performance of Templates: time 0.07407/1.589, allocations: 35.5 MB / 0.925 GB, free: 125.7 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches