Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.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.Forces.Torque3,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3") translateModel(ModelicaTest.MultiBody.Forces.Torque3,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3") [: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.001363/0.001363, allocations: 196.4 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.149/1.149, allocations: 225.5 MB / 234.4 MB, free: 3.395 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008883/0.0008883, allocations: 95.67 kB / 286.3 MB, free: 5.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1661/0.1661, allocations: 45.14 MB / 383.3 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.985e-06/8.005e-06, allocations: 4 kB / 452.6 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09082/0.09084, allocations: 63.24 MB / 0.5038 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2913/0.3822, allocations: 110.9 MB / 0.6121 GB, free: 8.266 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.3825, allocations: 77.64 kB / 0.6122 GB, free: 8.227 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.7124/1.095, allocations: 203.6 MB / 0.811 GB, free: 98.61 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0008476/1.096, allocations: 221.7 kB / 0.8112 GB, free: 98.6 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: 3739 * Number of variables: 3739 Notification: Performance of Generate backend data structure: time 0.04157/1.137, allocations: 10.71 MB / 0.8217 GB, free: 94.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/1.138, allocations: 11.81 kB / 0.8217 GB, free: 94.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04912/1.187, allocations: 12 MB / 0.8334 GB, free: 93.92 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03083/1.218, allocations: 10.66 MB / 0.8438 GB, free: 92.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007352/1.218, allocations: 353.9 kB / 0.8441 GB, free: 92.66 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005437/1.224, allocations: 0.6449 MB / 0.8448 GB, free: 92.64 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03529/1.259, allocations: 15.47 MB / 0.8599 GB, free: 87.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05666/1.316, allocations: 22.68 MB / 0.882 GB, free: 65.83 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001142/1.317, allocations: 131.3 kB / 0.8821 GB, free: 65.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005787/1.323, allocations: 56 kB / 0.8822 GB, free: 65.65 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004026/1.327, allocations: 2.509 MB / 0.8847 GB, free: 63.58 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.382/1.709, allocations: 105 MB / 0.9872 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01363/1.723, allocations: 10.25 MB / 0.9972 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009776/1.732, allocations: 7.256 MB / 1.004 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03866/1.771, allocations: 20.78 MB / 1.025 GB, free: 102 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/1.771, allocations: 81.31 kB / 1.025 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=413): time 1.123e-05/1.771, allocations: 0 / 1.025 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=499): time 0.1243/1.896, allocations: 47.25 MB / 1.071 GB, free: 85.28 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000194/1.896, allocations: 313.4 kB / 1.071 GB, free: 84.96 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01882/1.915, allocations: 6.686 MB / 1.078 GB, free: 79.76 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001942/1.917, allocations: 29.7 kB / 1.078 GB, free: 79.73 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.005071/1.922, allocations: 6.481 MB / 1.084 GB, free: 73.94 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.003352/1.925, allocations: 1.796 MB / 1.086 GB, free: 72.32 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001832/1.927, allocations: 0 / 1.086 GB, free: 72.32 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0006615/1.928, allocations: 0.8553 MB / 1.087 GB, free: 71.62 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007218/1.935, allocations: 5.404 MB / 1.092 GB, free: 66.79 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01084/1.946, allocations: 12.47 MB / 1.104 GB, free: 51.91 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01299/1.959, allocations: 8.145 MB / 1.112 GB, free: 45.43 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000244/1.959, allocations: 74.81 kB / 1.112 GB, free: 45.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1670) (initialization): time 0.03682/1.996, allocations: 19.03 MB / 1.131 GB, free: 29.96 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/1.996, allocations: 10.53 kB / 1.131 GB, free: 29.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007028/1.997, allocations: 252 kB / 1.131 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007712/2.004, allocations: 3.072 MB / 1.134 GB, free: 27.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01229/2.017, allocations: 3.021 MB / 1.137 GB, free: 24.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0241/2.041, allocations: 20.4 MB / 1.157 GB, free: 6.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01202/2.053, allocations: 417.5 kB / 1.157 GB, free: 6.086 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003541/2.057, allocations: 0.748 MB / 1.158 GB, free: 5.371 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1140 * Number of states: 0 () * Number of discrete variables: 120 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueArrow.arrowLine.twoHeadedArrow,torque4.torqueArrow.headAtOrigin,torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceArrow.arrowLine.twoHeadedArrow,torque4.forceArrow.headAtOrigin,torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueArrow.arrowLine.twoHeadedArrow,torque3.torqueArrow.headAtOrigin,torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceArrow.arrowLine.twoHeadedArrow,torque3.forceArrow.headAtOrigin,torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1550): * Single equations (assignments): 1543 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003436/2.06, allocations: 0.7622 MB / 1.159 GB, free: 4.605 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001766/2.062, allocations: 0.7367 MB / 1.159 GB, free: 3.859 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.274/2.336, allocations: 11.79 MB / 1.171 GB, free: 148.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001154/2.336, allocations: 47.16 kB / 1.171 GB, free: 148.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-05/2.336, allocations: 17.81 kB / 1.171 GB, free: 148.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.581e-05/2.336, allocations: 25.45 kB / 1.171 GB, free: 148.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04966/2.386, allocations: 23.6 MB / 1.194 GB, free: 147.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.795e-05/2.386, allocations: 0 / 1.194 GB, free: 147.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005596/2.391, allocations: 0.8731 MB / 1.195 GB, free: 147.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007325/2.399, allocations: 2.624 MB / 1.197 GB, free: 147.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001708/2.401, allocations: 15.09 kB / 1.197 GB, free: 147.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02408/2.425, allocations: 19.25 MB / 1.216 GB, free: 142.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/2.425, allocations: 6.312 kB / 1.216 GB, free: 142.1 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02839/2.453, allocations: 18.39 MB / 1.234 GB, free: 135.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002717/2.456, allocations: 0.7315 MB / 1.235 GB, free: 135.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002888/2.459, allocations: 6.156 kB / 1.235 GB, free: 135.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005263/2.464, allocations: 222.8 kB / 1.235 GB, free: 135.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001077/2.465, allocations: 233.4 kB / 1.235 GB, free: 135.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004299/2.466, allocations: 120.8 kB / 1.235 GB, free: 135.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.008581/2.474, allocations: 4.527 MB / 1.24 GB, free: 133.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01573/2.49, allocations: 2.229 MB / 1.242 GB, free: 133.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (407): * Single equations (assignments): 400 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(4,75.0%) 18,(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.001649/2.492, allocations: 181.4 kB / 1.242 GB, free: 133.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02304/2.515, allocations: 13.54 MB / 1.255 GB, free: 129.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/2.515, allocations: 1.859 kB / 1.255 GB, free: 129.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0109/2.526, allocations: 5.705 MB / 1.261 GB, free: 126.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008369/2.534, allocations: 0.8727 MB / 1.262 GB, free: 125.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05147/2.586, allocations: 21.1 MB / 1.283 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0155/2.601, allocations: 8.134 MB / 1.29 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.142e-06/2.601, allocations: 4 kB / 1.29 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.4629/3.064, allocations: 101.7 MB / 1.39 GB, free: 129.1 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Torque3/Torque3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches