Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 174.8 kB / 8.518 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 221.4 MB / 230.3 MB, free: 7.664 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 97.91 kB / 281.2 MB, free: 5.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1798/0.1798, allocations: 44.15 MB / 376.1 MB, free: 3.199 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.981e-06/6.012e-06, allocations: 0 / 444 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1205, allocations: 61.92 MB / 0.4941 GB, free: 1.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3694/0.49, allocations: 117.4 MB / 0.6088 GB, free: 11.05 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.4902, allocations: 71.97 kB / 0.6088 GB, free: 10.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.6108/1.101, allocations: 151.6 MB / 0.7569 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003036/1.101, allocations: 136.8 kB / 0.7571 GB, free: 115.7 MB / 0.5105 GB 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.01981/1.121, allocations: 6.445 MB / 0.7634 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/1.121, allocations: 14.81 kB / 0.7634 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02562/1.147, allocations: 5.805 MB / 0.769 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02002/1.167, allocations: 8.001 MB / 0.7768 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003698/1.167, allocations: 228.8 kB / 0.7771 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003326/1.171, allocations: 430.3 kB / 0.7775 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02335/1.194, allocations: 12.05 MB / 0.7892 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03537/1.23, allocations: 16.25 MB / 0.8051 GB, free: 97.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003637/1.23, allocations: 83.19 kB / 0.8052 GB, free: 97.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002759/1.233, allocations: 40 kB / 0.8052 GB, free: 97.76 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002112/1.235, allocations: 1.84 MB / 0.807 GB, free: 96.26 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08827/1.323, allocations: 72.15 MB / 0.8775 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005171/1.328, allocations: 3.92 MB / 0.8813 GB, free: 21.41 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003786/1.332, allocations: 2.955 MB / 0.8842 GB, free: 18.44 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02441/1.357, allocations: 15.46 MB / 0.8993 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/1.357, allocations: 60.56 kB / 0.8994 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=292): time 5.901e-06/1.357, allocations: 0 / 0.8994 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=352): time 0.05096/1.408, allocations: 17.7 MB / 0.9166 GB, free: 396 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.762e-05/1.408, allocations: 188.4 kB / 0.9168 GB, free: 168 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1857/1.593, allocations: 4.646 MB / 0.9214 GB, free: 180.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006952/1.594, allocations: 25.7 kB / 0.9214 GB, free: 180.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002638/1.597, allocations: 4.734 MB / 0.926 GB, free: 179.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001313/1.598, allocations: 1.27 MB / 0.9272 GB, free: 178.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000372/1.599, allocations: 0 / 0.9272 GB, free: 178.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003868/1.599, allocations: 0.7233 MB / 0.928 GB, free: 178.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004067/1.603, allocations: 3.204 MB / 0.9311 GB, free: 178.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006843/1.61, allocations: 8.901 MB / 0.9398 GB, free: 170.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008367/1.618, allocations: 5.669 MB / 0.9453 GB, free: 170.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001561/1.618, allocations: 55.53 kB / 0.9454 GB, free: 170.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1298) (initialization): time 0.02546/1.644, allocations: 12.12 MB / 0.9572 GB, free: 169.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/1.644, allocations: 7.484 kB / 0.9572 GB, free: 169.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000224/1.644, allocations: 204.2 kB / 0.9574 GB, free: 169.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004151/1.648, allocations: 1.312 MB / 0.9587 GB, free: 169.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007648/1.656, allocations: 2.243 MB / 0.9609 GB, free: 169.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/1.667, allocations: 7.22 MB / 0.9679 GB, free: 166.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00688/1.674, allocations: 339.9 kB / 0.9682 GB, free: 166.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001451/1.676, allocations: 0.5848 MB / 0.9688 GB, free: 166.4 MB / 0.5261 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 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001514/1.677, allocations: 0.5962 MB / 0.9694 GB, free: 165.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008673/1.678, allocations: 0.499 MB / 0.9699 GB, free: 165.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/1.688, allocations: 5.366 MB / 0.9751 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.662e-05/1.688, allocations: 30.66 kB / 0.9752 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/1.688, allocations: 9.688 kB / 0.9752 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.835e-05/1.688, allocations: 17.89 kB / 0.9752 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02311/1.711, allocations: 12.65 MB / 0.9875 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/1.712, allocations: 11.81 kB / 0.9875 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002294/1.714, allocations: 0.5119 MB / 0.988 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003402/1.717, allocations: 0.8552 MB / 0.9889 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002757/1.718, allocations: 27.17 kB / 0.9889 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008136/1.726, allocations: 5.005 MB / 0.9938 GB, free: 156 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/1.726, allocations: 19.66 kB / 0.9938 GB, free: 156 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01507/1.741, allocations: 10.3 MB / 1.004 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002041/1.743, allocations: 0.5296 MB / 1.004 GB, free: 150 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001289/1.744, allocations: 26.31 kB / 1.004 GB, free: 150 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002348/1.747, allocations: 91.95 kB / 1.005 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003335/1.747, allocations: 186.7 kB / 1.005 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002213/1.747, allocations: 107.1 kB / 1.005 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.004293/1.751, allocations: 3.105 MB / 1.008 GB, free: 147 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007003/1.758, allocations: 1.42 MB / 1.009 GB, free: 145.6 MB / 0.5261 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.0005998/1.759, allocations: 227.6 kB / 1.009 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009285/1.768, allocations: 7.567 MB / 1.017 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/1.768, allocations: 4 kB / 1.017 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002845/1.771, allocations: 2.354 MB / 1.019 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/1.774, allocations: 0.4996 MB / 1.02 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02332/1.797, allocations: 12.89 MB / 1.032 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007734/1.805, allocations: 5.746 MB / 1.038 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of SimCode: time 9.62e-07/1.805, allocations: 0 / 1.038 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.1072/1.912, allocations: 58.72 MB / 1.095 GB, free: 71.49 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches