Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001612/0.001612, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008306/0.0008308, allocations: 91.61 kB / 286.7 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1995/0.1995, allocations: 45.14 MB / 383.8 MB, free: 240 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.918e-05/1.92e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.397/0.5072, allocations: 103.2 MB / 0.6052 GB, free: 15.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.5075, allocations: 73.28 kB / 0.6053 GB, free: 15.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1276/0.6351, allocations: 53.95 MB / 0.658 GB, free: 1.297 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.6352, allocations: 0 / 0.658 GB, free: 1.297 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001114/0.6353, allocations: 52 kB / 0.658 GB, free: 1.246 MB / 442.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.006099/0.6414, allocations: 2.534 MB / 0.6605 GB, free: 14.87 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.6415, allocations: 8.031 kB / 0.6605 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007947/0.6495, allocations: 1.801 MB / 0.6623 GB, free: 13.06 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00478/0.6543, allocations: 1.671 MB / 0.6639 GB, free: 11.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001655/0.6545, allocations: 88 kB / 0.664 GB, free: 11.55 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001624/0.6561, allocations: 160 kB / 0.6641 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009425/0.6656, allocations: 4.137 MB / 0.6682 GB, free: 7.254 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0159/0.6816, allocations: 5.773 MB / 0.6738 GB, free: 1.137 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000136/0.6818, allocations: 15.88 kB / 0.6738 GB, free: 1.121 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001475/0.6832, allocations: 12 kB / 0.6738 GB, free: 1.109 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001229/0.6845, allocations: 0.6417 MB / 0.6745 GB, free: 476 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03437/0.7189, allocations: 22.15 MB / 0.6961 GB, free: 9.555 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.7208, allocations: 1.379 MB / 0.6975 GB, free: 8.055 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006494/0.7215, allocations: 0.4948 MB / 0.6979 GB, free: 7.555 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.507e-05/0.7216, allocations: 12.55 kB / 0.6979 GB, free: 7.543 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.7216, allocations: 43.08 kB / 0.698 GB, free: 7.492 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 3.857e-06/0.7216, allocations: 4 kB / 0.698 GB, free: 7.488 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.003029/0.7247, allocations: 1.313 MB / 0.6993 GB, free: 6.168 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.7247, allocations: 63.95 kB / 0.6993 GB, free: 6.094 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002373/0.7271, allocations: 1.572 MB / 0.7009 GB, free: 4.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.7272, allocations: 29.64 kB / 0.7009 GB, free: 4.484 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001309/0.7285, allocations: 1.914 MB / 0.7028 GB, free: 2.539 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000327/0.7288, allocations: 343.5 kB / 0.7031 GB, free: 2.199 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-05/0.7289, allocations: 0 / 0.7031 GB, free: 2.199 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003302/0.7293, allocations: 497.6 kB / 0.7036 GB, free: 1.703 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/0.7306, allocations: 0.8301 MB / 0.7044 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003187/0.7338, allocations: 2.848 MB / 0.7072 GB, free: 13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002432/0.7362, allocations: 1.572 MB / 0.7087 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.384e-05/0.7363, allocations: 20 kB / 0.7087 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.005302/0.7416, allocations: 3.221 MB / 0.7119 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.351e-05/0.7417, allocations: 36 kB / 0.7119 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.78e-05/0.7418, allocations: 75.94 kB / 0.712 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001208/0.7419, allocations: 112.8 kB / 0.7121 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/0.7439, allocations: 0.7134 MB / 0.7128 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000103/0.744, allocations: 143.5 kB / 0.7129 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/0.7459, allocations: 367.5 kB / 0.7133 GB, free: 6.742 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002658/0.7462, allocations: 204 kB / 0.7135 GB, free: 6.543 MB / 0.4948 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.0003891/0.7466, allocations: 294.3 kB / 0.7137 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001442/0.748, allocations: 1.012 MB / 0.7147 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.7482, allocations: 165.8 kB / 0.7149 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/0.7499, allocations: 1.135 MB / 0.716 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/0.75, allocations: 12 kB / 0.716 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.75, allocations: 0 / 0.716 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.75, allocations: 3.984 kB / 0.716 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005702/0.7557, allocations: 3.706 MB / 0.7196 GB, free: 44 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.7557, allocations: 8 kB / 0.7196 GB, free: 36 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005128/0.7563, allocations: 116.7 kB / 0.7197 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.06e-05/0.7563, allocations: 19.92 kB / 0.7198 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/0.7564, allocations: 12 kB / 0.7198 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.859e-06/0.7564, allocations: 12 kB / 0.7198 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.328e-06/0.7564, allocations: 11.94 kB / 0.7198 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.7583, allocations: 1.807 MB / 0.7216 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000371/0.7587, allocations: 230.8 kB / 0.7218 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.7589, allocations: 15.98 kB / 0.7218 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004442/0.7594, allocations: 15.98 kB / 0.7218 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.775e-05/0.7595, allocations: 67.72 kB / 0.7219 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.495e-05/0.7595, allocations: 35.98 kB / 0.7219 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001525/0.7611, allocations: 1.05 MB / 0.7229 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7611, allocations: 0 / 0.7229 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002783/0.7639, allocations: 0.6606 MB / 0.7236 GB, free: 11.68 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.003215/0.7671, allocations: 4.282 MB / 0.7278 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003312/0.7704, allocations: 1.982 MB / 0.7297 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.7704, allocations: 4 kB / 0.7297 GB, free: 5.207 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006209/0.7711, allocations: 0.502 MB / 0.7302 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009896/0.7721, allocations: 181.8 kB / 0.7304 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/0.7844, allocations: 5.109 MB / 0.7354 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/0.7869, allocations: 2.38 MB / 0.7377 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002735/0.7897, allocations: 1.077 MB / 0.7387 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0016/0.7913, allocations: 1.089 MB / 0.7398 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.342e-06/0.7913, allocations: 0 / 0.7398 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.393/1.184, allocations: 34.48 MB / 0.7735 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001378/1.184, allocations: 133.1 kB / 0.7736 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.789/3.973, allocations: 7.062 kB / 0.7736 GB, free: 154.9 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat