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.002021/0.002021, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 86.62 kB / 261.8 MB, free: 1.684 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.2076/0.2076, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.746e-05/1.733e-05, allocations: 0 / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1131, allocations: 58.86 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4039/0.517, allocations: 101.4 MB / 0.565 GB, free: 9.859 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.5173, allocations: 78.75 kB / 0.5651 GB, free: 9.824 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1344/0.6517, allocations: 55.75 MB / 0.6196 GB, free: 10.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6518, allocations: 0 / 0.6196 GB, free: 10.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.996e-05/0.6519, allocations: 52 kB / 0.6196 GB, free: 10.32 MB / 426.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.007816/0.6597, allocations: 2.685 MB / 0.6222 GB, free: 7.805 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.6598, allocations: 8.031 kB / 0.6222 GB, free: 7.797 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008184/0.668, allocations: 1.837 MB / 0.624 GB, free: 5.957 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004278/0.6723, allocations: 1.762 MB / 0.6258 GB, free: 4.148 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.6724, allocations: 96 kB / 0.6258 GB, free: 4.055 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008383/0.6733, allocations: 168 kB / 0.626 GB, free: 3.891 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006576/0.6799, allocations: 4.489 MB / 0.6304 GB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008419/0.6883, allocations: 6.232 MB / 0.6365 GB, free: 8.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.842e-05/0.6884, allocations: 15.88 kB / 0.6365 GB, free: 8.754 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003011/0.6887, allocations: 12 kB / 0.6365 GB, free: 8.742 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008362/0.6895, allocations: 0.7085 MB / 0.6372 GB, free: 8.031 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02652/0.7161, allocations: 23.61 MB / 0.6603 GB, free: 15.65 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.7179, allocations: 1.52 MB / 0.6617 GB, free: 14.01 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007223/0.7186, allocations: 0.5781 MB / 0.6623 GB, free: 13.43 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.28e-05/0.7187, allocations: 20.83 kB / 0.6623 GB, free: 13.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.7187, allocations: 47.38 kB / 0.6624 GB, free: 13.36 MB / 474.7 MB Notification: Performance of pre-optimization done (n=108): time 3.426e-06/0.7187, allocations: 0 / 0.6624 GB, free: 13.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.003114/0.7218, allocations: 1.491 MB / 0.6638 GB, free: 11.85 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.7219, allocations: 64.17 kB / 0.6639 GB, free: 11.78 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002239/0.7241, allocations: 1.651 MB / 0.6655 GB, free: 10.13 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.814e-05/0.7242, allocations: 25.7 kB / 0.6655 GB, free: 10.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.7255, allocations: 2.053 MB / 0.6675 GB, free: 8.012 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003809/0.7259, allocations: 410.6 kB / 0.6679 GB, free: 7.605 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.697e-05/0.726, allocations: 0 / 0.6679 GB, free: 7.605 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003219/0.7263, allocations: 0.4984 MB / 0.6684 GB, free: 7.098 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.7276, allocations: 0.9362 MB / 0.6693 GB, free: 6.16 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002792/0.7304, allocations: 3.092 MB / 0.6723 GB, free: 1.984 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002147/0.7326, allocations: 1.725 MB / 0.674 GB, free: 264 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.244e-05/0.7326, allocations: 24 kB / 0.674 GB, free: 240 kB / 474.7 MB Notification: Performance of matching and sorting (n=459) (initialization): time 0.005182/0.7378, allocations: 3.55 MB / 0.6775 GB, free: 12.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.795e-05/0.7379, allocations: 44.22 kB / 0.6776 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.494e-05/0.738, allocations: 79.94 kB / 0.6776 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001066/0.7381, allocations: 116 kB / 0.6777 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/0.7402, allocations: 0.7915 MB / 0.6785 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001126/0.7403, allocations: 147.4 kB / 0.6787 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/0.7425, allocations: 395.2 kB / 0.679 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002679/0.7427, allocations: 216 kB / 0.6792 GB, free: 10.91 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 353 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (435): * Single equations (assignments): 432 * 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.0003789/0.7431, allocations: 301.2 kB / 0.6795 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001586/0.7447, allocations: 1.195 MB / 0.6807 GB, free: 9.402 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.7449, allocations: 173.7 kB / 0.6809 GB, free: 9.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/0.7469, allocations: 1.346 MB / 0.6822 GB, free: 7.867 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/0.747, allocations: 12 kB / 0.6822 GB, free: 7.855 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.747, allocations: 3.984 kB / 0.6822 GB, free: 7.852 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.747, allocations: 3.984 kB / 0.6822 GB, free: 7.848 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00719/0.7542, allocations: 4.743 MB / 0.6868 GB, free: 2.922 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.7542, allocations: 9 kB / 0.6868 GB, free: 2.914 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006165/0.7549, allocations: 151.7 kB / 0.687 GB, free: 2.766 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.799e-05/0.7549, allocations: 20 kB / 0.687 GB, free: 2.746 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.608e-05/0.755, allocations: 23.98 kB / 0.687 GB, free: 2.723 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.721e-05/0.755, allocations: 23.92 kB / 0.687 GB, free: 2.699 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-05/0.755, allocations: 15.94 kB / 0.6871 GB, free: 2.684 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/0.7572, allocations: 2.352 MB / 0.6894 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003258/0.7575, allocations: 262.5 kB / 0.6896 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.7577, allocations: 19.95 kB / 0.6896 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005478/0.7583, allocations: 23.97 kB / 0.6896 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.7584, allocations: 91.95 kB / 0.6897 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.435e-05/0.7585, allocations: 51.97 kB / 0.6898 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001394/0.7599, allocations: 1.099 MB / 0.6909 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7599, allocations: 0 / 0.6909 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002847/0.7628, allocations: 0.715 MB / 0.6916 GB, free: 13.66 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.00322/0.766, allocations: 5.8 MB / 0.6972 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003183/0.7692, allocations: 2.223 MB / 0.6994 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7692, allocations: 0 / 0.6994 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006666/0.7699, allocations: 0.597 MB / 0.7 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008275/0.7707, allocations: 177.9 kB / 0.7001 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2678/1.039, allocations: 5.656 MB / 0.7057 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002722/1.041, allocations: 2.519 MB / 0.7081 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003541/1.045, allocations: 1.165 MB / 0.7093 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001937/1.047, allocations: 1.2 MB / 0.7104 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of SimCode: time 2.424e-06/1.047, allocations: 1.875 kB / 0.7104 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07395/1.121, allocations: 37.31 MB / 0.7469 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/1.121, allocations: 128 kB / 0.747 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.06/4.181, allocations: 4 kB / 0.747 GB, free: 140.7 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