Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [: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.001599/0.001599, allocations: 170.2 kB / 8.147 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.672/1.672, 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.001265/0.001265, allocations: 87.52 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.2876/0.2876, allocations: 43.49 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.694e-06/7.714e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2886, allocations: 58.84 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2056/0.4943, allocations: 115.4 MB / 0.5781 GB, free: 15.61 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.4947, allocations: 79.25 kB / 0.5781 GB, free: 15.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.8301/1.325, allocations: 149.8 MB / 0.7244 GB, free: 83.21 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003827/1.325, allocations: 135.9 kB / 0.7246 GB, free: 83.08 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: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.02572/1.351, allocations: 6.464 MB / 0.7309 GB, free: 76.55 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/1.351, allocations: 8.031 kB / 0.7309 GB, free: 76.55 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04572/1.397, allocations: 5.805 MB / 0.7366 GB, free: 70.72 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03074/1.428, allocations: 8.461 MB / 0.7448 GB, free: 62.27 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004543/1.428, allocations: 232 kB / 0.745 GB, free: 62.04 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004102/1.432, allocations: 419.8 kB / 0.7454 GB, free: 61.63 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03001/1.462, allocations: 12.06 MB / 0.7572 GB, free: 49.57 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04146/1.504, allocations: 16.24 MB / 0.7731 GB, free: 31.99 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004107/1.504, allocations: 79.25 kB / 0.7732 GB, free: 31.91 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003645/1.508, allocations: 47.94 kB / 0.7732 GB, free: 31.87 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003777/1.512, allocations: 1.842 MB / 0.775 GB, free: 30.03 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3292/1.841, allocations: 72.2 MB / 0.8455 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008701/1.85, allocations: 3.926 MB / 0.8493 GB, free: 122 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006705/1.856, allocations: 2.943 MB / 0.8522 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04176/1.898, allocations: 15.48 MB / 0.8673 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.281e-05/1.898, allocations: 68.66 kB / 0.8674 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=292): time 7.394e-06/1.898, allocations: 0 / 0.8674 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=352): time 0.0813/1.98, allocations: 17.88 MB / 0.8849 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/1.98, allocations: 189.5 kB / 0.885 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01017/1.99, allocations: 4.69 MB / 0.8896 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000769/1.991, allocations: 25.7 kB / 0.8897 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003698/1.995, allocations: 4.65 MB / 0.8942 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002076/1.997, allocations: 1.268 MB / 0.8954 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001157/1.998, allocations: 0 / 0.8954 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00084/1.999, allocations: 0.7345 MB / 0.8961 GB, free: 108 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00896/2.008, allocations: 3.205 MB / 0.8993 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01287/2.021, allocations: 8.902 MB / 0.908 GB, free: 98.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01486/2.036, allocations: 5.663 MB / 0.9135 GB, free: 97.03 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002643/2.036, allocations: 58.03 kB / 0.9136 GB, free: 97.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1298) (initialization): time 0.04238/2.078, allocations: 11.99 MB / 0.9253 GB, free: 93.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/2.078, allocations: 7.562 kB / 0.9253 GB, free: 93.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004458/2.079, allocations: 203.1 kB / 0.9255 GB, free: 93.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00833/2.087, allocations: 1.301 MB / 0.9267 GB, free: 93.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01482/2.102, allocations: 2.243 MB / 0.9289 GB, free: 93.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0213/2.124, allocations: 7.227 MB / 0.936 GB, free: 88.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009809/2.133, allocations: 311.8 kB / 0.9363 GB, free: 87.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002562/2.136, allocations: 0.582 MB / 0.9368 GB, free: 87.39 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 927 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1212): * Single equations (assignments): 1205 * Array equations: 6 * 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 {(3,77.8%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003244/2.139, allocations: 0.5269 MB / 0.9374 GB, free: 86.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001352/2.141, allocations: 0.5012 MB / 0.9378 GB, free: 86.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0207/2.161, allocations: 5.365 MB / 0.9431 GB, free: 81.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001871/2.162, allocations: 39.84 kB / 0.9431 GB, free: 81.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.379e-05/2.162, allocations: 4 kB / 0.9431 GB, free: 81.87 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.636e-05/2.162, allocations: 18.72 kB / 0.9431 GB, free: 81.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04871/2.21, allocations: 12.65 MB / 0.9555 GB, free: 71.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-05/2.211, allocations: 12 kB / 0.9555 GB, free: 71.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00509/2.216, allocations: 0.506 MB / 0.956 GB, free: 70.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007003/2.223, allocations: 0.8634 MB / 0.9569 GB, free: 70.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007776/2.224, allocations: 23.75 kB / 0.9569 GB, free: 70.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01397/2.238, allocations: 5.011 MB / 0.9618 GB, free: 65.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.464e-05/2.238, allocations: 15.94 kB / 0.9618 GB, free: 65.64 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02646/2.264, allocations: 10.33 MB / 0.9719 GB, free: 55.81 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003738/2.268, allocations: 0.9206 MB / 0.9728 GB, free: 54.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002158/2.27, allocations: 19.28 kB / 0.9728 GB, free: 54.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005315/2.275, allocations: 101.2 kB / 0.9729 GB, free: 54.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001031/2.277, allocations: 181.1 kB / 0.9731 GB, free: 54.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004164/2.277, allocations: 107.3 kB / 0.9732 GB, free: 54.63 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.008451/2.285, allocations: 3.129 MB / 0.9762 GB, free: 51.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01251/2.298, allocations: 1.425 MB / 0.9776 GB, free: 50.53 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 268 * Array equations: 7 * 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 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001391/2.299, allocations: 239.7 kB / 0.9778 GB, free: 50.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01861/2.318, allocations: 7.573 MB / 0.9852 GB, free: 43.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/2.318, allocations: 4 kB / 0.9852 GB, free: 43.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006566/2.325, allocations: 2.344 MB / 0.9875 GB, free: 41.19 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005068/2.33, allocations: 0.5018 MB / 0.988 GB, free: 40.76 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04372/2.374, allocations: 13.74 MB / 1.001 GB, free: 28.28 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01739/2.391, allocations: 5.773 MB / 1.007 GB, free: 23.89 MB / 0.4948 GB Notification: Performance of SimCode: time 1.553e-06/2.391, allocations: 0 / 1.007 GB, free: 23.89 MB / 0.4948 GB Notification: Performance of Templates: time 0.4201/2.811, allocations: 121.2 MB / 1.125 GB, free: 114.3 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches