Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") [: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 trunk/package.mo): time 0.001364/0.001364, allocations: 198.6 kB / 8.54 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.194/1.194, allocations: 225.5 MB / 234.4 MB, free: 3.457 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009683/0.0009683, allocations: 97.06 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.168/0.168, allocations: 45.14 MB / 383.3 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.26e-06/5.28e-06, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0838/0.08382, allocations: 63.24 MB / 0.5038 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.291/0.3748, allocations: 103.9 MB / 0.6053 GB, free: 15.23 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.3751, allocations: 70.66 kB / 0.6053 GB, free: 15.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2149/0.59, allocations: 84.16 MB / 0.6875 GB, free: 3.246 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000141/0.5902, allocations: 75.98 kB / 0.6876 GB, free: 3.172 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.008332/0.5985, allocations: 3.568 MB / 0.6911 GB, free: 15.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.5986, allocations: 8.031 kB / 0.6911 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01282/0.6114, allocations: 2.783 MB / 0.6938 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008756/0.6202, allocations: 3.488 MB / 0.6972 GB, free: 9.203 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002024/0.6204, allocations: 120 kB / 0.6973 GB, free: 9.086 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002027/0.6225, allocations: 224 kB / 0.6975 GB, free: 8.867 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0118/0.6343, allocations: 7.325 MB / 0.7047 GB, free: 1.539 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01437/0.6487, allocations: 9.48 MB / 0.7139 GB, free: 7.633 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.422e-05/0.6488, allocations: 23.81 kB / 0.714 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004963/0.6493, allocations: 15.94 kB / 0.714 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001364/0.6507, allocations: 1.246 MB / 0.7152 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04496/0.6957, allocations: 32.73 MB / 0.7472 GB, free: 5.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004564/0.7003, allocations: 4.288 MB / 0.7513 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1337/0.834, allocations: 2.387 MB / 0.7537 GB, free: 205.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0111/0.8451, allocations: 10.1 MB / 0.7635 GB, free: 201.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.8451, allocations: 48.88 kB / 0.7636 GB, free: 201.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=186): time 4.007e-06/0.8452, allocations: 3.906 kB / 0.7636 GB, free: 201.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=201): time 0.01837/0.8635, allocations: 11.81 MB / 0.7751 GB, free: 200.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.8636, allocations: 67.06 kB / 0.7752 GB, free: 200.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003025/0.8666, allocations: 2.457 MB / 0.7776 GB, free: 200.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002142/0.8669, allocations: 25.7 kB / 0.7776 GB, free: 200.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001414/0.8683, allocations: 2.725 MB / 0.7803 GB, free: 199 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007567/0.8691, allocations: 0.7312 MB / 0.781 GB, free: 198.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003247/0.8694, allocations: 2.188 kB / 0.781 GB, free: 198.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003867/0.8698, allocations: 0.6006 MB / 0.7816 GB, free: 198.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004021/0.8738, allocations: 2.184 MB / 0.7837 GB, free: 198.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005287/0.8791, allocations: 5.255 MB / 0.7888 GB, free: 194.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006121/0.8853, allocations: 3.436 MB / 0.7922 GB, free: 194 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.817e-05/0.8854, allocations: 32.22 kB / 0.7922 GB, free: 194 MB / 0.5261 GB Notification: Performance of matching and sorting (n=731) (initialization): time 0.01713/0.9025, allocations: 7.43 MB / 0.7995 GB, free: 192.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.9026, allocations: 12.56 kB / 0.7995 GB, free: 192.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/0.9027, allocations: 107.6 kB / 0.7996 GB, free: 192.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003545/0.9063, allocations: 0.7553 MB / 0.8003 GB, free: 192 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005406/0.9117, allocations: 1.229 MB / 0.8015 GB, free: 191.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004534/0.9162, allocations: 3.926 MB / 0.8054 GB, free: 189.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003313/0.9196, allocations: 157 kB / 0.8055 GB, free: 189.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004115/0.92, allocations: 328.6 kB / 0.8058 GB, free: 189.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 497 * Number of states: 0 () * Number of discrete variables: 29 (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.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (671): * Single equations (assignments): 664 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005671/0.9206, allocations: 385.1 kB / 0.8062 GB, free: 189.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/0.9209, allocations: 257.3 kB / 0.8064 GB, free: 189.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006212/0.9271, allocations: 4.167 MB / 0.8105 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.127e-05/0.9272, allocations: 33.44 kB / 0.8105 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.9272, allocations: 6.719 kB / 0.8105 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.9272, allocations: 6.656 kB / 0.8106 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01231/0.9395, allocations: 8.046 MB / 0.8184 GB, free: 183.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.9395, allocations: 4.891 kB / 0.8184 GB, free: 183.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/0.9409, allocations: 274 kB / 0.8187 GB, free: 182.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001811/0.9427, allocations: 0.5784 MB / 0.8192 GB, free: 182.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/0.9428, allocations: 4 kB / 0.8192 GB, free: 182.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003564/0.9464, allocations: 3.428 MB / 0.8226 GB, free: 179.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.9464, allocations: 96 / 0.8226 GB, free: 179.5 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007405/0.9538, allocations: 6.383 MB / 0.8288 GB, free: 173.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005693/0.9544, allocations: 309.3 kB / 0.8291 GB, free: 173.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003964/0.9548, allocations: 3.906 kB / 0.8291 GB, free: 173.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.9559, allocations: 61.97 kB / 0.8292 GB, free: 173.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/0.9561, allocations: 70.28 kB / 0.8293 GB, free: 173.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/0.9562, allocations: 55.72 kB / 0.8293 GB, free: 173.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001923/0.9582, allocations: 1.611 MB / 0.8309 GB, free: 172.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003593/0.9618, allocations: 0.8277 MB / 0.8317 GB, free: 171.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (146): * Single equations (assignments): 139 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004027/0.9622, allocations: 143.5 kB / 0.8318 GB, free: 171.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005969/0.9682, allocations: 5.121 MB / 0.8368 GB, free: 166.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9682, allocations: 3.469 kB / 0.8368 GB, free: 166.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001742/0.9699, allocations: 1.811 MB / 0.8386 GB, free: 164.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.971, allocations: 206.8 kB / 0.8388 GB, free: 164.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.9818, allocations: 7.472 MB / 0.8461 GB, free: 158 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003439/0.9853, allocations: 3.486 MB / 0.8495 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of SimCode: time 7.61e-07/0.9853, allocations: 0 / 0.8495 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.04901/1.034, allocations: 33.24 MB / 0.882 GB, free: 127.9 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches