Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.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.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2") [: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.001578/0.001578, allocations: 170.7 kB / 8.147 MB, free: 2.223 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.653/1.653, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001257/0.001257, allocations: 92.14 kB / 261.8 MB, free: 13.64 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.2497/0.2497, allocations: 43.49 MB / 353.2 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.929e-06/9.968e-06, allocations: 0 / 417.7 MB, free: 40.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2983, allocations: 58.84 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1895/0.4878, allocations: 101.3 MB / 0.5643 GB, free: 13.73 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.4882, allocations: 79.91 kB / 0.5644 GB, free: 13.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2337/0.7219, allocations: 54.98 MB / 0.6181 GB, free: 6.234 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001402/0.7221, allocations: 56 kB / 0.6181 GB, free: 6.18 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.01142/0.7335, allocations: 2.673 MB / 0.6208 GB, free: 3.449 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.218e-05/0.7336, allocations: 8.031 kB / 0.6208 GB, free: 3.441 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04423/0.7779, allocations: 1.509 MB / 0.6222 GB, free: 1.926 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01705/0.795, allocations: 1.766 MB / 0.624 GB, free: 112 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002947/0.7953, allocations: 96 kB / 0.6241 GB, free: 16 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002149/0.7975, allocations: 168 kB / 0.6242 GB, free: 15.85 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03158/0.8291, allocations: 4.563 MB / 0.6287 GB, free: 11.28 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03029/0.8595, allocations: 6.312 MB / 0.6348 GB, free: 4.574 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001695/0.8597, allocations: 19.81 kB / 0.6349 GB, free: 4.555 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001688/0.8614, allocations: 11.91 kB / 0.6349 GB, free: 4.543 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002279/0.8637, allocations: 0.7436 MB / 0.6356 GB, free: 3.797 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2375/1.101, allocations: 23.68 MB / 0.6587 GB, free: 164.2 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002815/1.104, allocations: 1.517 MB / 0.6602 GB, free: 163.6 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/1.105, allocations: 0.5985 MB / 0.6608 GB, free: 163.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.929e-05/1.106, allocations: 12.06 kB / 0.6608 GB, free: 163.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/1.106, allocations: 45.69 kB / 0.6608 GB, free: 163.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=108): time 3.987e-06/1.106, allocations: 3.828 kB / 0.6608 GB, free: 163.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.005649/1.111, allocations: 1.571 MB / 0.6624 GB, free: 163.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/1.111, allocations: 63.22 kB / 0.6624 GB, free: 163.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003447/1.115, allocations: 1.677 MB / 0.6641 GB, free: 163.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001921/1.115, allocations: 25.7 kB / 0.6641 GB, free: 163.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001292/1.116, allocations: 1.98 MB / 0.666 GB, free: 162 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006089/1.117, allocations: 409.6 kB / 0.6664 GB, free: 161.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003295/1.117, allocations: 0 / 0.6664 GB, free: 161.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002679/1.118, allocations: 466 kB / 0.6669 GB, free: 161.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00225/1.12, allocations: 0.973 MB / 0.6678 GB, free: 161.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003533/1.124, allocations: 3.116 MB / 0.6709 GB, free: 158.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003887/1.127, allocations: 1.793 MB / 0.6726 GB, free: 158.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.26e-05/1.128, allocations: 22.22 kB / 0.6726 GB, free: 158.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=459) (initialization): time 0.009261/1.137, allocations: 3.554 MB / 0.6761 GB, free: 157.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/1.137, allocations: 6.688 kB / 0.6761 GB, free: 157.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001018/1.137, allocations: 76.22 kB / 0.6762 GB, free: 157.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001309/1.137, allocations: 116.7 kB / 0.6763 GB, free: 157.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00476/1.142, allocations: 0.783 MB / 0.6771 GB, free: 157.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001149/1.142, allocations: 158.1 kB / 0.6772 GB, free: 157.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002899/1.145, allocations: 254 kB / 0.6774 GB, free: 157.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006529/1.146, allocations: 223.9 kB / 0.6777 GB, free: 157.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 353 * Number of states: 0 () * Number of discrete variables: 24 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (435): * Single equations (assignments): 432 * 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.0005594/1.146, allocations: 223.3 kB / 0.6779 GB, free: 157.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004484/1.147, allocations: 174.4 kB / 0.678 GB, free: 157.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003268/1.15, allocations: 1.389 MB / 0.6794 GB, free: 156.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.048e-05/1.15, allocations: 8 kB / 0.6794 GB, free: 156.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.15, allocations: 2.219 kB / 0.6794 GB, free: 156.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/1.15, allocations: 3.891 kB / 0.6794 GB, free: 156.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/1.162, allocations: 5.389 MB / 0.6847 GB, free: 154.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/1.162, allocations: 11.69 kB / 0.6847 GB, free: 154.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/1.164, allocations: 163 kB / 0.6848 GB, free: 154.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.418e-05/1.164, allocations: 15.5 kB / 0.6849 GB, free: 154.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.841e-05/1.164, allocations: 20.22 kB / 0.6849 GB, free: 154.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-05/1.164, allocations: 23.2 kB / 0.6849 GB, free: 154.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.308e-05/1.164, allocations: 27.41 kB / 0.6849 GB, free: 154.4 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003165/1.167, allocations: 2.479 MB / 0.6873 GB, free: 152.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000574/1.168, allocations: 311.4 kB / 0.6876 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003787/1.168, allocations: 26.41 kB / 0.6877 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/1.169, allocations: 26.52 kB / 0.6877 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/1.169, allocations: 75.36 kB / 0.6878 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/1.17, allocations: 42 kB / 0.6878 GB, free: 152.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.002658/1.172, allocations: 1.131 MB / 0.6889 GB, free: 151.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004374/1.177, allocations: 0.7178 MB / 0.6896 GB, free: 151.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.0005537/1.177, allocations: 162.2 kB / 0.6898 GB, free: 151.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005707/1.183, allocations: 2.288 MB / 0.692 GB, free: 150.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/1.183, allocations: 0.875 kB / 0.692 GB, free: 150.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001451/1.185, allocations: 0.6274 MB / 0.6926 GB, free: 150.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/1.186, allocations: 179.7 kB / 0.6928 GB, free: 150.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/1.201, allocations: 5.236 MB / 0.6979 GB, free: 148.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005363/1.207, allocations: 2.697 MB / 0.7005 GB, free: 146.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.623e-06/1.207, allocations: 0 / 0.7005 GB, free: 146.5 MB / 474.7 MB Notification: Performance of Templates: time 0.07341/1.28, allocations: 31.73 MB / 0.7315 GB, free: 121.5 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches