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.001454/0.001454, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 221.3 MB / 236 MB, free: 2.957 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.0009219/0.0009222, allocations: 84.05 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2092/0.2092, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.44e-05/3.454e-05, allocations: 0 / 451.9 MB, free: 9.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1537, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4411/0.5949, allocations: 102.8 MB / 0.6022 GB, free: 2.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/0.5952, allocations: 78.14 kB / 0.6023 GB, free: 2.355 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1358/0.7311, allocations: 53.76 MB / 0.6548 GB, free: 12.25 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.7311, allocations: 0 / 0.6548 GB, free: 12.25 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001191/0.7312, allocations: 56 kB / 0.6548 GB, free: 12.2 MB / 474.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.006511/0.7378, allocations: 2.523 MB / 0.6573 GB, free: 9.621 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.7378, allocations: 8.031 kB / 0.6573 GB, free: 9.613 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0012/0.739, allocations: 0.5192 MB / 0.6578 GB, free: 9.086 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007571/0.7466, allocations: 1.81 MB / 0.6596 GB, free: 7.27 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005368/0.752, allocations: 1.672 MB / 0.6612 GB, free: 5.547 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002705/0.7524, allocations: 205.5 kB / 0.6614 GB, free: 5.344 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00129/0.7537, allocations: 271.9 kB / 0.6616 GB, free: 5.078 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01326/0.7669, allocations: 6.265 MB / 0.6678 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.22e-05/0.767, allocations: 15.81 kB / 0.6678 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003944/0.7674, allocations: 127.9 kB / 0.6679 GB, free: 14.33 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009442/0.7684, allocations: 0.6294 MB / 0.6685 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01134/0.7798, allocations: 5.422 MB / 0.6738 GB, free: 8.258 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03404/0.8138, allocations: 22.32 MB / 0.6956 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004273/0.8182, allocations: 1.993 MB / 0.6975 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.8192, allocations: 0.6925 MB / 0.6982 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00694/0.8262, allocations: 3.679 MB / 0.7018 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.8263, allocations: 42.94 kB / 0.7019 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 4.258e-06/0.8263, allocations: 0 / 0.7019 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78): time 0.004707/0.831, allocations: 1.581 MB / 0.7034 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.8311, allocations: 55.84 kB / 0.7035 GB, free: 8.918 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002737/0.8338, allocations: 1.722 MB / 0.7051 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.552e-05/0.8339, allocations: 33.7 kB / 0.7052 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001282/0.8352, allocations: 1.891 MB / 0.707 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000293/0.8355, allocations: 308.1 kB / 0.7073 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.8356, allocations: 56 kB / 0.7074 GB, free: 4.875 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003046/0.8359, allocations: 0.4931 MB / 0.7078 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.8371, allocations: 0.8296 MB / 0.7087 GB, free: 3.539 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3165/1.154, allocations: 2.684 MB / 0.7113 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003279/1.157, allocations: 1.528 MB / 0.7128 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.261e-05/1.157, allocations: 19.84 kB / 0.7128 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.007122/1.164, allocations: 3.409 MB / 0.7161 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.938e-05/1.164, allocations: 33.31 kB / 0.7161 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001189/1.164, allocations: 65.56 kB / 0.7162 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001727/1.165, allocations: 98 kB / 0.7163 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002368/1.167, allocations: 0.6619 MB / 0.717 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000157/1.167, allocations: 128.4 kB / 0.7171 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002552/1.17, allocations: 409.9 kB / 0.7175 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00044/1.17, allocations: 185.9 kB / 0.7176 GB, free: 144.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * 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 (362): * Single equations (assignments): 359 * 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.0004551/1.171, allocations: 341.1 kB / 0.718 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003237/1.171, allocations: 158 kB / 0.7181 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004795/1.171, allocations: 203.3 kB / 0.7183 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/1.172, allocations: 10.52 kB / 0.7183 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/1.172, allocations: 2.891 kB / 0.7183 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/1.172, allocations: 2.531 kB / 0.7183 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008158/1.18, allocations: 4.104 MB / 0.7223 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/1.18, allocations: 6.438 kB / 0.7223 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004993/1.18, allocations: 103.1 kB / 0.7224 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.745e-05/1.18, allocations: 12.16 kB / 0.7224 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.546e-05/1.18, allocations: 20.17 kB / 0.7225 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.621e-05/1.18, allocations: 13.7 kB / 0.7225 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/1.18, allocations: 10.97 kB / 0.7225 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/1.182, allocations: 1.726 MB / 0.7242 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000559/1.183, allocations: 264.3 kB / 0.7244 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/1.183, allocations: 23.67 kB / 0.7245 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005051/1.184, allocations: 25.59 kB / 0.7245 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/1.184, allocations: 54.92 kB / 0.7245 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.755e-05/1.184, allocations: 37.08 kB / 0.7246 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002415/1.186, allocations: 1.253 MB / 0.7258 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.9e-07/1.186, allocations: 0 / 0.7258 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004336/1.191, allocations: 0.7118 MB / 0.7265 GB, free: 142.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * 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/1.194, allocations: 4.036 MB / 0.7304 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004563/1.198, allocations: 1.96 MB / 0.7323 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/1.199, allocations: 1.281 kB / 0.7323 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007908/1.199, allocations: 458.1 kB / 0.7328 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/1.201, allocations: 229.3 kB / 0.733 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/1.215, allocations: 5.032 MB / 0.7379 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002594/1.217, allocations: 2.381 MB / 0.7402 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00236/1.22, allocations: 0.9718 MB / 0.7412 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/1.221, allocations: 1.073 MB / 0.7422 GB, free: 136 MB / 0.5105 GB Notification: Performance of SimCode: time 1.994e-06/1.221, allocations: 0 / 0.7422 GB, free: 136 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06353/1.285, allocations: 37.1 MB / 0.7785 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/1.285, allocations: 151 kB / 0.7786 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.192/4.477, allocations: 0 / 0.7786 GB, free: 125.6 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