Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007904/0.0007903, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000834/0.0008338, allocations: 173 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3463/0.3463, allocations: 43.54 MB / 314.6 MB, free: 8.754 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000475/0.0004751, allocations: 20 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1103, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.2809/0.3912, allocations: 92.53 MB / 0.5229 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04935/0.4406, allocations: 18.42 MB / 0.5408 GB, free: 8.316 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02143/0.4621, allocations: 445.6 kB / 0.5413 GB, free: 8.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01612/0.4782, allocations: 4.918 MB / 0.5461 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04046/0.5187, allocations: 14.44 MB / 0.5602 GB, free: 7.898 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006779/0.5255, allocations: 1.255 MB / 0.5614 GB, free: 6.645 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01561/0.5412, allocations: 9.715 MB / 0.5709 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01637/0.5576, allocations: 9.285 MB / 0.58 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00604/0.5636, allocations: 2.666 MB / 0.5826 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006747/0.5704, allocations: 3.98 MB / 0.5864 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002022/0.5725, allocations: 300 kB / 0.5867 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003577/0.5761, allocations: 0.9792 MB / 0.5877 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005239/0.5813, allocations: 3.491 MB / 0.5911 GB, free: 8.133 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003599/0.585, allocations: 1.606 MB / 0.5927 GB, free: 6.516 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01278/0.5977, allocations: 10.47 MB / 0.6029 GB, free: 12.02 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5978, allocations: 0 / 0.6029 GB, free: 12.02 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5978, allocations: 0 / 0.6029 GB, free: 12.02 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005128/0.5983, allocations: 0 / 0.6029 GB, free: 12.02 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.01683/0.6152, allocations: 7.984 MB / 0.6107 GB, free: 3.945 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.6152, allocations: 8.031 kB / 0.6107 GB, free: 3.938 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004172/0.6194, allocations: 1.369 MB / 0.612 GB, free: 2.555 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/0.6306, allocations: 2.812 MB / 0.6148 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01153/0.6422, allocations: 6.543 MB / 0.6212 GB, free: 9.105 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004832/0.6427, allocations: 484 kB / 0.6216 GB, free: 8.629 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001977/0.6447, allocations: 0.6129 MB / 0.6222 GB, free: 8.016 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3966/1.041, allocations: 19.48 MB / 0.6413 GB, free: 134.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002343/1.042, allocations: 79.38 kB / 0.6413 GB, free: 134.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000932/1.043, allocations: 292.9 kB / 0.6416 GB, free: 134.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00487/1.047, allocations: 3.648 MB / 0.6452 GB, free: 133.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03249/1.08, allocations: 15.12 MB / 0.6599 GB, free: 128.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08718/1.167, allocations: 73.01 MB / 0.7312 GB, free: 71.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01428/1.182, allocations: 6.099 MB / 0.7372 GB, free: 65.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003899/1.185, allocations: 2.527 MB / 0.7397 GB, free: 62.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01713/1.203, allocations: 11.18 MB / 0.7506 GB, free: 51.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/1.203, allocations: 64.5 kB / 0.7506 GB, free: 51.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 5.771e-06/1.203, allocations: 0 / 0.7506 GB, free: 51.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=274): time 0.03489/1.238, allocations: 16.52 MB / 0.7668 GB, free: 34.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/1.238, allocations: 162.5 kB / 0.7669 GB, free: 34.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008693/1.246, allocations: 6.779 MB / 0.7736 GB, free: 27.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005566/1.247, allocations: 68.06 kB / 0.7736 GB, free: 27.53 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003909/1.251, allocations: 5.756 MB / 0.7792 GB, free: 21.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001244/1.252, allocations: 1.054 MB / 0.7803 GB, free: 20.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005393/1.253, allocations: 186.3 kB / 0.7804 GB, free: 20.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003981/1.253, allocations: 0.707 MB / 0.7811 GB, free: 19.83 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003959/1.257, allocations: 2.704 MB / 0.7838 GB, free: 17.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006552/1.264, allocations: 8.585 MB / 0.7922 GB, free: 5.613 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006482/1.27, allocations: 4.641 MB / 0.7967 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000172/1.27, allocations: 60 kB / 0.7967 GB, free: 0.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=1243) (initialization): time 0.02383/1.294, allocations: 10.96 MB / 0.8074 GB, free: 5.961 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002769/1.295, allocations: 99.95 kB / 0.8075 GB, free: 5.863 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004891/1.295, allocations: 208 kB / 0.8077 GB, free: 5.66 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004196/1.296, allocations: 304 kB / 0.808 GB, free: 5.363 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007485/1.303, allocations: 2.188 MB / 0.8102 GB, free: 3.172 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004841/1.304, allocations: 412.3 kB / 0.8106 GB, free: 2.77 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008473/1.312, allocations: 456.6 kB / 0.811 GB, free: 2.324 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002287/1.314, allocations: 0.5795 MB / 0.8116 GB, free: 1.746 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1179): * Single equations (assignments): 1168 * Array equations: 11 * 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.009887/1.324, allocations: 3.756 MB / 0.8152 GB, free: 13.98 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001839/1.326, allocations: 0.5861 MB / 0.8158 GB, free: 13.38 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007335/1.334, allocations: 2.992 MB / 0.8187 GB, free: 10.37 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.797e-05/1.334, allocations: 28 kB / 0.8188 GB, free: 10.34 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-05/1.334, allocations: 4 kB / 0.8188 GB, free: 10.34 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.448e-05/1.334, allocations: 11.95 kB / 0.8188 GB, free: 10.33 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2672/1.601, allocations: 25.12 MB / 0.8433 GB, free: 144.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-05/1.601, allocations: 62.5 kB / 0.8434 GB, free: 144.4 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/1.603, allocations: 0.6199 MB / 0.844 GB, free: 144.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.28e-05/1.603, allocations: 91.5 kB / 0.8441 GB, free: 144.3 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001963/1.603, allocations: 136.1 kB / 0.8442 GB, free: 144.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.596e-05/1.603, allocations: 121.7 kB / 0.8443 GB, free: 144.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-05/1.603, allocations: 99.84 kB / 0.8444 GB, free: 144.2 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005429/1.609, allocations: 5.865 MB / 0.8501 GB, free: 139.9 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001402/1.61, allocations: 0.7205 MB / 0.8508 GB, free: 139.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005926/1.611, allocations: 149.6 kB / 0.851 GB, free: 139.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002193/1.613, allocations: 152.3 kB / 0.8511 GB, free: 139.7 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004059/1.613, allocations: 426.2 kB / 0.8515 GB, free: 139.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002012/1.613, allocations: 180.6 kB / 0.8517 GB, free: 139.6 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.008118/1.622, allocations: 4.215 MB / 0.8558 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.51e-07/1.622, allocations: 1.094 kB / 0.8558 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01041/1.632, allocations: 1.549 MB / 0.8573 GB, free: 138 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * 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 (326): * Single equations (assignments): 323 * 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.007706/1.64, allocations: 6.636 MB / 0.8638 GB, free: 133.1 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01099/1.651, allocations: 6.347 MB / 0.87 GB, free: 131 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-05/1.651, allocations: 9.688 kB / 0.87 GB, free: 131 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002799/1.654, allocations: 1.641 MB / 0.8716 GB, free: 130.4 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008185/1.662, allocations: 0.9557 MB / 0.8725 GB, free: 130.1 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1051/1.767, allocations: 64.16 MB / 0.9352 GB, free: 74.78 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009615/1.777, allocations: 5.8 MB / 0.9409 GB, free: 70.39 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.00737/1.784, allocations: 2.884 MB / 0.9437 GB, free: 68.55 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004695/1.789, allocations: 3.819 MB / 0.9474 GB, free: 65 MB / 0.5138 GB Notification: Performance of SimCode: time 1.052e-06/1.789, allocations: 0.875 kB / 0.9474 GB, free: 65 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4192/2.208, allocations: 121.9 MB / 1.066 GB, free: 148.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/2.208, allocations: 182.7 kB / 1.067 GB, free: 147.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.092/7.3, allocations: 0 / 1.067 GB, free: 147.9 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat does not exist to compare? outputFormat=mat