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.001088/0.001088, allocations: 185.2 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.485/1.485, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008131/0.0008132, allocations: 102.8 kB / 270.2 MB, free: 13.36 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.2146/0.2146, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.0003077, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1117, allocations: 58.86 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4129/0.5246, allocations: 111.6 MB / 0.5878 GB, free: 4.453 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.5249, allocations: 77.84 kB / 0.5879 GB, free: 4.414 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8682/1.393, allocations: 241.1 MB / 0.8233 GB, free: 72.76 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.524e-06/1.393, allocations: 0 / 0.8233 GB, free: 72.76 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001125/1.394, allocations: 259.9 kB / 0.8236 GB, free: 72.51 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.04913/1.443, allocations: 13.36 MB / 0.8366 GB, free: 59.04 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.601e-05/1.444, allocations: 12.03 kB / 0.8366 GB, free: 59.02 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01268/1.456, allocations: 2.204 MB / 0.8388 GB, free: 56.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05056/1.507, allocations: 12.81 MB / 0.8513 GB, free: 43.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03605/1.543, allocations: 13.37 MB / 0.8644 GB, free: 30.49 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001097/1.544, allocations: 0.9626 MB / 0.8653 GB, free: 29.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008457/1.553, allocations: 1.273 MB / 0.8665 GB, free: 28.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.081/1.634, allocations: 30.19 MB / 0.896 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001034/1.635, allocations: 146.6 kB / 0.8962 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006935/1.642, allocations: 0.5974 MB / 0.8967 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005166/1.647, allocations: 2.86 MB / 0.8995 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7315/2.378, allocations: 24.68 MB / 0.9236 GB, free: 76.35 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1779/2.556, allocations: 127.9 MB / 1.048 GB, free: 16.24 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03494/2.591, allocations: 14.1 MB / 1.062 GB, free: 12.22 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05257/2.644, allocations: 20.28 MB / 1.082 GB, free: 0 / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001925/2.644, allocations: 101.2 kB / 1.082 GB, free: 15.89 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=562): time 8.906e-06/2.644, allocations: 4 kB / 1.082 GB, free: 15.89 MB / 0.5418 GB Notification: Performance of matching and sorting (n=646): time 0.5719/3.216, allocations: 68.24 MB / 1.149 GB, free: 117.1 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/3.216, allocations: 386.2 kB / 1.149 GB, free: 116.7 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02811/3.244, allocations: 10.74 MB / 1.16 GB, free: 115.9 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001982/3.246, allocations: 124.5 kB / 1.16 GB, free: 115.9 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.00862/3.255, allocations: 8.567 MB / 1.168 GB, free: 111.6 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.004634/3.26, allocations: 2.379 MB / 1.17 GB, free: 110.2 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003422/3.263, allocations: 311.8 kB / 1.171 GB, free: 110.2 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.001841/3.265, allocations: 0.9679 MB / 1.172 GB, free: 109.9 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01337/3.279, allocations: 6.771 MB / 1.178 GB, free: 109.9 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02076/3.299, allocations: 15.21 MB / 1.193 GB, free: 99.02 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01879/3.318, allocations: 9.937 MB / 1.203 GB, free: 95.5 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004732/3.319, allocations: 87.3 kB / 1.203 GB, free: 95.5 MB / 0.5574 GB Notification: Performance of matching and sorting (n=2020) (initialization): time 0.05408/3.373, allocations: 24.86 MB / 1.227 GB, free: 87.09 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003356/3.373, allocations: 128.9 kB / 1.227 GB, free: 87.09 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007089/3.374, allocations: 301 kB / 1.228 GB, free: 87.09 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008871/3.383, allocations: 3.302 MB / 1.231 GB, free: 86.5 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01582/3.399, allocations: 3.764 MB / 1.235 GB, free: 86.08 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02502/3.424, allocations: 23.26 MB / 1.257 GB, free: 65.34 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01782/3.442, allocations: 0.9412 MB / 1.258 GB, free: 64.56 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004061/3.446, allocations: 0.8905 MB / 1.259 GB, free: 63.71 MB / 0.5574 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 () * Number of clocked 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.01655/3.462, allocations: 5.739 MB / 1.265 GB, free: 58.66 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004367/3.467, allocations: 1.083 MB / 1.266 GB, free: 57.57 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03084/3.498, allocations: 14.74 MB / 1.28 GB, free: 45.62 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.679e-05/3.498, allocations: 67.22 kB / 1.28 GB, free: 45.56 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.362e-05/3.498, allocations: 16 kB / 1.28 GB, free: 45.55 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001646/3.498, allocations: 35.73 kB / 1.28 GB, free: 45.54 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07378/3.572, allocations: 32.57 MB / 1.312 GB, free: 19.29 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.851e-05/3.572, allocations: 16.22 kB / 1.312 GB, free: 19.28 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007092/3.579, allocations: 1.281 MB / 1.313 GB, free: 18.3 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007238/3.586, allocations: 2.843 MB / 1.316 GB, free: 16.32 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002379/3.589, allocations: 122.3 kB / 1.316 GB, free: 16.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4073/3.996, allocations: 21.72 MB / 1.337 GB, free: 107.3 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.12e-05/3.996, allocations: 20.25 kB / 1.337 GB, free: 107.3 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04365/4.04, allocations: 26.32 MB / 1.363 GB, free: 101.9 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009938/4.05, allocations: 2.188 MB / 1.365 GB, free: 101.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005997/4.056, allocations: 117.7 kB / 1.365 GB, free: 101.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009988/4.066, allocations: 445.4 kB / 1.366 GB, free: 101.9 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002847/4.069, allocations: 412.3 kB / 1.366 GB, free: 101.8 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001483/4.07, allocations: 169.7 kB / 1.366 GB, free: 101.8 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.01726/4.088, allocations: 7.779 MB / 1.374 GB, free: 101.5 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.343e-06/4.088, allocations: 3.031 kB / 1.374 GB, free: 101.5 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.02082/4.108, allocations: 3.105 MB / 1.377 GB, free: 101.5 MB / 0.5574 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 () * Number of clocked 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.04116/4.15, allocations: 27.45 MB / 1.404 GB, free: 90.12 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.02951/4.179, allocations: 16.84 MB / 1.42 GB, free: 84.75 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-05/4.179, allocations: 8 kB / 1.42 GB, free: 84.75 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.01217/4.191, allocations: 7.118 MB / 1.427 GB, free: 81.95 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01152/4.203, allocations: 1.348 MB / 1.429 GB, free: 81.35 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7026/4.906, allocations: 349.7 MB / 1.77 GB, free: 23.3 MB / 0.6668 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02023/4.926, allocations: 8.889 MB / 1.779 GB, free: 22.27 MB / 0.6668 GB Notification: Performance of simCode: alias equations: time 0.02189/4.948, allocations: 5.163 MB / 1.784 GB, free: 22.08 MB / 0.6668 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01827/4.966, allocations: 6.433 MB / 1.79 GB, free: 19.32 MB / 0.6668 GB Notification: Performance of SimCode: time 1.823e-06/4.966, allocations: 0 / 1.79 GB, free: 19.32 MB / 0.6668 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7239/5.69, allocations: 240.2 MB / 2.025 GB, free: 98.64 MB / 0.6668 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/5.69, allocations: 194.1 kB / 2.025 GB, free: 98.4 MB / 0.6668 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/18.58, allocations: 4.062 kB / 2.025 GB, free: 98.39 MB / 0.6668 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