Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 175.6 kB / 8.517 MB, free: 1.863 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.227/1.227, allocations: 221.4 MB / 230.3 MB, free: 7.625 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.001006/0.001006, allocations: 90.53 kB / 281.2 MB, free: 5.434 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.1742/0.1742, allocations: 44.15 MB / 376.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.182e-06/6.202e-06, allocations: 224 / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.126, allocations: 61.92 MB / 0.4941 GB, free: 1.609 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3672/0.4932, allocations: 116.6 MB / 0.608 GB, free: 12.08 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.4936, allocations: 71.97 kB / 0.608 GB, free: 12.01 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.5682/1.062, allocations: 140 MB / 0.7447 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005617/1.062, allocations: 126.6 kB / 0.7449 GB, free: 107.3 MB / 0.4948 GB 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.02209/1.085, allocations: 6.528 MB / 0.7512 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/1.085, allocations: 12.66 kB / 0.7512 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03374/1.118, allocations: 8.934 MB / 0.76 GB, free: 104 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02583/1.144, allocations: 8.714 MB / 0.7685 GB, free: 101 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005736/1.145, allocations: 204.3 kB / 0.7687 GB, free: 101 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004054/1.149, allocations: 387.1 kB / 0.769 GB, free: 101 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02219/1.171, allocations: 9.675 MB / 0.7785 GB, free: 97.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03089/1.202, allocations: 13.58 MB / 0.7918 GB, free: 84.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004487/1.203, allocations: 87.23 kB / 0.7918 GB, free: 84.81 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002344/1.205, allocations: 32 kB / 0.7919 GB, free: 84.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002048/1.207, allocations: 1.478 MB / 0.7933 GB, free: 83.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06536/1.272, allocations: 63.75 MB / 0.8556 GB, free: 18.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004344/1.277, allocations: 4.289 MB / 0.8598 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003178/1.28, allocations: 3.367 MB / 0.863 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01692/1.297, allocations: 12.32 MB / 0.8751 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/1.297, allocations: 68.41 kB / 0.8751 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=245): time 4.919e-06/1.297, allocations: 0 / 0.8751 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=338): time 0.2312/1.528, allocations: 27.1 MB / 0.9016 GB, free: 168.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/1.528, allocations: 242.8 kB / 0.9018 GB, free: 168.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007084/1.535, allocations: 4.419 MB / 0.9062 GB, free: 168 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007477/1.536, allocations: 25.7 kB / 0.9062 GB, free: 168 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002347/1.539, allocations: 4.017 MB / 0.9101 GB, free: 165.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001452/1.54, allocations: 1.199 MB / 0.9113 GB, free: 165 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004327/1.54, allocations: 0 / 0.9113 GB, free: 165 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003597/1.541, allocations: 0.6646 MB / 0.9119 GB, free: 164.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004605/1.545, allocations: 3.521 MB / 0.9154 GB, free: 164.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006299/1.552, allocations: 8.176 MB / 0.9233 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006485/1.558, allocations: 5.342 MB / 0.9286 GB, free: 158 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.981e-05/1.558, allocations: 48.22 kB / 0.9286 GB, free: 158 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.02539/1.584, allocations: 13.6 MB / 0.9419 GB, free: 154 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/1.584, allocations: 5.609 kB / 0.9419 GB, free: 154 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002709/1.584, allocations: 168.7 kB / 0.9421 GB, free: 154 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01157/1.596, allocations: 3.367 MB / 0.9453 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006012/1.602, allocations: 1.821 MB / 0.9471 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02049/1.622, allocations: 16.07 MB / 0.9628 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006067/1.628, allocations: 265.8 kB / 0.9631 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008522/1.629, allocations: 495 kB / 0.9635 GB, free: 145.8 MB / 0.5105 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.001021/1.63, allocations: 0.5192 MB / 0.964 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006902/1.631, allocations: 0.495 MB / 0.9645 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01823/1.649, allocations: 8.475 MB / 0.9728 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.993e-05/1.649, allocations: 30.5 kB / 0.9728 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.949e-05/1.649, allocations: 14.91 kB / 0.9728 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.185e-05/1.649, allocations: 15.38 kB / 0.9729 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03079/1.68, allocations: 17.12 MB / 0.9896 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-05/1.68, allocations: 4 kB / 0.9896 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002369/1.683, allocations: 464.2 kB / 0.99 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01073/1.693, allocations: 2.969 MB / 0.9929 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004858/1.694, allocations: 8 kB / 0.9929 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01796/1.712, allocations: 14 MB / 1.007 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/1.712, allocations: 7.938 kB / 1.007 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02082/1.733, allocations: 13.92 MB / 1.02 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/1.734, allocations: 0.5169 MB / 1.021 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009528/1.735, allocations: 11.89 kB / 1.021 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002476/1.737, allocations: 101.1 kB / 1.021 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003921/1.738, allocations: 172.4 kB / 1.021 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002548/1.738, allocations: 84 kB / 1.021 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.00372/1.742, allocations: 3.023 MB / 1.024 GB, free: 98.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006517/1.748, allocations: 1.425 MB / 1.025 GB, free: 97.02 MB / 0.5105 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.0006029/1.749, allocations: 207.1 kB / 1.026 GB, free: 96.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01042/1.759, allocations: 8.49 MB / 1.034 GB, free: 89.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.759, allocations: 0 / 1.034 GB, free: 89.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003793/1.763, allocations: 3.292 MB / 1.037 GB, free: 85.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002837/1.766, allocations: 0.5533 MB / 1.038 GB, free: 85.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02221/1.788, allocations: 13.06 MB / 1.05 GB, free: 72.72 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006296/1.795, allocations: 5.307 MB / 1.056 GB, free: 67.41 MB / 0.5105 GB Notification: Performance of SimCode: time 1.092e-06/1.795, allocations: 0 / 1.056 GB, free: 67.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.2643/2.059, allocations: 70.84 MB / 1.125 GB, free: 153.3 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches