Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") [: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.0008843/0.0008843, allocations: 191.9 kB / 7.805 MB, free: 2.488 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.9934/0.9934, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0008551/0.0008552, allocations: 91.17 kB / 261.4 MB, free: 13.56 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.1536/0.1536, allocations: 43.49 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.12e-06/5.2e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2028, allocations: 58.84 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.3198, allocations: 106.2 MB / 0.5691 GB, free: 8.703 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.3201, allocations: 71.97 kB / 0.5692 GB, free: 8.633 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.4172/0.7373, allocations: 127.2 MB / 0.6934 GB, free: 101.8 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002433/0.7376, allocations: 131.7 kB / 0.6936 GB, free: 101.8 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: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.01651/0.7541, allocations: 6.332 MB / 0.6997 GB, free: 98.67 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.7542, allocations: 8.875 kB / 0.6997 GB, free: 98.67 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02666/0.7809, allocations: 6.719 MB / 0.7063 GB, free: 95.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01774/0.7986, allocations: 7.336 MB / 0.7135 GB, free: 91.71 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002986/0.799, allocations: 215.2 kB / 0.7137 GB, free: 91.71 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002119/0.8011, allocations: 390.3 kB / 0.714 GB, free: 91.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01248/0.8136, allocations: 9.932 MB / 0.7237 GB, free: 82.26 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01588/0.8295, allocations: 14.45 MB / 0.7379 GB, free: 66.64 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001661/0.8297, allocations: 79.19 kB / 0.7379 GB, free: 66.57 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006839/0.8304, allocations: 36 kB / 0.738 GB, free: 66.53 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001471/0.8318, allocations: 1.682 MB / 0.7396 GB, free: 64.85 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05601/0.8879, allocations: 65.25 MB / 0.8033 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00727/0.8952, allocations: 6.185 MB / 0.8094 GB, free: 7.902 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00521/0.9004, allocations: 4.366 MB / 0.8136 GB, free: 3.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01917/0.9196, allocations: 11.64 MB / 0.825 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.83e-05/0.9197, allocations: 72.56 kB / 0.8251 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=306): time 4.96e-06/0.9197, allocations: 0 / 0.8251 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of matching and sorting (n=349): time 0.1844/1.104, allocations: 25.87 MB / 0.8503 GB, free: 171.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/1.104, allocations: 213.3 kB / 0.8505 GB, free: 171 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005079/1.109, allocations: 3.981 MB / 0.8544 GB, free: 170.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007024/1.11, allocations: 31.61 kB / 0.8545 GB, free: 170.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001675/1.112, allocations: 4.13 MB / 0.8585 GB, free: 168 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001112/1.113, allocations: 1.244 MB / 0.8597 GB, free: 167.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003355/1.113, allocations: 0 / 0.8597 GB, free: 167.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003137/1.113, allocations: 0.6623 MB / 0.8603 GB, free: 166.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003884/1.117, allocations: 3.56 MB / 0.8638 GB, free: 166.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00567/1.123, allocations: 8.237 MB / 0.8719 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006271/1.129, allocations: 5.389 MB / 0.8771 GB, free: 159.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-05/1.129, allocations: 48.16 kB / 0.8772 GB, free: 159.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1114) (initialization): time 0.01732/1.147, allocations: 12.15 MB / 0.889 GB, free: 156.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/1.147, allocations: 3.938 kB / 0.889 GB, free: 156.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001227/1.147, allocations: 164.4 kB / 0.8892 GB, free: 156.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00364/1.151, allocations: 1.6 MB / 0.8908 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007423/1.158, allocations: 1.975 MB / 0.8927 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/1.171, allocations: 10.4 MB / 0.9029 GB, free: 150.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007241/1.178, allocations: 282.4 kB / 0.9031 GB, free: 150.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002118/1.18, allocations: 0.4927 MB / 0.9036 GB, free: 150.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 755 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1042): * Single equations (assignments): 1037 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00258/1.183, allocations: 0.5231 MB / 0.9041 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001401/1.184, allocations: 465.6 kB / 0.9046 GB, free: 149.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/1.197, allocations: 7.144 MB / 0.9115 GB, free: 144 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-05/1.197, allocations: 35.91 kB / 0.9116 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-05/1.197, allocations: 8 kB / 0.9116 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.607e-05/1.197, allocations: 15.75 kB / 0.9116 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02671/1.224, allocations: 14.64 MB / 0.9259 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.156e-05/1.224, allocations: 5.656 kB / 0.9259 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00329/1.227, allocations: 0.5635 MB / 0.9264 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003355/1.23, allocations: 1.319 MB / 0.9277 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005418/1.231, allocations: 12 kB / 0.9277 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/1.242, allocations: 9.646 MB / 0.9372 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.242, allocations: 0 / 0.9372 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01573/1.257, allocations: 11.86 MB / 0.9488 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002576/1.26, allocations: 1.032 MB / 0.9498 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001449/1.262, allocations: 8.703 kB / 0.9498 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003283/1.265, allocations: 135.9 kB / 0.9499 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006322/1.266, allocations: 159.6 kB / 0.95 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003877/1.266, allocations: 91.66 kB / 0.9501 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.004851/1.271, allocations: 2.681 MB / 0.9528 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008642/1.279, allocations: 1.383 MB / 0.9541 GB, free: 106.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (295): * Single equations (assignments): 290 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009054/1.28, allocations: 162.5 kB / 0.9543 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01298/1.293, allocations: 8.858 MB / 0.9629 GB, free: 98.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.293, allocations: 0 / 0.9629 GB, free: 98.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005421/1.299, allocations: 3.642 MB / 0.9665 GB, free: 94.92 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003114/1.302, allocations: 469.7 kB / 0.9669 GB, free: 94.53 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.027/1.329, allocations: 13.04 MB / 0.9796 GB, free: 82.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009308/1.338, allocations: 5.333 MB / 0.9849 GB, free: 78.57 MB / 0.4948 GB Notification: Performance of SimCode: time 8.62e-07/1.338, allocations: 0 / 0.9849 GB, free: 78.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.2406/1.579, allocations: 63.14 MB / 1.047 GB, free: 156.9 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches