Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.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.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000896/0.000896, allocations: 188 kB / 7.804 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.01/1.01, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008737/0.0008737, allocations: 90.75 kB / 261.4 MB, free: 13.55 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.15/0.15, allocations: 43.5 MB / 352.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.161e-06/6.181e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1959, allocations: 58.84 MB / 476.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1169/0.3129, allocations: 111.9 MB / 0.5746 GB, free: 3.012 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001852/0.3131, allocations: 71.95 kB / 0.5747 GB, free: 2.941 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.4537/0.7668, allocations: 131.8 MB / 0.7034 GB, free: 81.98 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004083/0.7673, allocations: 135.9 kB / 0.7036 GB, free: 81.85 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.01757/0.7849, allocations: 6.898 MB / 0.7103 GB, free: 75.44 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.7849, allocations: 8.031 kB / 0.7103 GB, free: 75.43 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02535/0.8103, allocations: 6.991 MB / 0.7171 GB, free: 69.09 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01953/0.8298, allocations: 9.855 MB / 0.7268 GB, free: 61.33 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002581/0.8301, allocations: 208 kB / 0.727 GB, free: 61.13 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002414/0.8326, allocations: 399.5 kB / 0.7273 GB, free: 60.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01324/0.8458, allocations: 10.06 MB / 0.7372 GB, free: 53.93 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01977/0.8656, allocations: 14.59 MB / 0.7514 GB, free: 37.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002103/0.8658, allocations: 103.1 kB / 0.7515 GB, free: 37.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007168/0.8666, allocations: 44 kB / 0.7516 GB, free: 37.76 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001789/0.8684, allocations: 1.693 MB / 0.7532 GB, free: 36.06 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0701/0.9385, allocations: 75.93 MB / 0.8274 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006489/0.945, allocations: 5.312 MB / 0.8325 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1305/1.076, allocations: 4.283 MB / 0.8367 GB, free: 183.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0165/1.092, allocations: 14.27 MB / 0.8507 GB, free: 178.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/1.092, allocations: 71 kB / 0.8507 GB, free: 178.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=281): time 5.26e-06/1.092, allocations: 0 / 0.8507 GB, free: 178.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=363): time 0.08551/1.178, allocations: 38.51 MB / 0.8883 GB, free: 170.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/1.178, allocations: 271.4 kB / 0.8886 GB, free: 170.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006257/1.184, allocations: 4.761 MB / 0.8932 GB, free: 168.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007002/1.185, allocations: 28.86 kB / 0.8933 GB, free: 168.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001838/1.187, allocations: 4.311 MB / 0.8975 GB, free: 165.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001262/1.188, allocations: 1.301 MB / 0.8987 GB, free: 164.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003749/1.188, allocations: 0 / 0.8987 GB, free: 164.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003907/1.189, allocations: 0.7037 MB / 0.8994 GB, free: 163.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004776/1.193, allocations: 3.662 MB / 0.903 GB, free: 162.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005743/1.199, allocations: 9.001 MB / 0.9118 GB, free: 154.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007286/1.207, allocations: 5.995 MB / 0.9177 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-05/1.207, allocations: 53.22 kB / 0.9177 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1234) (initialization): time 0.02763/1.234, allocations: 15.14 MB / 0.9325 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/1.234, allocations: 4 kB / 0.9325 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001605/1.234, allocations: 195.9 kB / 0.9327 GB, free: 141.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01219/1.247, allocations: 3.858 MB / 0.9364 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007071/1.254, allocations: 2.069 MB / 0.9385 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02654/1.28, allocations: 19.92 MB / 0.9579 GB, free: 120 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007465/1.288, allocations: 336.5 kB / 0.9582 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00154/1.289, allocations: 0.5423 MB / 0.9588 GB, free: 119.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 864 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1114): * Single equations (assignments): 1109 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 44,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001319/1.291, allocations: 0.584 MB / 0.9593 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/1.292, allocations: 0.5468 MB / 0.9599 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0195/1.311, allocations: 9.473 MB / 0.9691 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.938e-05/1.311, allocations: 32 kB / 0.9692 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.792e-05/1.311, allocations: 19.91 kB / 0.9692 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.53e-05/1.312, allocations: 16.22 kB / 0.9692 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.033/1.345, allocations: 17.94 MB / 0.9867 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-05/1.345, allocations: 0 / 0.9867 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002563/1.347, allocations: 471.3 kB / 0.9872 GB, free: 92.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01143/1.359, allocations: 3.489 MB / 0.9906 GB, free: 89.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000452/1.359, allocations: 7.984 kB / 0.9906 GB, free: 89.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0238/1.383, allocations: 18.42 MB / 1.009 GB, free: 70.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.383, allocations: 4 kB / 1.009 GB, free: 70.76 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02259/1.406, allocations: 14.22 MB / 1.022 GB, free: 56.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002878/1.408, allocations: 1.083 MB / 1.024 GB, free: 55.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/1.41, allocations: 4 kB / 1.024 GB, free: 55.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002622/1.412, allocations: 127.8 kB / 1.024 GB, free: 55.24 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003987/1.413, allocations: 166.1 kB / 1.024 GB, free: 55.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002782/1.413, allocations: 99.98 kB / 1.024 GB, free: 54.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.004345/1.417, allocations: 3.216 MB / 1.027 GB, free: 51.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007108/1.424, allocations: 1.569 MB / 1.029 GB, free: 50.23 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (259): * Single equations (assignments): 254 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 40,(2,100.0%) 43} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005791/1.425, allocations: 191 kB / 1.029 GB, free: 50.06 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01063/1.436, allocations: 9.163 MB / 1.038 GB, free: 40.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.436, allocations: 1.125 kB / 1.038 GB, free: 40.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003867/1.439, allocations: 3.568 MB / 1.041 GB, free: 37.31 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002837/1.442, allocations: 0.5705 MB / 1.042 GB, free: 36.76 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1567/1.599, allocations: 13.35 MB / 1.055 GB, free: 163 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005448/1.605, allocations: 5.374 MB / 1.06 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of SimCode: time 7.31e-07/1.605, allocations: 0 / 1.06 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.1101/1.715, allocations: 76.62 MB / 1.135 GB, free: 145.5 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses2/ForceWithTwoMasses2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches