Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.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.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2") [: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.0009464/0.0009464, allocations: 187 kB / 7.799 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.071/1.071, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008154/0.0008155, allocations: 82.61 kB / 261.4 MB, free: 13.55 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.1516/0.1516, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.354e-06/7.494e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2148, allocations: 58.85 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1154/0.3303, allocations: 104.6 MB / 0.5675 GB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.3305, allocations: 79.95 kB / 0.5676 GB, free: 10.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.4159/0.7464, allocations: 124.9 MB / 0.6896 GB, free: 107.9 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000364/0.7468, allocations: 116.2 kB / 0.6897 GB, free: 107.9 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: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.0169/0.7637, allocations: 6.122 MB / 0.6956 GB, free: 104.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.7638, allocations: 9.406 kB / 0.6957 GB, free: 104.9 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02239/0.7862, allocations: 5.592 MB / 0.7011 GB, free: 102.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01948/0.8057, allocations: 8.701 MB / 0.7096 GB, free: 97.77 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002624/0.806, allocations: 184 kB / 0.7098 GB, free: 97.59 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002702/0.8087, allocations: 351.8 kB / 0.7101 GB, free: 97.25 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01559/0.8243, allocations: 10.95 MB / 0.7208 GB, free: 86.3 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01787/0.8422, allocations: 14.09 MB / 0.7346 GB, free: 71.49 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001552/0.8424, allocations: 67.39 kB / 0.7346 GB, free: 71.43 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006645/0.843, allocations: 20 kB / 0.7347 GB, free: 71.41 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001964/0.845, allocations: 1.807 MB / 0.7364 GB, free: 69.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06099/0.906, allocations: 55.01 MB / 0.7902 GB, free: 13.98 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006368/0.9124, allocations: 5.792 MB / 0.7958 GB, free: 8.172 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004825/0.9173, allocations: 5.139 MB / 0.8008 GB, free: 3.02 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02603/0.9433, allocations: 18.26 MB / 0.8187 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.314e-05/0.9434, allocations: 68.81 kB / 0.8187 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=336): time 5.821e-06/0.9434, allocations: 0 / 0.8187 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=389): time 0.1768/1.12, allocations: 33.98 MB / 0.8519 GB, free: 178.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/1.12, allocations: 116.4 kB / 0.852 GB, free: 178.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004025/1.124, allocations: 3.797 MB / 0.8557 GB, free: 178.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002893/1.125, allocations: 29.48 kB / 0.8557 GB, free: 178.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001241/1.126, allocations: 3.745 MB / 0.8594 GB, free: 176 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008802/1.127, allocations: 1.354 MB / 0.8607 GB, free: 175.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003525/1.127, allocations: 0 / 0.8607 GB, free: 175.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002809/1.127, allocations: 0.6553 MB / 0.8614 GB, free: 174.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003957/1.131, allocations: 3.908 MB / 0.8652 GB, free: 174.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005363/1.137, allocations: 7.935 MB / 0.8729 GB, free: 168.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005543/1.142, allocations: 5.607 MB / 0.8784 GB, free: 166.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-05/1.142, allocations: 43.03 kB / 0.8784 GB, free: 166.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1068) (initialization): time 0.01942/1.162, allocations: 13.36 MB / 0.8915 GB, free: 162.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/1.162, allocations: 5.281 kB / 0.8915 GB, free: 162.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001332/1.162, allocations: 139.9 kB / 0.8916 GB, free: 162.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006579/1.169, allocations: 2.431 MB / 0.894 GB, free: 162.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006672/1.175, allocations: 1.919 MB / 0.8959 GB, free: 162.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/1.19, allocations: 12.47 MB / 0.9081 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005632/1.196, allocations: 262.6 kB / 0.9083 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006282/1.196, allocations: 460.8 kB / 0.9088 GB, free: 153.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 642 * Number of states: 0 () * Number of discrete variables: 48 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (971): * Single equations (assignments): 963 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009377/1.197, allocations: 479.9 kB / 0.9092 GB, free: 153.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005261/1.198, allocations: 454.1 kB / 0.9096 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/1.211, allocations: 9.538 MB / 0.919 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.848e-05/1.211, allocations: 54.98 kB / 0.919 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/1.211, allocations: 12 kB / 0.919 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.34e-05/1.211, allocations: 20.78 kB / 0.919 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02506/1.237, allocations: 17.71 MB / 0.9363 GB, free: 130.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/1.237, allocations: 4 kB / 0.9363 GB, free: 130.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003018/1.24, allocations: 0.637 MB / 0.937 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006466/1.246, allocations: 2.186 MB / 0.9391 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003552/1.246, allocations: 17.83 kB / 0.9391 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/1.259, allocations: 11.37 MB / 0.9502 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.259, allocations: 7.906 kB / 0.9502 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01729/1.276, allocations: 14.61 MB / 0.9645 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002308/1.278, allocations: 1.12 MB / 0.9656 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007421/1.279, allocations: 11.94 kB / 0.9656 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002129/1.281, allocations: 139.8 kB / 0.9657 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004076/1.282, allocations: 178.2 kB / 0.9659 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002778/1.282, allocations: 102.7 kB / 0.966 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.002806/1.285, allocations: 2.566 MB / 0.9685 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004911/1.29, allocations: 1.433 MB / 0.9699 GB, free: 99.36 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (306): * Single equations (assignments): 298 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 29,(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004621/1.29, allocations: 176.5 kB / 0.9701 GB, free: 99.19 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01016/1.3, allocations: 9.401 MB / 0.9792 GB, free: 89.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.3, allocations: 4 kB / 0.9793 GB, free: 89.78 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004309/1.305, allocations: 3.971 MB / 0.9831 GB, free: 85.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/1.307, allocations: 467.1 kB / 0.9836 GB, free: 85.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0197/1.327, allocations: 12.99 MB / 0.9963 GB, free: 72.24 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00584/1.333, allocations: 5.092 MB / 1.001 GB, free: 67.12 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/1.333, allocations: 0 / 1.001 GB, free: 67.12 MB / 0.4948 GB Notification: Performance of Templates: time 0.2181/1.551, allocations: 67.31 MB / 1.067 GB, free: 150.6 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches