Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.0009492/0.0009492, allocations: 180.7 kB / 17.41 MB, free: 4.289 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.343/1.343, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0007276/0.0007276, allocations: 85.38 kB / 271.9 MB, free: 8.258 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.3012/0.3012, allocations: 43.57 MB / 363.8 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003972, allocations: 16 kB / 432.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.114, allocations: 58.85 MB / 491.4 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3543/0.4683, allocations: 106.9 MB / 0.5843 GB, free: 11.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.4686, allocations: 75.95 kB / 0.5844 GB, free: 11.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2014/0.67, allocations: 75.75 MB / 0.6584 GB, free: 15.19 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.6701, allocations: 0 / 0.6584 GB, free: 15.19 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002713/0.6704, allocations: 72 kB / 0.6584 GB, free: 15.12 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.01269/0.6831, allocations: 3.761 MB / 0.6621 GB, free: 11.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.6831, allocations: 12.03 kB / 0.6621 GB, free: 11.28 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01535/0.6985, allocations: 3.498 MB / 0.6655 GB, free: 7.773 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008962/0.7075, allocations: 3.43 MB / 0.6689 GB, free: 4.281 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002998/0.7078, allocations: 275.5 kB / 0.6692 GB, free: 4.012 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001874/0.7097, allocations: 368.1 kB / 0.6695 GB, free: 3.652 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2598/0.9695, allocations: 9.112 MB / 0.6784 GB, free: 92.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002459/0.9698, allocations: 60.7 kB / 0.6785 GB, free: 92.99 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009102/0.9708, allocations: 179.7 kB / 0.6786 GB, free: 92.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00147/0.9722, allocations: 0.8866 MB / 0.6795 GB, free: 92.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01495/0.9872, allocations: 7.256 MB / 0.6866 GB, free: 92.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04391/1.031, allocations: 44.1 MB / 0.7297 GB, free: 63.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008879/1.04, allocations: 3.505 MB / 0.7331 GB, free: 62.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002527/1.043, allocations: 1.613 MB / 0.7347 GB, free: 61.76 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01603/1.059, allocations: 7.144 MB / 0.7416 GB, free: 57.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.609e-05/1.059, allocations: 50.08 kB / 0.7417 GB, free: 57.83 MB / 490.7 MB Notification: Performance of pre-optimization done (n=151): time 8.165e-06/1.059, allocations: 0 / 0.7417 GB, free: 57.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=188): time 0.06777/1.127, allocations: 19.15 MB / 0.7604 GB, free: 51.78 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.175e-05/1.127, allocations: 201.3 kB / 0.7606 GB, free: 51.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006969/1.134, allocations: 3.726 MB / 0.7642 GB, free: 50.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004382/1.134, allocations: 53.48 kB / 0.7643 GB, free: 50.24 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001918/1.136, allocations: 2.837 MB / 0.767 GB, free: 48.08 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001031/1.137, allocations: 0.7151 MB / 0.7677 GB, free: 47.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006299/1.138, allocations: 121.1 kB / 0.7678 GB, free: 47.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004511/1.138, allocations: 0.549 MB / 0.7684 GB, free: 47.06 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003289/1.142, allocations: 1.979 MB / 0.7703 GB, free: 46.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005051/1.147, allocations: 5.547 MB / 0.7757 GB, free: 40.83 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008737/1.156, allocations: 8.217 MB / 0.7838 GB, free: 33.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001634/1.156, allocations: 38.69 kB / 0.7838 GB, free: 33.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=765) (initialization): time 0.01858/1.174, allocations: 8.561 MB / 0.7922 GB, free: 30.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001488/1.175, allocations: 61.09 kB / 0.7922 GB, free: 30.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000194/1.175, allocations: 128.1 kB / 0.7923 GB, free: 30.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005372/1.18, allocations: 1.488 MB / 0.7938 GB, free: 30.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004406/1.185, allocations: 1.289 MB / 0.795 GB, free: 30.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/1.196, allocations: 8.132 MB / 0.803 GB, free: 26.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005596/1.202, allocations: 314.5 kB / 0.8033 GB, free: 26.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001557/1.203, allocations: 356.5 kB / 0.8036 GB, free: 26.15 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.005248/1.209, allocations: 1.888 MB / 0.8055 GB, free: 25.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007846/1.21, allocations: 337.8 kB / 0.8058 GB, free: 25.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009205/1.219, allocations: 3.668 MB / 0.8094 GB, free: 23.03 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.446e-05/1.219, allocations: 23.42 kB / 0.8094 GB, free: 23.01 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.456e-05/1.219, allocations: 11.94 kB / 0.8094 GB, free: 23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.46e-05/1.219, allocations: 11.2 kB / 0.8094 GB, free: 23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01826/1.237, allocations: 7.957 MB / 0.8172 GB, free: 16.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.513e-05/1.237, allocations: 0 / 0.8172 GB, free: 16.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/1.239, allocations: 239 kB / 0.8174 GB, free: 16.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00482/1.243, allocations: 1.279 MB / 0.8187 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003454/1.244, allocations: 31.75 kB / 0.8187 GB, free: 15.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01062/1.254, allocations: 7.413 MB / 0.8259 GB, free: 9.129 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/1.254, allocations: 0 / 0.8259 GB, free: 9.129 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01126/1.266, allocations: 6.037 MB / 0.8318 GB, free: 4.039 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001842/1.268, allocations: 0.6166 MB / 0.8324 GB, free: 3.449 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009285/1.269, allocations: 31.28 kB / 0.8325 GB, free: 3.422 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001933/1.271, allocations: 83.45 kB / 0.8325 GB, free: 3.367 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000416/1.271, allocations: 113.6 kB / 0.8326 GB, free: 3.297 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/1.271, allocations: 51.16 kB / 0.8327 GB, free: 3.254 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004618/1.276, allocations: 2.315 MB / 0.835 GB, free: 1.363 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/1.276, allocations: 0 / 0.835 GB, free: 1.363 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006447/1.282, allocations: 0.9773 MB / 0.8359 GB, free: 404 kB / 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.0007556/1.283, allocations: 174.5 kB / 0.8361 GB, free: 240 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01243/1.295, allocations: 5.213 MB / 0.8412 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/1.296, allocations: 4 kB / 0.8412 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002746/1.298, allocations: 1.63 MB / 0.8428 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003647/1.302, allocations: 386.3 kB / 0.8431 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01977/1.322, allocations: 10.19 MB / 0.8531 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005246/1.327, allocations: 2.974 MB / 0.856 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/1.328, allocations: 267.4 kB / 0.8562 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of SimCode: time 1.292e-06/1.328, allocations: 3.938 kB / 0.8563 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.3847/1.713, allocations: 68.72 MB / 0.9234 GB, free: 99.61 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches