Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.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.Joints.JointUPS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rRod1_ia.1.|rRod1_ia.2.|rRod1_ia.3.|rRod2_ib.1.|rRod2_ib.2.|rRod2_ib.3.|Fixed1.frame_b.r_0.1.|Fixed1.frame_b.r_0.2.|Fixed1.frame_b.r_0.3.|Fixed1.frame_b.f.1.|Fixed1.frame_b.f.2.|Fixed1.frame_b.f.3.|Fixed1.frame_b.t.1.|Fixed1.frame_b.t.2.|Fixed1.frame_b.t.3.|jointUPS.frame_b.r_0.1.|jointUPS.frame_b.r_0.2.|jointUPS.frame_b.r_0.3.|jointUPS.frame_b.f.1.|jointUPS.frame_b.f.2.|jointUPS.frame_b.f.3.|jointUPS.frame_b.t.1.|jointUPS.frame_b.t.2.|jointUPS.frame_b.t.3.|jointUPS.frame_ia.r_0.1.|jointUPS.frame_ia.r_0.2.|jointUPS.frame_ia.r_0.3.|jointUPS.frame_ia.f.1.|jointUPS.frame_ia.f.2.|jointUPS.frame_ia.f.3.|jointUPS.frame_ia.t.1.|jointUPS.frame_ia.t.2.|jointUPS.frame_ia.t.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS") translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rRod1_ia.1.|rRod1_ia.2.|rRod1_ia.3.|rRod2_ib.1.|rRod2_ib.2.|rRod2_ib.3.|Fixed1.frame_b.r_0.1.|Fixed1.frame_b.r_0.2.|Fixed1.frame_b.r_0.3.|Fixed1.frame_b.f.1.|Fixed1.frame_b.f.2.|Fixed1.frame_b.f.3.|Fixed1.frame_b.t.1.|Fixed1.frame_b.t.2.|Fixed1.frame_b.t.3.|jointUPS.frame_b.r_0.1.|jointUPS.frame_b.r_0.2.|jointUPS.frame_b.r_0.3.|jointUPS.frame_b.f.1.|jointUPS.frame_b.f.2.|jointUPS.frame_b.f.3.|jointUPS.frame_b.t.1.|jointUPS.frame_b.t.2.|jointUPS.frame_b.t.3.|jointUPS.frame_ia.r_0.1.|jointUPS.frame_ia.r_0.2.|jointUPS.frame_ia.r_0.3.|jointUPS.frame_ia.f.1.|jointUPS.frame_ia.f.2.|jointUPS.frame_ia.f.3.|jointUPS.frame_ia.t.1.|jointUPS.frame_ia.t.2.|jointUPS.frame_ia.t.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS") [: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.002497/0.002496, allocations: 172.2 kB / 8.145 MB, free: 2.211 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.72/1.72, allocations: 205.2 MB / 213.8 MB, free: 13.84 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.001203/0.001203, allocations: 96.23 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.2637/0.2637, allocations: 43.49 MB / 353.2 MB, free: 2.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.638e-06/9.668e-06, allocations: 4 kB / 417.7 MB, free: 40.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2809, allocations: 58.84 MB / 476.5 MB, free: 5.07 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.4563, allocations: 98.59 MB / 0.5616 GB, free: 444 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.4566, allocations: 79.95 kB / 0.5617 GB, free: 364 kB / 394.7 MB Notification: Performance of FrontEnd: time 0.1667/0.6233, allocations: 33.87 MB / 0.5948 GB, free: 14.17 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001029/0.6235, allocations: 35.98 kB / 0.5948 GB, free: 14.14 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.008093/0.6316, allocations: 2.179 MB / 0.597 GB, free: 11.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.6317, allocations: 8.031 kB / 0.597 GB, free: 11.9 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003611/0.6353, allocations: 364.7 kB / 0.5973 GB, free: 11.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004337/0.6397, allocations: 1.135 MB / 0.5984 GB, free: 10.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.6398, allocations: 60 kB / 0.5985 GB, free: 10.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007189/0.6405, allocations: 115.9 kB / 0.5986 GB, free: 10.19 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007553/0.6481, allocations: 2.805 MB / 0.6013 GB, free: 7.379 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009867/0.658, allocations: 3.832 MB / 0.6051 GB, free: 3.297 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.17e-05/0.6582, allocations: 19.86 kB / 0.6051 GB, free: 3.277 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003195/0.6585, allocations: 8 kB / 0.6051 GB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00169/0.6602, allocations: 0.5307 MB / 0.6056 GB, free: 2.734 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03586/0.6961, allocations: 15.71 MB / 0.621 GB, free: 2.609 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.6984, allocations: 0.8449 MB / 0.6218 GB, free: 1.734 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/0.7, allocations: 0.6715 MB / 0.6224 GB, free: 1.055 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008491/0.7085, allocations: 3.604 MB / 0.626 GB, free: 13.22 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/0.7086, allocations: 42.5 kB / 0.626 GB, free: 13.17 MB / 474.7 MB Notification: Performance of pre-optimization done (n=28): time 3.597e-06/0.7086, allocations: 0 / 0.626 GB, free: 13.17 MB / 474.7 MB Notification: Performance of matching and sorting (n=28): time 0.006629/0.7153, allocations: 1.112 MB / 0.6271 GB, free: 12.05 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.7154, allocations: 106.8 kB / 0.6272 GB, free: 11.92 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003026/0.7184, allocations: 1.307 MB / 0.6285 GB, free: 10.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.16e-05/0.7186, allocations: 25.7 kB / 0.6285 GB, free: 10.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001314/0.7199, allocations: 1.446 MB / 0.6299 GB, free: 9.105 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/0.7202, allocations: 142.6 kB / 0.63 GB, free: 8.965 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.7203, allocations: 4.062 kB / 0.63 GB, free: 8.961 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002563/0.7206, allocations: 407.7 kB / 0.6304 GB, free: 8.555 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.7219, allocations: 496.7 kB / 0.6309 GB, free: 8.066 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002657/0.7246, allocations: 2.103 MB / 0.633 GB, free: 5.129 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002512/0.7271, allocations: 0.979 MB / 0.6339 GB, free: 4.148 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.598e-05/0.7272, allocations: 19.94 kB / 0.6339 GB, free: 4.129 MB / 474.7 MB Notification: Performance of matching and sorting (n=310) (initialization): time 0.006128/0.7334, allocations: 2.131 MB / 0.636 GB, free: 1.992 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.7334, allocations: 7.281 kB / 0.636 GB, free: 1.988 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.307e-05/0.7335, allocations: 60 kB / 0.6361 GB, free: 1.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001326/0.7337, allocations: 84 kB / 0.6362 GB, free: 1.848 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003429/0.7371, allocations: 0.5731 MB / 0.6367 GB, free: 1.273 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001409/0.7373, allocations: 116 kB / 0.6368 GB, free: 1.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/0.7395, allocations: 182.1 kB / 0.637 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00032/0.7398, allocations: 156 kB / 0.6371 GB, free: 0.8281 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 268 * Number of states: 0 () * Number of discrete variables: 33 (rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (310): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004152/0.7402, allocations: 180.7 kB / 0.6373 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003972/0.7406, allocations: 122.4 kB / 0.6374 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004157/0.7411, allocations: 139.8 kB / 0.6376 GB, free: 396 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.7411, allocations: 8 kB / 0.6376 GB, free: 388 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.7411, allocations: 7.938 kB / 0.6376 GB, free: 380 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.7411, allocations: 4.078 kB / 0.6376 GB, free: 376 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.162/0.9031, allocations: 2.663 MB / 0.6402 GB, free: 184.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.9032, allocations: 13.25 kB / 0.6402 GB, free: 184.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005129/0.9037, allocations: 77.09 kB / 0.6403 GB, free: 184.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.935e-05/0.9038, allocations: 15.09 kB / 0.6403 GB, free: 184.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.9038, allocations: 11.62 kB / 0.6403 GB, free: 184.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.394e-05/0.9038, allocations: 14.53 kB / 0.6403 GB, free: 184.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/0.9038, allocations: 19.11 kB / 0.6403 GB, free: 184.6 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001337/0.9052, allocations: 1.198 MB / 0.6415 GB, free: 183.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004464/0.9057, allocations: 256.6 kB / 0.6417 GB, free: 183.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002344/0.9059, allocations: 14.98 kB / 0.6418 GB, free: 183.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007749/0.9067, allocations: 15.03 kB / 0.6418 GB, free: 183.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.9068, allocations: 40.84 kB / 0.6418 GB, free: 183.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.9068, allocations: 22.78 kB / 0.6418 GB, free: 183.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001646/0.9085, allocations: 0.8609 MB / 0.6427 GB, free: 183.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002613/0.9111, allocations: 454.1 kB / 0.6431 GB, free: 183.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002422/0.9114, allocations: 119.4 kB / 0.6432 GB, free: 183.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002801/0.9142, allocations: 1.173 MB / 0.6444 GB, free: 183.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.595e-05/0.9143, allocations: 3.969 kB / 0.6444 GB, free: 183.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004256/0.9147, allocations: 187.2 kB / 0.6446 GB, free: 183.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.9158, allocations: 120.9 kB / 0.6447 GB, free: 183.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00762/0.9234, allocations: 2.922 MB / 0.6475 GB, free: 182.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002654/0.9261, allocations: 1.85 MB / 0.6493 GB, free: 181.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.944e-06/0.9262, allocations: 0 / 0.6493 GB, free: 181.6 MB / 474.7 MB Notification: Performance of Templates: time 0.04071/0.9669, allocations: 19.34 MB / 0.6682 GB, free: 180.6 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches