Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 221.5 MB / 230.7 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009939/0.0009939, allocations: 83.25 kB / 281.6 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2546/0.2546, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.415e-05/2.417e-05, allocations: 4.219 kB / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1343, allocations: 61.92 MB / 0.4948 GB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3899/0.5243, allocations: 102.1 MB / 0.5945 GB, free: 10.21 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.5245, allocations: 79.95 kB / 0.5946 GB, free: 10.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1326/0.6571, allocations: 52.54 MB / 0.6459 GB, free: 5.227 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6572, allocations: 4 kB / 0.6459 GB, free: 5.223 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001153/0.6573, allocations: 52 kB / 0.6459 GB, free: 5.172 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.007216/0.6646, allocations: 2.527 MB / 0.6484 GB, free: 2.59 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.6646, allocations: 11.98 kB / 0.6484 GB, free: 2.578 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008126/0.6728, allocations: 1.798 MB / 0.6502 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004278/0.6771, allocations: 1.661 MB / 0.6518 GB, free: 15.06 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.6772, allocations: 92 kB / 0.6519 GB, free: 14.97 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007555/0.678, allocations: 160 kB / 0.652 GB, free: 14.81 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006644/0.6846, allocations: 4.141 MB / 0.6561 GB, free: 10.67 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009304/0.694, allocations: 5.776 MB / 0.6617 GB, free: 4.547 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.906e-05/0.6941, allocations: 15.81 kB / 0.6617 GB, free: 4.531 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003039/0.6944, allocations: 12 kB / 0.6617 GB, free: 4.52 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000831/0.6952, allocations: 0.6378 MB / 0.6624 GB, free: 3.879 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02705/0.7223, allocations: 22.15 MB / 0.684 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.7239, allocations: 1.39 MB / 0.6854 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006069/0.7245, allocations: 494.8 kB / 0.6858 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.152e-05/0.7246, allocations: 12.55 kB / 0.6858 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.7246, allocations: 43.16 kB / 0.6859 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=90): time 2.795e-06/0.7246, allocations: 0 / 0.6859 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=90): time 0.002832/0.7274, allocations: 1.32 MB / 0.6872 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.7275, allocations: 59.97 kB / 0.6872 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002806/0.7303, allocations: 1.572 MB / 0.6888 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.127e-05/0.7304, allocations: 25.7 kB / 0.6888 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001958/0.7324, allocations: 1.918 MB / 0.6907 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005196/0.7329, allocations: 351.5 kB / 0.691 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.7331, allocations: 0 / 0.691 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004401/0.7335, allocations: 497.6 kB / 0.6915 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/0.7355, allocations: 0.834 MB / 0.6923 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004096/0.7396, allocations: 2.844 MB / 0.6951 GB, free: 424 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003725/0.7434, allocations: 1.576 MB / 0.6966 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.478e-05/0.7435, allocations: 20 kB / 0.6966 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.009431/0.7529, allocations: 3.226 MB / 0.6998 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.365e-05/0.753, allocations: 36 kB / 0.6998 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001248/0.7532, allocations: 72 kB / 0.6999 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001874/0.7534, allocations: 108 kB / 0.7 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004255/0.7577, allocations: 0.7096 MB / 0.7007 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001847/0.7579, allocations: 139.4 kB / 0.7008 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003673/0.7616, allocations: 379.7 kB / 0.7012 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004942/0.7621, allocations: 196 kB / 0.7013 GB, free: 9.961 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * Number of states: 0 () * Number of discrete variables: 26 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (393): * Single equations (assignments): 390 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00058/0.7627, allocations: 294.2 kB / 0.7016 GB, free: 9.664 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002375/0.7651, allocations: 1.012 MB / 0.7026 GB, free: 8.645 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/0.7654, allocations: 157.8 kB / 0.7028 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/0.768, allocations: 1.143 MB / 0.7039 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-05/0.768, allocations: 11.98 kB / 0.7039 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/0.768, allocations: 7.984 kB / 0.7039 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.7681, allocations: 3.953 kB / 0.7039 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006773/0.7748, allocations: 3.711 MB / 0.7075 GB, free: 3.449 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.7749, allocations: 8 kB / 0.7075 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000493/0.7754, allocations: 119.8 kB / 0.7077 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.735e-05/0.7754, allocations: 8 kB / 0.7077 GB, free: 3.316 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.862e-05/0.7755, allocations: 12 kB / 0.7077 GB, free: 3.305 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-05/0.7755, allocations: 19.92 kB / 0.7077 GB, free: 3.285 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.7755, allocations: 8.5 kB / 0.7077 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.7775, allocations: 1.811 MB / 0.7095 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003539/0.7779, allocations: 234.8 kB / 0.7097 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.778, allocations: 8 kB / 0.7097 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004494/0.7785, allocations: 19.97 kB / 0.7097 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.146e-05/0.7786, allocations: 63.78 kB / 0.7098 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.987e-05/0.7786, allocations: 39.97 kB / 0.7098 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.3027/1.081, allocations: 1.04 MB / 0.7108 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.71e-07/1.081, allocations: 0 / 0.7108 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00325/1.085, allocations: 0.6602 MB / 0.7115 GB, free: 147.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00237/1.087, allocations: 4.285 MB / 0.7157 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003306/1.09, allocations: 1.977 MB / 0.7176 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/1.09, allocations: 0.9375 kB / 0.7176 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006412/1.091, allocations: 0.5036 MB / 0.7181 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/1.092, allocations: 174.6 kB / 0.7183 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/1.108, allocations: 5.106 MB / 0.7232 GB, free: 143 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003012/1.111, allocations: 2.385 MB / 0.7256 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003112/1.114, allocations: 1.072 MB / 0.7266 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001529/1.116, allocations: 1.087 MB / 0.7277 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.675e-06/1.116, allocations: 0 / 0.7277 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06755/1.183, allocations: 34.49 MB / 0.7614 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/1.184, allocations: 139.2 kB / 0.7615 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.866/4.05, allocations: 3.938 kB / 0.7615 GB, free: 139.5 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat