Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00247/0.00247, allocations: 171.2 kB / 8.149 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001244/0.001244, allocations: 91.98 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2573/0.2573, allocations: 43.5 MB / 353.2 MB, free: 2.008 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.708e-06/9.938e-06, allocations: 4 kB / 417.7 MB, free: 40.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2863, allocations: 58.84 MB / 476.5 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2015/0.4878, allocations: 114.6 MB / 0.5773 GB, free: 396 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.4882, allocations: 75.47 kB / 0.5774 GB, free: 324 kB / 410.7 MB Notification: Performance of FrontEnd: time 0.757/1.245, allocations: 138.2 MB / 0.7123 GB, free: 95.29 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006214/1.246, allocations: 133.4 kB / 0.7124 GB, free: 95.28 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.02795/1.274, allocations: 6.539 MB / 0.7188 GB, free: 88.72 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/1.274, allocations: 8.031 kB / 0.7188 GB, free: 88.71 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06174/1.336, allocations: 8.932 MB / 0.7275 GB, free: 79.76 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03296/1.369, allocations: 9.214 MB / 0.7365 GB, free: 70.55 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003133/1.369, allocations: 208 kB / 0.7367 GB, free: 70.34 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00308/1.372, allocations: 383.8 kB / 0.7371 GB, free: 69.97 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0242/1.396, allocations: 9.666 MB / 0.7465 GB, free: 60.3 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03628/1.433, allocations: 13.59 MB / 0.7598 GB, free: 45.53 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004501/1.433, allocations: 83.23 kB / 0.7599 GB, free: 45.45 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002832/1.436, allocations: 36 kB / 0.7599 GB, free: 45.41 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003178/1.439, allocations: 1.482 MB / 0.7614 GB, free: 43.94 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.114/1.553, allocations: 63.81 MB / 0.8237 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/1.564, allocations: 4.285 MB / 0.8279 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008234/1.572, allocations: 3.375 MB / 0.8312 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2146/1.787, allocations: 12.36 MB / 0.8432 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/1.787, allocations: 61.67 kB / 0.8433 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=245): time 6.181e-06/1.787, allocations: 0 / 0.8433 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=338): time 0.133/1.92, allocations: 27.28 MB / 0.8699 GB, free: 160.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.189e-05/1.92, allocations: 241.1 kB / 0.8701 GB, free: 160.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01189/1.932, allocations: 4.457 MB / 0.8745 GB, free: 159.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001071/1.933, allocations: 28.05 kB / 0.8745 GB, free: 159.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003251/1.936, allocations: 3.864 MB / 0.8783 GB, free: 157.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002148/1.938, allocations: 1.198 MB / 0.8795 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00106/1.94, allocations: 0 / 0.8795 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006235/1.94, allocations: 0.6628 MB / 0.8801 GB, free: 156.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008996/1.949, allocations: 3.528 MB / 0.8836 GB, free: 154.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01182/1.961, allocations: 8.172 MB / 0.8915 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01195/1.973, allocations: 5.35 MB / 0.8968 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001515/1.973, allocations: 50.75 kB / 0.8968 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.05085/2.024, allocations: 13.43 MB / 0.9099 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/2.024, allocations: 3.844 kB / 0.9099 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002769/2.025, allocations: 167 kB / 0.9101 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02249/2.047, allocations: 3.2 MB / 0.9132 GB, free: 141 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01247/2.06, allocations: 1.825 MB / 0.915 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0421/2.102, allocations: 16.28 MB / 0.9309 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008585/2.11, allocations: 267.8 kB / 0.9312 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002127/2.113, allocations: 491.1 kB / 0.9316 GB, free: 126.8 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.003034/2.116, allocations: 452.1 kB / 0.9321 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001544/2.117, allocations: 0.5014 MB / 0.9325 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03593/2.153, allocations: 8.48 MB / 0.9408 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001056/2.153, allocations: 32 kB / 0.9409 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.954e-05/2.153, allocations: 16 kB / 0.9409 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.11e-05/2.153, allocations: 16.78 kB / 0.9409 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06102/2.214, allocations: 17.14 MB / 0.9576 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-05/2.215, allocations: 8 kB / 0.9576 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004788/2.219, allocations: 462.3 kB / 0.9581 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02236/2.242, allocations: 2.972 MB / 0.961 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008731/2.243, allocations: 19.52 kB / 0.961 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03734/2.28, allocations: 13.99 MB / 0.9747 GB, free: 90.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.22e-05/2.28, allocations: 11.94 kB / 0.9747 GB, free: 90.52 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04351/2.324, allocations: 13.93 MB / 0.9883 GB, free: 76.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004078/2.328, allocations: 1.053 MB / 0.9893 GB, free: 75.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001924/2.33, allocations: 8 kB / 0.9893 GB, free: 75.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005763/2.335, allocations: 111.8 kB / 0.9894 GB, free: 75.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001152/2.337, allocations: 161.8 kB / 0.9896 GB, free: 75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004482/2.337, allocations: 90.89 kB / 0.9897 GB, free: 74.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.007648/2.345, allocations: 3.065 MB / 0.9926 GB, free: 71.87 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01082/2.356, allocations: 1.426 MB / 0.994 GB, free: 70.46 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.001294/2.357, allocations: 203.4 kB / 0.9942 GB, free: 70.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02544/2.382, allocations: 8.493 MB / 1.003 GB, free: 61.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/2.383, allocations: 4.062 kB / 1.003 GB, free: 61.78 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007973/2.391, allocations: 3.28 MB / 1.006 GB, free: 58.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005819/2.396, allocations: 0.5688 MB / 1.006 GB, free: 57.95 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0439/2.44, allocations: 13.84 MB / 1.02 GB, free: 43.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01485/2.455, allocations: 5.361 MB / 1.025 GB, free: 38.57 MB / 0.4948 GB Notification: Performance of SimCode: time 1.673e-06/2.455, allocations: 0 / 1.025 GB, free: 38.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.3996/2.855, allocations: 120.5 MB / 1.143 GB, free: 104.9 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches