Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.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.Torque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque",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.001287/0.001288, 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.694/1.694, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009473/0.0009473, allocations: 86.61 kB / 267 MB, free: 9.281 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.432/0.432, allocations: 43.47 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.136e-05/3.145e-05, allocations: 7.984 kB / 425.4 MB, free: 8.082 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1281, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4448/0.573, allocations: 107.5 MB / 0.5779 GB, free: 14.27 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.5733, allocations: 76.58 kB / 0.578 GB, free: 14.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7035/1.277, allocations: 132.6 MB / 0.7075 GB, free: 80.08 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.324e-06/1.277, allocations: 0 / 0.7075 GB, free: 80.08 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004921/1.277, allocations: 135.9 kB / 0.7076 GB, free: 80.08 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: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.02999/1.307, allocations: 6.672 MB / 0.7142 GB, free: 77.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.451e-05/1.307, allocations: 9.625 kB / 0.7142 GB, free: 77.52 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007543/1.315, allocations: 1.193 MB / 0.7153 GB, free: 77.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02946/1.344, allocations: 7.138 MB / 0.7223 GB, free: 76.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02152/1.366, allocations: 7.457 MB / 0.7296 GB, free: 76.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006571/1.367, allocations: 0.4982 MB / 0.7301 GB, free: 76.08 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004007/1.371, allocations: 0.6731 MB / 0.7307 GB, free: 76.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03994/1.411, allocations: 16.09 MB / 0.7464 GB, free: 72.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004836/1.411, allocations: 86.44 kB / 0.7465 GB, free: 72.06 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002187/1.413, allocations: 327.3 kB / 0.7468 GB, free: 72.06 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00289/1.416, allocations: 1.549 MB / 0.7483 GB, free: 72.05 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03028/1.447, allocations: 12.95 MB / 0.761 GB, free: 71.98 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0855/1.532, allocations: 73.09 MB / 0.8324 GB, free: 34.38 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0148/1.547, allocations: 6.47 MB / 0.8387 GB, free: 32.14 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004811/1.552, allocations: 3.675 MB / 0.8423 GB, free: 30.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01591/1.568, allocations: 9.269 MB / 0.8513 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/1.568, allocations: 67.27 kB / 0.8514 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=269): time 5.541e-06/1.568, allocations: 0 / 0.8514 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=311): time 0.06474/1.633, allocations: 25.92 MB / 0.8767 GB, free: 6.656 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.548e-05/1.633, allocations: 239.9 kB / 0.8769 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009791/1.643, allocations: 6.121 MB / 0.8829 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008315/1.644, allocations: 69.7 kB / 0.883 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.418/2.062, allocations: 4.877 MB / 0.8877 GB, free: 90.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002496/2.064, allocations: 1.178 MB / 0.8889 GB, free: 89.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001352/2.066, allocations: 181 kB / 0.8891 GB, free: 89.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008143/2.066, allocations: 0.6876 MB / 0.8897 GB, free: 89.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008064/2.074, allocations: 3.497 MB / 0.8931 GB, free: 89.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01262/2.087, allocations: 8.791 MB / 0.9017 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01075/2.098, allocations: 5.489 MB / 0.9071 GB, free: 82.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003495/2.098, allocations: 54.78 kB / 0.9071 GB, free: 82.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1179) (initialization): time 0.03173/2.13, allocations: 13.55 MB / 0.9204 GB, free: 81.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002075/2.13, allocations: 86.03 kB / 0.9205 GB, free: 81.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003898/2.131, allocations: 184.8 kB / 0.9206 GB, free: 81.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004633/2.135, allocations: 1.71 MB / 0.9223 GB, free: 81.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008944/2.144, allocations: 2.137 MB / 0.9244 GB, free: 81.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01563/2.16, allocations: 11.34 MB / 0.9355 GB, free: 78.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01112/2.171, allocations: 0.5336 MB / 0.936 GB, free: 78.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003395/2.175, allocations: 0.5348 MB / 0.9365 GB, free: 78.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 853 * Number of states: 0 () * Number of discrete variables: 63 (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 (1107): * Single equations (assignments): 1102 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004199/2.179, allocations: 0.8042 MB / 0.9373 GB, free: 78.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001843/2.181, allocations: 0.5977 MB / 0.9379 GB, free: 77.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01382/2.195, allocations: 6.686 MB / 0.9444 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-05/2.195, allocations: 33.84 kB / 0.9444 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.482e-05/2.195, allocations: 9.281 kB / 0.9444 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.785e-05/2.195, allocations: 20.03 kB / 0.9445 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03176/2.227, allocations: 15.14 MB / 0.9593 GB, free: 71.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.327e-05/2.227, allocations: 6.188 kB / 0.9593 GB, free: 71.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002769/2.23, allocations: 0.5602 MB / 0.9598 GB, free: 71.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003416/2.233, allocations: 1.418 MB / 0.9612 GB, free: 71.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005333/2.234, allocations: 54.72 kB / 0.9612 GB, free: 71.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/2.246, allocations: 10.48 MB / 0.9715 GB, free: 65.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/2.246, allocations: 10.61 kB / 0.9715 GB, free: 65.55 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01988/2.266, allocations: 11.75 MB / 0.983 GB, free: 60.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005596/2.271, allocations: 1.157 MB / 0.9841 GB, free: 59.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004173/2.275, allocations: 53.97 kB / 0.9841 GB, free: 59.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005435/2.281, allocations: 209.8 kB / 0.9843 GB, free: 59.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001039/2.282, allocations: 196.4 kB / 0.9845 GB, free: 59.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006507/2.283, allocations: 82.55 kB / 0.9846 GB, free: 59.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01034/2.293, allocations: 4.364 MB / 0.9889 GB, free: 57.92 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/2.293, allocations: 0 / 0.9889 GB, free: 57.92 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0119/2.305, allocations: 1.652 MB / 0.9905 GB, free: 57.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (254): * Single equations (assignments): 249 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.02193/2.327, allocations: 13.12 MB / 1.003 GB, free: 51.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01661/2.344, allocations: 8.705 MB / 1.012 GB, free: 46.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/2.344, allocations: 4 kB / 1.012 GB, free: 46.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00584/2.35, allocations: 3.337 MB / 1.015 GB, free: 43.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005441/2.355, allocations: 0.7079 MB / 1.016 GB, free: 42.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04475/2.4, allocations: 15.44 MB / 1.031 GB, free: 29.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006476/2.406, allocations: 5.037 MB / 1.036 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008091/2.414, allocations: 2.978 MB / 1.039 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006426/2.421, allocations: 3.239 MB / 1.042 GB, free: 20.49 MB / 0.5105 GB Notification: Performance of SimCode: time 1.633e-06/2.421, allocations: 0 / 1.042 GB, free: 20.49 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5874/3.008, allocations: 132.5 MB / 1.171 GB, free: 74.29 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/3.009, allocations: 169.3 kB / 1.171 GB, free: 74.06 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.313/10.32, allocations: 0.5625 kB / 1.171 GB, free: 74.06 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque_res.mat does not exist to compare? outputFormat=mat