Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001467/0.001467, allocations: 175.8 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000768/0.000768, allocations: 86.41 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3167/0.3167, allocations: 43.56 MB / 363.1 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003696, allocations: 12 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1235, allocations: 58.84 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3781/0.5016, allocations: 106.9 MB / 0.5844 GB, free: 11.04 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/0.5019, allocations: 75.97 kB / 0.5844 GB, free: 10.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.203/0.705, allocations: 75.76 MB / 0.6584 GB, free: 14.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.7051, allocations: 0 / 0.6584 GB, free: 14.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002159/0.7053, allocations: 72 kB / 0.6585 GB, free: 14.7 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.01206/0.7173, allocations: 3.757 MB / 0.6621 GB, free: 10.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.7174, allocations: 12.03 kB / 0.6622 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01494/0.7324, allocations: 3.502 MB / 0.6656 GB, free: 7.348 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009009/0.7414, allocations: 3.427 MB / 0.6689 GB, free: 3.859 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003082/0.7418, allocations: 271.5 kB / 0.6692 GB, free: 3.594 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001818/0.7436, allocations: 372.1 kB / 0.6695 GB, free: 3.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2909/1.035, allocations: 9.105 MB / 0.6784 GB, free: 92.28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002026/1.035, allocations: 63.05 kB / 0.6785 GB, free: 92.28 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000669/1.035, allocations: 181.6 kB / 0.6787 GB, free: 92.28 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001407/1.037, allocations: 0.8874 MB / 0.6795 GB, free: 92.28 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.015/1.052, allocations: 7.252 MB / 0.6866 GB, free: 92.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04271/1.095, allocations: 44.1 MB / 0.7297 GB, free: 63.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008255/1.103, allocations: 3.509 MB / 0.7331 GB, free: 61.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002083/1.105, allocations: 1.601 MB / 0.7347 GB, free: 60.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01236/1.117, allocations: 7.145 MB / 0.7417 GB, free: 57.08 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/1.118, allocations: 46.81 kB / 0.7417 GB, free: 57.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=151): time 6.372e-06/1.118, allocations: 0 / 0.7417 GB, free: 57.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=188): time 0.05789/1.175, allocations: 19.15 MB / 0.7604 GB, free: 50.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/1.176, allocations: 212.8 kB / 0.7606 GB, free: 50.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005123/1.181, allocations: 3.722 MB / 0.7642 GB, free: 49.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003703/1.181, allocations: 57.02 kB / 0.7643 GB, free: 49.44 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001924/1.183, allocations: 2.83 MB / 0.767 GB, free: 47.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007322/1.184, allocations: 0.7184 MB / 0.7677 GB, free: 46.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/1.184, allocations: 114.8 kB / 0.7679 GB, free: 46.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002716/1.184, allocations: 0.5536 MB / 0.7684 GB, free: 46.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00256/1.187, allocations: 1.983 MB / 0.7703 GB, free: 45.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00392/1.191, allocations: 5.546 MB / 0.7758 GB, free: 40.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007482/1.198, allocations: 8.208 MB / 0.7838 GB, free: 33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-05/1.198, allocations: 37.34 kB / 0.7838 GB, free: 33 MB / 490.7 MB Notification: Performance of matching and sorting (n=765) (initialization): time 0.01585/1.214, allocations: 8.568 MB / 0.7922 GB, free: 29.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.616e-05/1.214, allocations: 55.88 kB / 0.7922 GB, free: 29.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001346/1.215, allocations: 129.4 kB / 0.7923 GB, free: 29.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004799/1.219, allocations: 1.483 MB / 0.7938 GB, free: 29.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003873/1.223, allocations: 1.293 MB / 0.7951 GB, free: 29.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/1.234, allocations: 8.142 MB / 0.803 GB, free: 25.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004833/1.239, allocations: 303.9 kB / 0.8033 GB, free: 25.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008015/1.24, allocations: 355.3 kB / 0.8036 GB, free: 25.35 MB / 490.7 MB 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.003492/1.243, allocations: 1.899 MB / 0.8055 GB, free: 24.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006523/1.244, allocations: 332.4 kB / 0.8058 GB, free: 24.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007726/1.252, allocations: 3.68 MB / 0.8094 GB, free: 21.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.643e-05/1.252, allocations: 20 kB / 0.8094 GB, free: 21.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/1.252, allocations: 11.94 kB / 0.8094 GB, free: 21.76 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/1.252, allocations: 10.19 kB / 0.8094 GB, free: 21.76 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/1.267, allocations: 7.952 MB / 0.8172 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-05/1.267, allocations: 0 / 0.8172 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/1.268, allocations: 236.8 kB / 0.8174 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004488/1.273, allocations: 1.281 MB / 0.8187 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002153/1.273, allocations: 38.44 kB / 0.8187 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009787/1.283, allocations: 7.406 MB / 0.826 GB, free: 7.898 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.283, allocations: 3.938 kB / 0.826 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/1.293, allocations: 6.031 MB / 0.8318 GB, free: 2.809 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001753/1.295, allocations: 0.6101 MB / 0.8324 GB, free: 2.227 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000385/1.295, allocations: 39.67 kB / 0.8325 GB, free: 2.191 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/1.296, allocations: 82.81 kB / 0.8326 GB, free: 2.137 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003446/1.297, allocations: 110.3 kB / 0.8327 GB, free: 2.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/1.297, allocations: 51.42 kB / 0.8327 GB, free: 2.023 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003371/1.3, allocations: 2.308 MB / 0.835 GB, free: 140 kB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.3, allocations: 0 / 0.835 GB, free: 140 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.01031/1.31, allocations: 1.362 MB / 0.8363 GB, free: 0 / 490.7 MB 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.0006196/1.311, allocations: 181.8 kB / 0.8365 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008713/1.32, allocations: 4.958 MB / 0.8413 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.32, allocations: 0 / 0.8413 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002497/1.322, allocations: 1.623 MB / 0.8429 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/1.325, allocations: 398.2 kB / 0.8433 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01753/1.343, allocations: 9.773 MB / 0.8528 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003819/1.347, allocations: 2.962 MB / 0.8557 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004947/1.352, allocations: 1.827 MB / 0.8575 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006566/1.353, allocations: 227.4 kB / 0.8577 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of SimCode: time 1.142e-06/1.353, allocations: 0 / 0.8577 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of Templates: time 0.3128/1.665, allocations: 35.49 MB / 0.8924 GB, free: 112.2 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches