Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.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.Forces.FrameTorques2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques2",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.001918/0.001918, allocations: 180.5 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.481/1.481, allocations: 221.3 MB / 236 MB, free: 2.914 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.001233/0.001233, allocations: 91.86 kB / 287 MB, free: 208 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.2049/0.2049, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.819e-05/3.837e-05, allocations: 4.219 kB / 451.9 MB, free: 9.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1388, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4519/0.5908, allocations: 106.9 MB / 0.6062 GB, free: 14.31 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.5911, allocations: 75.97 kB / 0.6063 GB, free: 14.24 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7452/1.336, allocations: 156.2 MB / 0.7589 GB, free: 109 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.924e-06/1.336, allocations: 4 kB / 0.7589 GB, free: 109 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006611/1.337, allocations: 158.6 kB / 0.759 GB, free: 109 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.03748/1.375, allocations: 7.63 MB / 0.7665 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.785e-05/1.375, allocations: 11.66 kB / 0.7665 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007773/1.382, allocations: 1.31 MB / 0.7678 GB, free: 106 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07051/1.453, allocations: 11.93 MB / 0.7794 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03465/1.488, allocations: 9.979 MB / 0.7891 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008909/1.489, allocations: 0.5714 MB / 0.7897 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005129/1.494, allocations: 0.7673 MB / 0.7905 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06624/1.56, allocations: 17.98 MB / 0.808 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008201/1.561, allocations: 106.5 kB / 0.8081 GB, free: 93.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004193/1.565, allocations: 364.1 kB / 0.8085 GB, free: 93.44 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002816/1.568, allocations: 1.574 MB / 0.81 GB, free: 92.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04965/1.618, allocations: 14.37 MB / 0.824 GB, free: 78 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1025/1.72, allocations: 75.48 MB / 0.8977 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02032/1.741, allocations: 7.267 MB / 0.9048 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004705/1.745, allocations: 3.439 MB / 0.9082 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007047/1.746, allocations: 0.6596 MB / 0.9088 GB, free: 5.297 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.344e-05/1.746, allocations: 52.12 kB / 0.9089 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=231): time 5.23e-06/1.746, allocations: 0 / 0.9089 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of matching and sorting (n=255): time 0.4667/2.213, allocations: 22.74 MB / 0.9311 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/2.213, allocations: 286.7 kB / 0.9314 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01564/2.229, allocations: 6.461 MB / 0.9377 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006714/2.23, allocations: 65.7 kB / 0.9377 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004296/2.234, allocations: 5.372 MB / 0.943 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001456/2.235, allocations: 0.9961 MB / 0.944 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005966/2.236, allocations: 169.3 kB / 0.9441 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004057/2.236, allocations: 0.6627 MB / 0.9448 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004141/2.241, allocations: 2.795 MB / 0.9475 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006406/2.247, allocations: 8.043 MB / 0.9553 GB, free: 98.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006902/2.254, allocations: 4.696 MB / 0.9599 GB, free: 98.53 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001901/2.254, allocations: 52.5 kB / 0.96 GB, free: 98.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1110) (initialization): time 0.02352/2.278, allocations: 11.42 MB / 0.9711 GB, free: 95.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004833/2.278, allocations: 85.53 kB / 0.9712 GB, free: 95.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006483/2.279, allocations: 185.5 kB / 0.9714 GB, free: 95.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002848/2.282, allocations: 1.029 MB / 0.9724 GB, free: 95.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006766/2.288, allocations: 1.953 MB / 0.9743 GB, free: 95.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/2.3, allocations: 11.22 MB / 0.9853 GB, free: 87.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008359/2.308, allocations: 463.1 kB / 0.9857 GB, free: 87.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00207/2.31, allocations: 0.5167 MB / 0.9862 GB, free: 87.24 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 847 * Number of states: 0 () * Number of discrete variables: 74 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.arrow.arrowLine.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.arrow.arrowLine.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1030): * Single equations (assignments): 1023 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003184/2.314, allocations: 0.7889 MB / 0.987 GB, free: 86.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002134/2.316, allocations: 0.6148 MB / 0.9876 GB, free: 86.27 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009274/2.325, allocations: 4.478 MB / 0.992 GB, free: 84.62 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.292e-05/2.325, allocations: 28.84 kB / 0.992 GB, free: 84.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-05/2.325, allocations: 15.34 kB / 0.992 GB, free: 84.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.733e-05/2.325, allocations: 10.27 kB / 0.992 GB, free: 84.62 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0251/2.35, allocations: 12.26 MB / 1.004 GB, free: 80.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/2.35, allocations: 9.344 kB / 1.004 GB, free: 80.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001897/2.352, allocations: 403.5 kB / 1.004 GB, free: 80.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001809/2.354, allocations: 0.6959 MB / 1.005 GB, free: 80 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002482/2.354, allocations: 48.73 kB / 1.005 GB, free: 79.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008781/2.363, allocations: 10.12 MB / 1.015 GB, free: 72.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/2.363, allocations: 0 / 1.015 GB, free: 72.57 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/2.374, allocations: 7.755 MB / 1.023 GB, free: 68.83 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002311/2.376, allocations: 0.6729 MB / 1.023 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009218/2.377, allocations: 50.81 kB / 1.023 GB, free: 68.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00234/2.38, allocations: 138.1 kB / 1.023 GB, free: 68.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005145/2.38, allocations: 153.6 kB / 1.024 GB, free: 67.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002339/2.38, allocations: 67.72 kB / 1.024 GB, free: 67.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008054/2.388, allocations: 4.595 MB / 1.028 GB, free: 63.84 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.11e-07/2.388, allocations: 0 / 1.028 GB, free: 63.84 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01024/2.399, allocations: 1.634 MB / 1.03 GB, free: 62.21 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (195): * Single equations (assignments): 188 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01073/2.409, allocations: 8.598 MB / 1.038 GB, free: 54.45 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01112/2.421, allocations: 7.336 MB / 1.045 GB, free: 47.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/2.421, allocations: 0 / 1.045 GB, free: 47.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003129/2.424, allocations: 2.522 MB / 1.048 GB, free: 45.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004817/2.429, allocations: 0.9084 MB / 1.049 GB, free: 44.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03759/2.466, allocations: 15.54 MB / 1.064 GB, free: 31.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006141/2.472, allocations: 5.578 MB / 1.069 GB, free: 27.18 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006991/2.479, allocations: 2.73 MB / 1.072 GB, free: 25.42 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005358/2.485, allocations: 3.629 MB / 1.075 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of SimCode: time 1.102e-06/2.485, allocations: 0 / 1.075 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6302/3.115, allocations: 135.3 MB / 1.208 GB, free: 84.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/3.115, allocations: 172.4 kB / 1.208 GB, free: 84.46 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.009/10.12, allocations: 0 / 1.208 GB, free: 84.46 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat does not exist to compare? outputFormat=mat