Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [: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.0008881/0.0008881, allocations: 191.1 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9735/0.9735, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0007641/0.0007641, allocations: 89.56 kB / 261.4 MB, free: 13.54 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.1515/0.1515, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.711e-06/5.831e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2117, allocations: 58.84 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.3377, allocations: 114.6 MB / 0.5773 GB, free: 280 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001635/0.3379, allocations: 75.97 kB / 0.5774 GB, free: 204 kB / 410.7 MB Notification: Performance of FrontEnd: time 0.4614/0.7993, allocations: 138.2 MB / 0.7123 GB, free: 95.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004441/0.7998, allocations: 124 kB / 0.7124 GB, free: 95.18 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.01739/0.8172, allocations: 6.541 MB / 0.7188 GB, free: 88.58 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.8172, allocations: 12.03 kB / 0.7188 GB, free: 88.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03155/0.8488, allocations: 8.936 MB / 0.7275 GB, free: 79.61 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02194/0.8707, allocations: 9.208 MB / 0.7365 GB, free: 70.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003534/0.8712, allocations: 208 kB / 0.7367 GB, free: 70.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002817/0.874, allocations: 383.8 kB / 0.7371 GB, free: 69.82 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01602/0.89, allocations: 9.67 MB / 0.7465 GB, free: 60.15 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02548/0.9156, allocations: 13.59 MB / 0.7598 GB, free: 45.38 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003756/0.916, allocations: 79.23 kB / 0.7599 GB, free: 45.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002251/0.9182, allocations: 43.92 kB / 0.7599 GB, free: 45.26 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001843/0.9201, allocations: 1.486 MB / 0.7614 GB, free: 43.78 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06856/0.9887, allocations: 63.81 MB / 0.8237 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005283/0.994, allocations: 4.289 MB / 0.8279 GB, free: 5.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004163/0.9982, allocations: 3.356 MB / 0.8312 GB, free: 2.613 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1441/1.142, allocations: 12.37 MB / 0.8432 GB, free: 161.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/1.142, allocations: 67.72 kB / 0.8433 GB, free: 161.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=245): time 4.058e-06/1.142, allocations: 0 / 0.8433 GB, free: 161.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=338): time 0.05931/1.202, allocations: 27.27 MB / 0.8699 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/1.202, allocations: 245 kB / 0.8702 GB, free: 157.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004947/1.207, allocations: 4.457 MB / 0.8745 GB, free: 157.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003075/1.207, allocations: 25.7 kB / 0.8745 GB, free: 157.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001485/1.209, allocations: 4.019 MB / 0.8785 GB, free: 154.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007547/1.209, allocations: 1.197 MB / 0.8796 GB, free: 154.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003275/1.21, allocations: 0 / 0.8796 GB, free: 154.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002972/1.21, allocations: 0.6616 MB / 0.8803 GB, free: 153.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003573/1.214, allocations: 3.522 MB / 0.8837 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004808/1.218, allocations: 8.184 MB / 0.8917 GB, free: 145 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004961/1.223, allocations: 5.344 MB / 0.8969 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-05/1.223, allocations: 45.16 kB / 0.897 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.02283/1.246, allocations: 13.62 MB / 0.9103 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.246, allocations: 8.469 kB / 0.9103 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001772/1.246, allocations: 165.1 kB / 0.9104 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01038/1.257, allocations: 3.365 MB / 0.9137 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005171/1.262, allocations: 1.823 MB / 0.9155 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01915/1.281, allocations: 16.07 MB / 0.9312 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005937/1.287, allocations: 267 kB / 0.9314 GB, free: 125.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001027/1.288, allocations: 488.4 kB / 0.9319 GB, free: 125.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 751 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (999): * Single equations (assignments): 995 * 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%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001008/1.289, allocations: 0.519 MB / 0.9324 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008175/1.29, allocations: 0.4975 MB / 0.9329 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01581/1.306, allocations: 8.482 MB / 0.9412 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.935e-05/1.306, allocations: 32 kB / 0.9412 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.682e-05/1.306, allocations: 16 kB / 0.9412 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.531e-05/1.306, allocations: 17.45 kB / 0.9412 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02912/1.335, allocations: 17.13 MB / 0.958 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/1.335, allocations: 8 kB / 0.958 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002093/1.337, allocations: 462 kB / 0.9584 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009981/1.347, allocations: 2.974 MB / 0.9613 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004652/1.348, allocations: 19.8 kB / 0.9614 GB, free: 101 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01731/1.365, allocations: 13.99 MB / 0.975 GB, free: 88.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/1.365, allocations: 8 kB / 0.975 GB, free: 88.84 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02053/1.386, allocations: 13.92 MB / 0.9886 GB, free: 75.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002329/1.388, allocations: 1.053 MB / 0.9896 GB, free: 74.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007428/1.389, allocations: 11.91 kB / 0.9897 GB, free: 74.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002249/1.391, allocations: 107.9 kB / 0.9898 GB, free: 74.76 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003666/1.391, allocations: 165.7 kB / 0.9899 GB, free: 74.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002512/1.392, allocations: 91.98 kB / 0.99 GB, free: 74.51 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.003854/1.395, allocations: 3.057 MB / 0.993 GB, free: 71.47 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006239/1.402, allocations: 1.436 MB / 0.9944 GB, free: 70.05 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 250 * 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%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006012/1.402, allocations: 193.1 kB / 0.9946 GB, free: 69.87 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009696/1.412, allocations: 8.497 MB / 1.003 GB, free: 61.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.412, allocations: 4.062 kB / 1.003 GB, free: 61.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003836/1.416, allocations: 3.28 MB / 1.006 GB, free: 58.08 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003497/1.419, allocations: 0.5675 MB / 1.007 GB, free: 57.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02291/1.442, allocations: 13.08 MB / 1.019 GB, free: 44.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006029/1.448, allocations: 5.324 MB / 1.025 GB, free: 38.97 MB / 0.4948 GB Notification: Performance of SimCode: time 1.242e-06/1.448, allocations: 3.469 kB / 1.025 GB, free: 38.97 MB / 0.4948 GB Notification: Performance of Templates: time 0.254/1.703, allocations: 70.87 MB / 1.094 GB, free: 141 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches