Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.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.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2",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.001778/0.001778, allocations: 182.9 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.669/1.669, 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.001068/0.001068, allocations: 94.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.2228/0.2228, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003008/0.0003008, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1049, allocations: 58.85 MB / 490.3 MB, free: 8.594 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4148/0.5197, allocations: 102.2 MB / 0.5786 GB, free: 13.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001895/0.52, allocations: 79.95 kB / 0.5787 GB, free: 13.69 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.146/0.666, allocations: 57.03 MB / 0.6344 GB, free: 12.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.666, allocations: 0 / 0.6344 GB, free: 12.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001503/0.6662, allocations: 55.94 kB / 0.6344 GB, free: 12.24 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: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.009358/0.6756, allocations: 2.794 MB / 0.6372 GB, free: 9.605 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.6756, allocations: 12.03 kB / 0.6372 GB, free: 9.594 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002766/0.6784, allocations: 0.5583 MB / 0.6377 GB, free: 9.234 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008681/0.6871, allocations: 1.835 MB / 0.6395 GB, free: 7.395 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006603/0.6938, allocations: 1.765 MB / 0.6412 GB, free: 5.645 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004883/0.6944, allocations: 225.9 kB / 0.6414 GB, free: 5.422 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00253/0.6969, allocations: 295.9 kB / 0.6417 GB, free: 5.133 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01907/0.716, allocations: 6.811 MB / 0.6484 GB, free: 13.94 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001411/0.7162, allocations: 19.81 kB / 0.6484 GB, free: 13.92 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001451/0.7177, allocations: 135.9 kB / 0.6485 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001219/0.7189, allocations: 0.7078 MB / 0.6492 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01275/0.7317, allocations: 5.943 MB / 0.655 GB, free: 7.113 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03633/0.768, allocations: 23.93 MB / 0.6784 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004668/0.7728, allocations: 2.191 MB / 0.6805 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008526/0.7813, allocations: 4.012 MB / 0.6844 GB, free: 8.031 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.7814, allocations: 43.16 kB / 0.6845 GB, free: 7.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 6.462e-06/0.7814, allocations: 3.984 kB / 0.6845 GB, free: 7.977 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.006485/0.7879, allocations: 2.516 MB / 0.687 GB, free: 5.398 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.788, allocations: 56.06 kB / 0.687 GB, free: 5.332 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004777/0.7928, allocations: 1.821 MB / 0.6888 GB, free: 3.469 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.215e-05/0.7929, allocations: 37.7 kB / 0.6888 GB, free: 3.426 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002016/0.7949, allocations: 2.019 MB / 0.6908 GB, free: 1.375 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004888/0.7954, allocations: 375.2 kB / 0.6911 GB, free: 1.004 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.7957, allocations: 68 kB / 0.6912 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003487/0.796, allocations: 448.9 kB / 0.6916 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001732/0.7978, allocations: 0.9549 MB / 0.6926 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003274/0.8011, allocations: 2.919 MB / 0.6954 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/0.8037, allocations: 1.674 MB / 0.6971 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.729e-05/0.8038, allocations: 20 kB / 0.6971 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006729/0.8105, allocations: 3.782 MB / 0.7008 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.864e-05/0.8106, allocations: 40.36 kB / 0.7008 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001165/0.8108, allocations: 72 kB / 0.7009 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001181/0.8109, allocations: 108 kB / 0.701 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002253/0.8132, allocations: 0.7252 MB / 0.7017 GB, free: 5.203 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001438/0.8133, allocations: 135.5 kB / 0.7018 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/0.8157, allocations: 439.4 kB / 0.7022 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000326/0.816, allocations: 196 kB / 0.7024 GB, free: 4.445 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 320 * Number of states: 0 () * Number of discrete variables: 24 (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.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 395 * 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.002598/0.8187, allocations: 1.47 MB / 0.7039 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/0.819, allocations: 169.8 kB / 0.704 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.8211, allocations: 1.244 MB / 0.7052 GB, free: 1.543 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.266e-05/0.8211, allocations: 16 kB / 0.7053 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.8212, allocations: 0 / 0.7053 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.8212, allocations: 3.984 kB / 0.7053 GB, free: 1.523 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2794/1.101, allocations: 5.033 MB / 0.7102 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.939e-05/1.101, allocations: 10.41 kB / 0.7102 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005943/1.101, allocations: 145.2 kB / 0.7103 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.95e-05/1.101, allocations: 15.12 kB / 0.7103 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.253e-05/1.101, allocations: 25.06 kB / 0.7104 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.291e-05/1.101, allocations: 19.02 kB / 0.7104 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.509e-05/1.101, allocations: 21.56 kB / 0.7104 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002492/1.104, allocations: 2.326 MB / 0.7127 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005767/1.105, allocations: 284.7 kB / 0.7129 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/1.105, allocations: 27.08 kB / 0.713 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006098/1.105, allocations: 36.16 kB / 0.713 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/1.105, allocations: 79.03 kB / 0.7131 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.723e-05/1.106, allocations: 42.3 kB / 0.7131 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002228/1.108, allocations: 1.332 MB / 0.7144 GB, free: 138 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.6e-07/1.108, allocations: 2.062 kB / 0.7144 GB, free: 138 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00317/1.111, allocations: 0.7739 MB / 0.7152 GB, free: 137.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * 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 (76): * Single equations (assignments): 73 * 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.003577/1.115, allocations: 5.579 MB / 0.7206 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004249/1.119, allocations: 2.236 MB / 0.7228 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.618e-05/1.119, allocations: 2.25 kB / 0.7228 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008458/1.12, allocations: 0.5622 MB / 0.7234 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/1.121, allocations: 239.5 kB / 0.7236 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03719/1.158, allocations: 65.12 MB / 0.7872 GB, free: 77.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002396/1.161, allocations: 2.51 MB / 0.7896 GB, free: 76.29 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002624/1.163, allocations: 1.054 MB / 0.7907 GB, free: 76.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001437/1.165, allocations: 1.165 MB / 0.7918 GB, free: 75.82 MB / 0.4948 GB Notification: Performance of SimCode: time 1.453e-06/1.165, allocations: 0 / 0.7918 GB, free: 75.82 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06617/1.231, allocations: 39.88 MB / 0.8307 GB, free: 61.23 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/1.231, allocations: 174.3 kB / 0.8309 GB, free: 60.99 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.02/4.251, allocations: 7.938 kB / 0.8309 GB, free: 60.98 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat