Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001841/0.001841, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.2 MB / 218.9 MB, free: 9.141 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.0009339/0.0009341, allocations: 93.36 kB / 267 MB, free: 9.27 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.431/0.431, allocations: 43.47 MB / 358.6 MB, free: 51.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.025e-05/4.028e-05, allocations: 4 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1372, allocations: 58.85 MB / 484.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4611/0.5984, allocations: 111.5 MB / 0.5817 GB, free: 10.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.5987, allocations: 77.64 kB / 0.5818 GB, free: 10.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9843/1.583, allocations: 241.4 MB / 0.8176 GB, free: 61.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.096e-06/1.583, allocations: 0 / 0.8176 GB, free: 61.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001547/1.585, allocations: 258.8 kB / 0.8178 GB, free: 61.31 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4457 * Number of variables: 4457 Notification: Performance of Generate backend data structure: time 0.05287/1.638, allocations: 12.36 MB / 0.8299 GB, free: 53.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/1.638, allocations: 12.03 kB / 0.8299 GB, free: 53.08 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01446/1.652, allocations: 2.196 MB / 0.832 GB, free: 50.87 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05561/1.708, allocations: 12.81 MB / 0.8446 GB, free: 38.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0372/1.745, allocations: 13.31 MB / 0.8576 GB, free: 24.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001186/1.746, allocations: 0.9665 MB / 0.8585 GB, free: 23.63 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008716/1.755, allocations: 1.269 MB / 0.8597 GB, free: 22.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5128/2.268, allocations: 29.95 MB / 0.889 GB, free: 47.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00167/2.27, allocations: 150.3 kB / 0.8891 GB, free: 47.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008412/2.278, allocations: 0.59 MB / 0.8897 GB, free: 47.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006749/2.285, allocations: 2.866 MB / 0.8925 GB, free: 47.81 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06275/2.348, allocations: 24.32 MB / 0.9163 GB, free: 47.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1885/2.536, allocations: 127.9 MB / 1.041 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03566/2.572, allocations: 13.96 MB / 1.055 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01143/2.583, allocations: 7.962 MB / 1.063 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04281/2.626, allocations: 19.87 MB / 1.082 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/2.626, allocations: 98.86 kB / 1.082 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=562): time 9.838e-06/2.626, allocations: 3.938 kB / 1.082 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=646): time 0.5895/3.216, allocations: 59.59 MB / 1.14 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001965/3.216, allocations: 380.8 kB / 1.141 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03025/3.246, allocations: 10.64 MB / 1.151 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.00214/3.249, allocations: 125.3 kB / 1.151 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.008649/3.257, allocations: 8.558 MB / 1.159 GB, free: 104.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004589/3.262, allocations: 2.378 MB / 1.162 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00281/3.265, allocations: 316 kB / 1.162 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001058/3.266, allocations: 0.9602 MB / 1.163 GB, free: 102.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01216/3.278, allocations: 6.632 MB / 1.169 GB, free: 102.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02092/3.299, allocations: 15.07 MB / 1.184 GB, free: 90 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01882/3.318, allocations: 9.885 MB / 1.194 GB, free: 86.96 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004603/3.318, allocations: 83.31 kB / 1.194 GB, free: 86.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2020) (initialization): time 0.05441/3.373, allocations: 24.58 MB / 1.218 GB, free: 78.98 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000367/3.373, allocations: 129.7 kB / 1.218 GB, free: 78.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006737/3.374, allocations: 298.7 kB / 1.218 GB, free: 78.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008514/3.382, allocations: 3.302 MB / 1.222 GB, free: 78.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01554/3.398, allocations: 3.759 MB / 1.225 GB, free: 75.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02598/3.424, allocations: 22.58 MB / 1.247 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0192/3.443, allocations: 0.9353 MB / 1.248 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004642/3.448, allocations: 0.8892 MB / 1.249 GB, free: 53.66 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1346 * 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.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[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.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (1900): * Single equations (assignments): 1893 * 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 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007616/3.456, allocations: 1.296 MB / 1.25 GB, free: 52.36 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004285/3.46, allocations: 1.072 MB / 1.251 GB, free: 51.28 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03199/3.492, allocations: 14.59 MB / 1.266 GB, free: 39.46 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001033/3.492, allocations: 68 kB / 1.266 GB, free: 39.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.748e-05/3.492, allocations: 19.95 kB / 1.266 GB, free: 39.38 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002086/3.492, allocations: 32.2 kB / 1.266 GB, free: 39.38 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08294/3.575, allocations: 32.4 MB / 1.297 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.46e-05/3.575, allocations: 19.98 kB / 1.297 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00721/3.583, allocations: 1.283 MB / 1.299 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.465/4.048, allocations: 2.993 MB / 1.302 GB, free: 103 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002196/4.05, allocations: 125.7 kB / 1.302 GB, free: 103 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02855/4.079, allocations: 21.07 MB / 1.322 GB, free: 97.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/4.079, allocations: 16.44 kB / 1.322 GB, free: 97.75 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04398/4.123, allocations: 26.09 MB / 1.348 GB, free: 92.34 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01008/4.133, allocations: 2.182 MB / 1.35 GB, free: 92.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006298/4.139, allocations: 122.8 kB / 1.35 GB, free: 92.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01069/4.15, allocations: 449.2 kB / 1.35 GB, free: 92.25 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00298/4.153, allocations: 410.3 kB / 1.351 GB, free: 92.24 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001289/4.154, allocations: 174 kB / 1.351 GB, free: 92.24 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.02516/4.179, allocations: 7.663 MB / 1.358 GB, free: 91.86 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.303e-06/4.179, allocations: 0 / 1.358 GB, free: 91.86 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02364/4.203, allocations: 3.112 MB / 1.362 GB, free: 91.86 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.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 (553): * Single equations (assignments): 546 * 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.04653/4.25, allocations: 27.2 MB / 1.388 GB, free: 79.25 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02983/4.279, allocations: 16.58 MB / 1.404 GB, free: 73.91 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-05/4.279, allocations: 3.281 kB / 1.404 GB, free: 73.91 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.012/4.292, allocations: 7.025 MB / 1.411 GB, free: 71.21 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01249/4.304, allocations: 1.357 MB / 1.412 GB, free: 70.64 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08483/4.389, allocations: 29.86 MB / 1.442 GB, free: 48.61 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02059/4.41, allocations: 8.892 MB / 1.45 GB, free: 42.25 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0194/4.429, allocations: 5.159 MB / 1.455 GB, free: 38.87 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01459/4.444, allocations: 6.427 MB / 1.462 GB, free: 32.89 MB / 0.5573 GB Notification: Performance of SimCode: time 1.563e-06/4.444, allocations: 0 / 1.462 GB, free: 32.89 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7564/5.2, allocations: 239.7 MB / 1.696 GB, free: 2.578 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/5.2, allocations: 167.4 kB / 1.696 GB, free: 2.355 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.36/21.56, allocations: 0 / 1.696 GB, free: 2.355 MB / 0.573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2_res.mat does not exist to compare? outputFormat=mat