Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.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.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") [: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.001567/0.001567, allocations: 205.6 kB / 8.54 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 225.5 MB / 234.4 MB, free: 3.332 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008645/0.0008647, allocations: 88.34 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1702/0.1702, allocations: 45.15 MB / 383.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.382e-06/6.402e-06, allocations: 0 / 452.6 MB, free: 76.21 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09385/0.09387, allocations: 63.24 MB / 0.5038 GB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2956/0.3895, allocations: 106.1 MB / 0.6074 GB, free: 13.05 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.3897, allocations: 78.25 kB / 0.6075 GB, free: 13.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.5753/0.965, allocations: 152.2 MB / 0.756 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002836/0.9654, allocations: 140.2 kB / 0.7562 GB, free: 103.4 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.01761/0.983, allocations: 7.246 MB / 0.7633 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.983, allocations: 11.41 kB / 0.7633 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0146/0.9976, allocations: 2.898 MB / 0.7661 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01639/1.014, allocations: 7.951 MB / 0.7739 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003188/1.014, allocations: 243.1 kB / 0.7741 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002497/1.017, allocations: 455.9 kB / 0.7745 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01621/1.033, allocations: 10.69 MB / 0.785 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0281/1.061, allocations: 15.62 MB / 0.8002 GB, free: 96.54 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003556/1.062, allocations: 88.41 kB / 0.8003 GB, free: 96.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00259/1.064, allocations: 42.72 kB / 0.8003 GB, free: 96.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002325/1.067, allocations: 1.728 MB / 0.802 GB, free: 96.51 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08164/1.148, allocations: 77.67 MB / 0.8779 GB, free: 44.53 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003487/1.152, allocations: 2.452 MB / 0.8803 GB, free: 43.27 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002094/1.154, allocations: 1.336 MB / 0.8816 GB, free: 42.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01341/1.167, allocations: 6.729 MB / 0.8881 GB, free: 39.24 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/1.167, allocations: 49 kB / 0.8882 GB, free: 39.19 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=134): time 4.668e-06/1.167, allocations: 0 / 0.8882 GB, free: 39.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=134): time 0.013/1.18, allocations: 3.808 MB / 0.8919 GB, free: 38.36 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/1.181, allocations: 143.3 kB / 0.892 GB, free: 38.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01114/1.192, allocations: 5.018 MB / 0.8969 GB, free: 35.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002569/1.192, allocations: 25.7 kB / 0.897 GB, free: 35.13 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00322/1.195, allocations: 4.958 MB / 0.9018 GB, free: 30.69 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008907/1.196, allocations: 0.5784 MB / 0.9024 GB, free: 30.18 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008932/1.197, allocations: 0 / 0.9024 GB, free: 30.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007743/1.198, allocations: 0.6485 MB / 0.903 GB, free: 29.62 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003325/1.201, allocations: 1.959 MB / 0.9049 GB, free: 27.87 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005035/1.206, allocations: 7.426 MB / 0.9122 GB, free: 18.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004835/1.211, allocations: 3.786 MB / 0.9159 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.309e-05/1.211, allocations: 56 kB / 0.9159 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.0124/1.224, allocations: 7.984 MB / 0.9237 GB, free: 7.699 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/1.224, allocations: 8 kB / 0.9237 GB, free: 7.691 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001974/1.224, allocations: 200.1 kB / 0.9239 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002048/1.224, allocations: 288 kB / 0.9242 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006304/1.23, allocations: 1.971 MB / 0.9261 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001934/1.231, allocations: 386.9 kB / 0.9265 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007803/1.238, allocations: 1.075 MB / 0.9275 GB, free: 4.117 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00145/1.24, allocations: 0.5111 MB / 0.928 GB, free: 3.609 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 907 * Number of states: 0 () * Number of discrete variables: 68 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 (1031): * Single equations (assignments): 1028 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001613/1.242, allocations: 0.5894 MB / 0.9286 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009775/1.243, allocations: 497.5 kB / 0.9291 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/1.244, allocations: 0.5698 MB / 0.9296 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.87e-05/1.244, allocations: 11.91 kB / 0.9297 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.765e-05/1.244, allocations: 4 kB / 0.9297 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/1.244, allocations: 7.078 kB / 0.9297 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02595/1.27, allocations: 13.02 MB / 0.9424 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.213e-05/1.27, allocations: 20 kB / 0.9424 GB, free: 7.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/1.271, allocations: 203.1 kB / 0.9426 GB, free: 7.168 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-05/1.271, allocations: 31.61 kB / 0.9426 GB, free: 7.141 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/1.272, allocations: 31.28 kB / 0.9427 GB, free: 7.113 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.384e-05/1.272, allocations: 35.67 kB / 0.9427 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.632e-05/1.272, allocations: 27.88 kB / 0.9427 GB, free: 7.055 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005273/1.277, allocations: 5.783 MB / 0.9484 GB, free: 0.4961 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/1.278, allocations: 0.5434 MB / 0.9489 GB, free: 15.95 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006808/1.279, allocations: 27.94 kB / 0.9489 GB, free: 15.92 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001982/1.281, allocations: 114.1 kB / 0.949 GB, free: 15.84 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/1.281, allocations: 118.2 kB / 0.9491 GB, free: 15.75 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/1.281, allocations: 59.19 kB / 0.9492 GB, free: 15.69 MB / 0.5574 GB Notification: Performance of sort global known variables: time 0.007734/1.289, allocations: 3.387 MB / 0.9525 GB, free: 12.75 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.00893/1.298, allocations: 1.737 MB / 0.9542 GB, free: 11 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 107 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005844/1.299, allocations: 170.3 kB / 0.9544 GB, free: 10.83 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.008652/1.307, allocations: 4.553 MB / 0.9588 GB, free: 6.734 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.948e-05/1.307, allocations: 8 kB / 0.9588 GB, free: 6.727 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.001391/1.309, allocations: 0.8467 MB / 0.9596 GB, free: 5.984 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003912/1.313, allocations: 0.6493 MB / 0.9603 GB, free: 5.441 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2139/1.527, allocations: 12.33 MB / 0.9723 GB, free: 175.8 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008602/1.535, allocations: 5.676 MB / 0.9779 GB, free: 174.9 MB / 0.5574 GB Notification: Performance of SimCode: time 1.152e-06/1.535, allocations: 0 / 0.9779 GB, free: 174.9 MB / 0.5574 GB Notification: Performance of Templates: time 0.08028/1.616, allocations: 39.4 MB / 1.016 GB, free: 173.1 MB / 0.5574 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches