Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_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_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 3.2.3+maint.om/package.mo): time 0.0008647/0.0008648, allocations: 190.9 kB / 7.804 MB, free: 2.438 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.9892/0.9892, allocations: 205.2 MB / 213.4 MB, free: 13.9 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.0008018/0.0008018, allocations: 87.42 kB / 261.4 MB, free: 13.61 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.158/0.158, allocations: 43.49 MB / 352.8 MB, free: 2.012 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.769e-06/4.799e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1926, allocations: 58.84 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.3154, allocations: 115.4 MB / 0.5781 GB, free: 15.51 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/0.3157, allocations: 79.95 kB / 0.5781 GB, free: 15.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.4679/0.7836, allocations: 149.8 MB / 0.7244 GB, free: 83.01 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000259/0.7839, allocations: 143.8 kB / 0.7246 GB, free: 82.87 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.01469/0.7986, allocations: 6.459 MB / 0.7309 GB, free: 76.35 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.7987, allocations: 12.03 kB / 0.7309 GB, free: 76.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02215/0.8208, allocations: 5.809 MB / 0.7366 GB, free: 70.51 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01738/0.8382, allocations: 8.444 MB / 0.7448 GB, free: 62.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.8385, allocations: 236 kB / 0.745 GB, free: 61.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001812/0.8403, allocations: 423.8 kB / 0.7455 GB, free: 61.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01452/0.8548, allocations: 12.05 MB / 0.7572 GB, free: 49.37 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0234/0.8782, allocations: 16.25 MB / 0.7731 GB, free: 31.79 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000225/0.8785, allocations: 83.19 kB / 0.7732 GB, free: 31.71 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009827/0.8795, allocations: 40 kB / 0.7732 GB, free: 31.67 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00172/0.8812, allocations: 1.844 MB / 0.775 GB, free: 29.83 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2118/1.093, allocations: 72.21 MB / 0.8455 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004352/1.097, allocations: 3.925 MB / 0.8494 GB, free: 121 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002729/1.1, allocations: 2.941 MB / 0.8522 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01857/1.119, allocations: 15.49 MB / 0.8674 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/1.119, allocations: 56.41 kB / 0.8674 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=292): time 5.491e-06/1.119, allocations: 2.438 kB / 0.8674 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=352): time 0.04077/1.16, allocations: 17.89 MB / 0.8849 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/1.16, allocations: 190.3 kB / 0.8851 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005665/1.165, allocations: 4.689 MB / 0.8896 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004335/1.166, allocations: 29.52 kB / 0.8897 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001796/1.168, allocations: 4.735 MB / 0.8943 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009597/1.169, allocations: 1.272 MB / 0.8955 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003238/1.169, allocations: 2.5 kB / 0.8955 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004209/1.169, allocations: 0.7257 MB / 0.8962 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003605/1.173, allocations: 3.203 MB / 0.8994 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005194/1.178, allocations: 8.902 MB / 0.9081 GB, free: 97.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007219/1.185, allocations: 5.672 MB / 0.9136 GB, free: 96.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001161/1.185, allocations: 57.38 kB / 0.9137 GB, free: 96.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1298) (initialization): time 0.02012/1.206, allocations: 12.11 MB / 0.9255 GB, free: 93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/1.206, allocations: 5.5 kB / 0.9255 GB, free: 93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003659/1.206, allocations: 206.1 kB / 0.9257 GB, free: 93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004298/1.21, allocations: 1.315 MB / 0.927 GB, free: 92.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006731/1.217, allocations: 2.244 MB / 0.9292 GB, free: 92.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/1.228, allocations: 7.222 MB / 0.9362 GB, free: 87.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007666/1.236, allocations: 340 kB / 0.9365 GB, free: 87.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002001/1.238, allocations: 0.5867 MB / 0.9371 GB, free: 86.93 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 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002439/1.24, allocations: 0.5934 MB / 0.9377 GB, free: 86.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/1.241, allocations: 0.5004 MB / 0.9382 GB, free: 85.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/1.252, allocations: 5.365 MB / 0.9434 GB, free: 81.37 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-05/1.252, allocations: 35.94 kB / 0.9435 GB, free: 81.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.157e-05/1.252, allocations: 8 kB / 0.9435 GB, free: 81.33 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.671e-05/1.252, allocations: 17.72 kB / 0.9435 GB, free: 81.33 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02241/1.275, allocations: 12.65 MB / 0.9558 GB, free: 70.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/1.275, allocations: 17.77 kB / 0.9559 GB, free: 70.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002077/1.277, allocations: 0.4943 MB / 0.9563 GB, free: 70.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003264/1.28, allocations: 0.8703 MB / 0.9572 GB, free: 69.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002404/1.281, allocations: 30.84 kB / 0.9572 GB, free: 69.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006884/1.287, allocations: 5.004 MB / 0.9621 GB, free: 65.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/1.287, allocations: 15.94 kB / 0.9621 GB, free: 65.09 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01169/1.299, allocations: 10.33 MB / 0.9722 GB, free: 55.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00182/1.301, allocations: 0.9224 MB / 0.9731 GB, free: 54.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006921/1.302, allocations: 16 kB / 0.9731 GB, free: 54.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00198/1.304, allocations: 95.33 kB / 0.9732 GB, free: 54.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002921/1.304, allocations: 183.2 kB / 0.9734 GB, free: 54.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000202/1.304, allocations: 103.2 kB / 0.9735 GB, free: 54.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.003812/1.308, allocations: 3.13 MB / 0.9765 GB, free: 51.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006636/1.315, allocations: 1.432 MB / 0.9779 GB, free: 49.96 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.0005854/1.315, allocations: 230.1 kB / 0.9782 GB, free: 49.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009034/1.324, allocations: 7.571 MB / 0.9856 GB, free: 42.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/1.324, allocations: 0 / 0.9856 GB, free: 42.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002804/1.327, allocations: 2.344 MB / 0.9878 GB, free: 40.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/1.33, allocations: 0.5061 MB / 0.9883 GB, free: 40.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02079/1.35, allocations: 12.94 MB / 1.001 GB, free: 28.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00685/1.357, allocations: 5.748 MB / 1.007 GB, free: 24.02 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/1.357, allocations: 0 / 1.007 GB, free: 24.02 MB / 0.4948 GB Notification: Performance of Templates: time 0.2192/1.577, allocations: 58.77 MB / 1.064 GB, free: 140.5 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches