Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.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.Torque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque3",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.001077/0.001077, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.528/1.528, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.000942/0.0009419, allocations: 90.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2083/0.2083, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003237, allocations: 12 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1214, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.421/0.5425, allocations: 110.1 MB / 0.5864 GB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.5428, allocations: 82.2 kB / 0.5865 GB, free: 5.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8784/1.421, allocations: 224.5 MB / 0.8057 GB, free: 86.49 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.609e-06/1.421, allocations: 3.156 kB / 0.8057 GB, free: 86.49 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008537/1.422, allocations: 237.4 kB / 0.8059 GB, free: 86.48 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: 4187 * Number of variables: 4187 Notification: Performance of Generate backend data structure: time 0.04753/1.47, allocations: 12.28 MB / 0.8179 GB, free: 77.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.826e-05/1.47, allocations: 12.03 kB / 0.818 GB, free: 77.69 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01333/1.483, allocations: 2.079 MB / 0.82 GB, free: 75.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05071/1.534, allocations: 12.62 MB / 0.8323 GB, free: 63.01 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03603/1.57, allocations: 12.63 MB / 0.8446 GB, free: 50.47 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009902/1.571, allocations: 0.9031 MB / 0.8455 GB, free: 49.58 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006538/1.578, allocations: 1.203 MB / 0.8467 GB, free: 48.38 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07452/1.652, allocations: 28.39 MB / 0.8744 GB, free: 17.96 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001139/1.653, allocations: 138.7 kB / 0.8746 GB, free: 17.83 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007261/1.661, allocations: 0.5505 MB / 0.8751 GB, free: 17.28 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004202/1.665, allocations: 2.687 MB / 0.8777 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05894/1.724, allocations: 23.57 MB / 0.9007 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5354/2.259, allocations: 117 MB / 1.015 GB, free: 39.37 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0331/2.293, allocations: 13.74 MB / 1.028 GB, free: 35.41 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002768/2.295, allocations: 2.343 MB / 1.031 GB, free: 33.36 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001283/2.296, allocations: 93.62 kB / 1.031 GB, free: 33.28 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=559): time 9.518e-06/2.296, allocations: 2.469 kB / 1.031 GB, free: 33.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=643): time 0.1736/2.469, allocations: 62.41 MB / 1.092 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002561/2.469, allocations: 328.8 kB / 1.092 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02288/2.492, allocations: 9.085 MB / 1.101 GB, free: 7.039 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002063/2.494, allocations: 128 kB / 1.101 GB, free: 6.91 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.009654/2.504, allocations: 7.751 MB / 1.109 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00518/2.509, allocations: 2.337 MB / 1.111 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002999/2.512, allocations: 288 kB / 1.111 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001854/2.514, allocations: 0.9265 MB / 1.112 GB, free: 12.85 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01453/2.529, allocations: 6.524 MB / 1.118 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3724/2.901, allocations: 14.11 MB / 1.132 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02081/2.922, allocations: 9.419 MB / 1.141 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006593/2.923, allocations: 75.53 kB / 1.141 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1864) (initialization): time 0.05562/2.979, allocations: 23.54 MB / 1.164 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003255/2.979, allocations: 116.8 kB / 1.165 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005376/2.979, allocations: 265.2 kB / 1.165 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008458/2.988, allocations: 3.267 MB / 1.168 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01406/3.002, allocations: 3.505 MB / 1.171 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02567/3.028, allocations: 23.21 MB / 1.194 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01441/3.042, allocations: 0.8721 MB / 1.195 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003995/3.046, allocations: 0.8109 MB / 1.196 GB, free: 115 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1204 * Number of states: 0 () * Number of discrete variables: 108 (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],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.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],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1744): * Single equations (assignments): 1737 * 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.01593/3.062, allocations: 5.345 MB / 1.201 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002782/3.065, allocations: 0.9453 MB / 1.202 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02993/3.095, allocations: 14.61 MB / 1.216 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001083/3.095, allocations: 66.48 kB / 1.216 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.088e-05/3.095, allocations: 15.72 kB / 1.216 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001727/3.095, allocations: 31.91 kB / 1.216 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0699/3.165, allocations: 31.3 MB / 1.247 GB, free: 90.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.778e-05/3.165, allocations: 4 kB / 1.247 GB, free: 90.26 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006744/3.172, allocations: 1.214 MB / 1.248 GB, free: 89.31 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006997/3.179, allocations: 2.835 MB / 1.251 GB, free: 87.33 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002031/3.181, allocations: 123.4 kB / 1.251 GB, free: 87.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02555/3.207, allocations: 21.73 MB / 1.272 GB, free: 68 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.373e-06/3.207, allocations: 8 kB / 1.272 GB, free: 67.99 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04326/3.25, allocations: 24.03 MB / 1.296 GB, free: 46.57 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008875/3.259, allocations: 2.043 MB / 1.298 GB, free: 44.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003932/3.263, allocations: 109.2 kB / 1.298 GB, free: 44.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008438/3.272, allocations: 494.2 kB / 1.298 GB, free: 43.92 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00252/3.274, allocations: 395.8 kB / 1.299 GB, free: 43.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001361/3.275, allocations: 160.7 kB / 1.299 GB, free: 43.38 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0138/3.289, allocations: 6.527 MB / 1.305 GB, free: 36.88 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.41e-07/3.289, allocations: 0 / 1.305 GB, free: 36.88 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02121/3.311, allocations: 2.937 MB / 1.308 GB, free: 33.95 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (554): * Single equations (assignments): 547 * 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.4045/3.715, allocations: 25.21 MB / 1.333 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02834/3.743, allocations: 16.29 MB / 1.348 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.444e-05/3.743, allocations: 3.625 kB / 1.348 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01233/3.756, allocations: 7.167 MB / 1.355 GB, free: 121.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00805/3.764, allocations: 1.19 MB / 1.357 GB, free: 121.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6352/4.399, allocations: 308.3 MB / 1.658 GB, free: 105.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02499/4.424, allocations: 8.311 MB / 1.666 GB, free: 103.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.01951/4.444, allocations: 4.727 MB / 1.67 GB, free: 103.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01529/4.459, allocations: 5.877 MB / 1.676 GB, free: 98.96 MB / 0.6198 GB Notification: Performance of SimCode: time 2.104e-06/4.459, allocations: 10.73 kB / 1.676 GB, free: 98.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7162/5.175, allocations: 222.5 MB / 1.894 GB, free: 111.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/5.176, allocations: 188.9 kB / 1.894 GB, free: 111.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/17.15, allocations: 3.375 kB / 1.894 GB, free: 111.6 MB / 0.6198 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3_res.mat does not exist to compare? outputFormat=mat