Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") [: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.0009085/0.0009085, allocations: 187.8 kB / 7.804 MB, free: 2.492 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.005/1.005, 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.0007941/0.0007941, allocations: 94.34 kB / 261.4 MB, free: 13.62 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.1505/0.1505, allocations: 43.49 MB / 352.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.581e-06/5.591e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2005, allocations: 58.84 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1139/0.3144, allocations: 106.2 MB / 0.5691 GB, free: 8.715 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001832/0.3146, allocations: 75.95 kB / 0.5692 GB, free: 8.641 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.4004/0.7151, allocations: 111.3 MB / 0.6778 GB, free: 106 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001862/0.7153, allocations: 111.8 kB / 0.678 GB, free: 106 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.0104/0.7257, allocations: 5.41 MB / 0.6832 GB, free: 103.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.7257, allocations: 11 kB / 0.6832 GB, free: 103.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02313/0.7489, allocations: 6.579 MB / 0.6897 GB, free: 102.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0166/0.7655, allocations: 6.954 MB / 0.6965 GB, free: 99.91 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000275/0.7658, allocations: 177 kB / 0.6966 GB, free: 99.91 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002195/0.768, allocations: 329.8 kB / 0.6969 GB, free: 99.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01352/0.7815, allocations: 7.701 MB / 0.7045 GB, free: 97.27 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01662/0.7982, allocations: 12 MB / 0.7162 GB, free: 88.19 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001594/0.7984, allocations: 79.28 kB / 0.7163 GB, free: 88.11 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005488/0.7989, allocations: 36 kB / 0.7163 GB, free: 88.08 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001227/0.8002, allocations: 1.347 MB / 0.7176 GB, free: 86.73 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04427/0.8444, allocations: 58.76 MB / 0.775 GB, free: 26.62 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003335/0.8478, allocations: 3.742 MB / 0.7786 GB, free: 22.73 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/0.8498, allocations: 2.386 MB / 0.781 GB, free: 20.33 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008747/0.8586, allocations: 6.975 MB / 0.7878 GB, free: 13.24 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.8586, allocations: 55.59 kB / 0.7878 GB, free: 13.17 MB / 474.7 MB Notification: Performance of pre-optimization done (n=174): time 2.865e-06/0.8586, allocations: 3.938 kB / 0.7878 GB, free: 13.17 MB / 474.7 MB Notification: Performance of matching and sorting (n=188): time 0.02678/0.8854, allocations: 16.91 MB / 0.8044 GB, free: 12.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.835e-05/0.8856, allocations: 226.8 kB / 0.8046 GB, free: 11.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00574/0.8913, allocations: 4.247 MB / 0.8087 GB, free: 7.555 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002361/0.8916, allocations: 25.7 kB / 0.8087 GB, free: 7.523 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002471/0.894, allocations: 3.855 MB / 0.8125 GB, free: 3.605 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006839/0.8947, allocations: 0.729 MB / 0.8132 GB, free: 2.867 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.895, allocations: 0 / 0.8132 GB, free: 2.867 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003878/0.8953, allocations: 0.6241 MB / 0.8138 GB, free: 2.238 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002965/0.8983, allocations: 2.248 MB / 0.816 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005571/0.9039, allocations: 6.922 MB / 0.8228 GB, free: 6.711 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004895/0.9088, allocations: 3.952 MB / 0.8266 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.688e-05/0.9089, allocations: 48 kB / 0.8267 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of matching and sorting (n=975) (initialization): time 0.148/1.057, allocations: 8.441 MB / 0.8349 GB, free: 172.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/1.057, allocations: 4.406 kB / 0.8349 GB, free: 172.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000134/1.057, allocations: 172.6 kB / 0.8351 GB, free: 172.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/1.058, allocations: 0.6164 MB / 0.8357 GB, free: 172 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004679/1.063, allocations: 1.701 MB / 0.8374 GB, free: 172 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004857/1.068, allocations: 5.445 MB / 0.8427 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004675/1.072, allocations: 226.2 kB / 0.8429 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005884/1.073, allocations: 465.2 kB / 0.8433 GB, free: 169.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 767 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 (923): * Single equations (assignments): 918 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007044/1.074, allocations: 0.5158 MB / 0.8439 GB, free: 169.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004924/1.074, allocations: 430.2 kB / 0.8443 GB, free: 169.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004099/1.078, allocations: 2.89 MB / 0.8471 GB, free: 169.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.22e-05/1.078, allocations: 18.53 kB / 0.8471 GB, free: 169.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/1.078, allocations: 6.906 kB / 0.8471 GB, free: 169.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/1.078, allocations: 16.72 kB / 0.8471 GB, free: 169.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009932/1.088, allocations: 7.217 MB / 0.8542 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/1.088, allocations: 6.562 kB / 0.8542 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/1.09, allocations: 262.7 kB / 0.8544 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009071/1.091, allocations: 352.6 kB / 0.8548 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/1.091, allocations: 9.938 kB / 0.8548 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004165/1.095, allocations: 4.769 MB / 0.8594 GB, free: 166.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.095, allocations: 3.625 kB / 0.8594 GB, free: 166.2 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005797/1.101, allocations: 5.601 MB / 0.8649 GB, free: 164.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/1.102, allocations: 0.7048 MB / 0.8656 GB, free: 163.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000508/1.103, allocations: 3.906 kB / 0.8656 GB, free: 163.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/1.104, allocations: 42.09 kB / 0.8656 GB, free: 163.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/1.104, allocations: 87.77 kB / 0.8657 GB, free: 163.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/1.104, allocations: 50.62 kB / 0.8658 GB, free: 163.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.003479/1.108, allocations: 2.879 MB / 0.8686 GB, free: 162.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004841/1.113, allocations: 1.05 MB / 0.8696 GB, free: 162.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 142 * 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 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003285/1.113, allocations: 137.2 kB / 0.8697 GB, free: 162.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005814/1.119, allocations: 5.477 MB / 0.8751 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.119, allocations: 5.312 kB / 0.8751 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001625/1.12, allocations: 1.625 MB / 0.8767 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/1.122, allocations: 476.6 kB / 0.8771 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/1.136, allocations: 9.574 MB / 0.8865 GB, free: 156.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005122/1.141, allocations: 4.578 MB / 0.891 GB, free: 155.2 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/1.141, allocations: 3.938 kB / 0.891 GB, free: 155.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.06692/1.208, allocations: 42.17 MB / 0.9321 GB, free: 126.5 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches