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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001022/0.001022, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007866/0.0007867, allocations: 97.81 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1817/0.1817, allocations: 45.15 MB / 383.7 MB, free: 288 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.836e-05/1.838e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09988/0.09991, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4426/0.5426, allocations: 111 MB / 0.6127 GB, free: 7.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.5429, allocations: 74.72 kB / 0.6128 GB, free: 7.805 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7781/1.321, allocations: 205.7 MB / 0.8137 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.433e-06/1.321, allocations: 0 / 0.8137 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001069/1.322, allocations: 221.5 kB / 0.8139 GB, free: 100.3 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.04139/1.364, allocations: 10.72 MB / 0.8244 GB, free: 96.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/1.364, allocations: 15.09 kB / 0.8244 GB, free: 96.43 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04885/1.412, allocations: 12.43 MB / 0.8365 GB, free: 95.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02823/1.441, allocations: 10.56 MB / 0.8469 GB, free: 93.96 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007066/1.441, allocations: 358.5 kB / 0.8472 GB, free: 93.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005811/1.447, allocations: 0.6453 MB / 0.8478 GB, free: 93.94 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03066/1.478, allocations: 14.97 MB / 0.8624 GB, free: 86.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05467/1.533, allocations: 22.19 MB / 0.8841 GB, free: 64.85 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001129/1.534, allocations: 126.8 kB / 0.8842 GB, free: 64.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006079/1.54, allocations: 64 kB / 0.8843 GB, free: 64.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003754/1.544, allocations: 2.353 MB / 0.8866 GB, free: 62.32 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5284/2.072, allocations: 102.7 MB / 0.9869 GB, free: 52.46 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01377/2.086, allocations: 9.625 MB / 0.9963 GB, free: 51.21 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009098/2.095, allocations: 6.657 MB / 1.003 GB, free: 51.16 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002326/2.098, allocations: 2.322 MB / 1.005 GB, free: 49.16 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.315e-05/2.098, allocations: 83.78 kB / 1.005 GB, free: 49.12 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=425): time 7.624e-06/2.098, allocations: 2.438 kB / 1.005 GB, free: 49.12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=513): time 0.116/2.214, allocations: 52.16 MB / 1.056 GB, free: 35.66 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001944/2.214, allocations: 309 kB / 1.056 GB, free: 35.34 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01889/2.233, allocations: 6.592 MB / 1.063 GB, free: 32.99 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002214/2.235, allocations: 28.55 kB / 1.063 GB, free: 32.96 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.005839/2.241, allocations: 7.232 MB / 1.07 GB, free: 27.57 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.003101/2.244, allocations: 1.838 MB / 1.072 GB, free: 26.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002268/2.246, allocations: 0 / 1.072 GB, free: 26.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001513/2.248, allocations: 0.8545 MB / 1.073 GB, free: 25.66 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00875/2.257, allocations: 5.292 MB / 1.078 GB, free: 23.75 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01306/2.27, allocations: 12.36 MB / 1.09 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01339/2.283, allocations: 7.986 MB / 1.098 GB, free: 5.508 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004263/2.284, allocations: 75.95 kB / 1.098 GB, free: 5.434 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1684) (initialization): time 0.04434/2.328, allocations: 19.21 MB / 1.116 GB, free: 6.199 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004807/2.329, allocations: 112 kB / 1.117 GB, free: 6.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005962/2.329, allocations: 252 kB / 1.117 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008475/2.338, allocations: 3.246 MB / 1.12 GB, free: 3.457 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0124/2.35, allocations: 3.134 MB / 1.123 GB, free: 0.8438 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03055/2.381, allocations: 21.43 MB / 1.144 GB, free: 14.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01238/2.393, allocations: 0.5297 MB / 1.144 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00403/2.397, allocations: 0.747 MB / 1.145 GB, free: 13.17 MB / 0.5886 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 (1564): * Single equations (assignments): 1557 * 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.005981/2.403, allocations: 0.7704 MB / 1.146 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004161/2.407, allocations: 0.7405 MB / 1.147 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02696/2.434, allocations: 11.64 MB / 1.158 GB, free: 2.391 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-05/2.434, allocations: 62.25 kB / 1.158 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.751e-05/2.434, allocations: 20 kB / 1.158 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001226/2.435, allocations: 21.05 kB / 1.158 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06114/2.496, allocations: 24.08 MB / 1.182 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-05/2.496, allocations: 7.625 kB / 1.182 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00552/2.501, allocations: 0.975 MB / 1.183 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007541/2.509, allocations: 2.803 MB / 1.185 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001321/2.51, allocations: 15.94 kB / 1.185 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4321/2.942, allocations: 19.77 MB / 1.205 GB, free: 164.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/2.942, allocations: 2.156 kB / 1.205 GB, free: 164.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02917/2.972, allocations: 18.33 MB / 1.223 GB, free: 163.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002174/2.974, allocations: 0.7426 MB / 1.223 GB, free: 163.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00106/2.975, allocations: 2.812 kB / 1.223 GB, free: 163.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00366/2.979, allocations: 326.6 kB / 1.224 GB, free: 163.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007984/2.979, allocations: 306 kB / 1.224 GB, free: 163.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003651/2.98, allocations: 127.1 kB / 1.224 GB, free: 163.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.006732/2.986, allocations: 4.439 MB / 1.228 GB, free: 163.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.91e-07/2.987, allocations: 0 / 1.228 GB, free: 163.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.01083/2.997, allocations: 2.261 MB / 1.231 GB, free: 163.4 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,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 (421): * Single equations (assignments): 414 * 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.0007846/2.998, allocations: 189.8 kB / 1.231 GB, free: 163.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01996/3.018, allocations: 13.68 MB / 1.244 GB, free: 162.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/3.018, allocations: 1.625 kB / 1.244 GB, free: 162.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.01076/3.029, allocations: 5.868 MB / 1.25 GB, free: 160.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007813/3.037, allocations: 0.8839 MB / 1.251 GB, free: 160.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04855/3.085, allocations: 20.9 MB / 1.271 GB, free: 153 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01628/3.102, allocations: 7.603 MB / 1.279 GB, free: 150.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.01342/3.115, allocations: 4.118 MB / 1.283 GB, free: 150.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003371/3.119, allocations: 0.5325 MB / 1.283 GB, free: 150.5 MB / 0.6198 GB Notification: Performance of SimCode: time 8.62e-07/3.119, allocations: 0 / 1.283 GB, free: 150.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.1487/3.267, allocations: 89.23 MB / 1.37 GB, free: 86.57 MB / 0.6198 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