Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.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.Forces.FrameTorques2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques2",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.001517/0.001517, allocations: 180.9 kB / 8.006 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.567/1.567, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.0008105/0.0008104, allocations: 90.61 kB / 261.8 MB, free: 1.68 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.2141/0.2141, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.691e-05/1.693e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1246, allocations: 58.85 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4347/0.5594, allocations: 105 MB / 0.5686 GB, free: 6.258 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.5597, allocations: 80.28 kB / 0.5687 GB, free: 6.223 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7373/1.297, allocations: 167.4 MB / 0.7322 GB, free: 90.24 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.525e-06/1.297, allocations: 0 / 0.7322 GB, free: 90.24 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006452/1.298, allocations: 177.2 kB / 0.7323 GB, free: 90.23 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.03177/1.329, allocations: 8.257 MB / 0.7404 GB, free: 87.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/1.33, allocations: 7.469 kB / 0.7404 GB, free: 87.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04713/1.377, allocations: 12.09 MB / 0.7522 GB, free: 86.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.027/1.404, allocations: 10.94 MB / 0.7629 GB, free: 85.41 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005171/1.404, allocations: 276.8 kB / 0.7632 GB, free: 85.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004332/1.409, allocations: 0.5065 MB / 0.7637 GB, free: 85.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02479/1.433, allocations: 11.44 MB / 0.7748 GB, free: 85.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04473/1.478, allocations: 17.21 MB / 0.7916 GB, free: 80.24 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007969/1.479, allocations: 111.8 kB / 0.7917 GB, free: 80.22 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004394/1.483, allocations: 47.53 kB / 0.7918 GB, free: 80.22 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002924/1.486, allocations: 1.822 MB / 0.7936 GB, free: 79.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09467/1.581, allocations: 78.78 MB / 0.8705 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006525/1.588, allocations: 5.841 MB / 0.8762 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004167/1.592, allocations: 3.985 MB / 0.8801 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006095/1.593, allocations: 0.6687 MB / 0.8807 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.051e-05/1.593, allocations: 73.12 kB / 0.8808 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=311): time 5.992e-06/1.593, allocations: 0 / 0.8808 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of matching and sorting (n=338): time 0.3742/1.967, allocations: 33.84 MB / 0.9139 GB, free: 93.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/1.967, allocations: 292.2 kB / 0.9141 GB, free: 93.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01527/1.982, allocations: 5.541 MB / 0.9196 GB, free: 92.91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009575/1.983, allocations: 27.17 kB / 0.9196 GB, free: 92.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006265/1.99, allocations: 5.974 MB / 0.9254 GB, free: 90.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002693/1.992, allocations: 1.244 MB / 0.9266 GB, free: 89.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001467/1.994, allocations: 1.094 kB / 0.9266 GB, free: 89.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008726/1.995, allocations: 0.7278 MB / 0.9273 GB, free: 89.01 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005714/2, allocations: 3.343 MB / 0.9306 GB, free: 88.99 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009495/2.01, allocations: 9.255 MB / 0.9396 GB, free: 81.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008706/2.019, allocations: 5.473 MB / 0.945 GB, free: 81.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003177/2.019, allocations: 61.38 kB / 0.945 GB, free: 81.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1313) (initialization): time 0.02732/2.046, allocations: 12.14 MB / 0.9569 GB, free: 80.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000235/2.047, allocations: 102.5 kB / 0.957 GB, free: 80.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003992/2.047, allocations: 210.9 kB / 0.9572 GB, free: 80.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002629/2.05, allocations: 1.054 MB / 0.9582 GB, free: 80.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008584/2.058, allocations: 2.352 MB / 0.9605 GB, free: 80.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/2.069, allocations: 10.85 MB / 0.9711 GB, free: 75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.011/2.08, allocations: 353.8 kB / 0.9715 GB, free: 74.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003456/2.083, allocations: 0.595 MB / 0.972 GB, free: 74.97 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * Number of states: 0 () * Number of discrete variables: 66 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],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.color[3],frameTorque2.color[2],frameTorque2.color[1],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 (1233): * Single equations (assignments): 1226 * 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.003223/2.087, allocations: 0.6395 MB / 0.9727 GB, free: 74.52 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009236/2.096, allocations: 5.623 MB / 0.9782 GB, free: 73.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002106/2.098, allocations: 0.6 MB / 0.9787 GB, free: 73.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01006/2.108, allocations: 5.685 MB / 0.9843 GB, free: 71.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.37e-05/2.108, allocations: 40.98 kB / 0.9843 GB, free: 71.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.229e-05/2.108, allocations: 6.906 kB / 0.9843 GB, free: 71.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.129e-05/2.108, allocations: 18.8 kB / 0.9844 GB, free: 71.43 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03038/2.139, allocations: 13.38 MB / 0.9974 GB, free: 66.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-05/2.139, allocations: 10.41 kB / 0.9974 GB, free: 66.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003063/2.142, allocations: 0.5671 MB / 0.998 GB, free: 66.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001954/2.144, allocations: 0.6962 MB / 0.9987 GB, free: 66.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006121/2.145, allocations: 18.62 kB / 0.9987 GB, free: 66.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008518/2.153, allocations: 9.697 MB / 1.008 GB, free: 59.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/2.153, allocations: 9.859 kB / 1.008 GB, free: 59.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01387/2.167, allocations: 9.75 MB / 1.018 GB, free: 55.01 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004125/2.171, allocations: 1.082 MB / 1.019 GB, free: 54.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001953/2.173, allocations: 3.219 kB / 1.019 GB, free: 54.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004468/2.178, allocations: 150.3 kB / 1.019 GB, free: 54.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001353/2.179, allocations: 189.5 kB / 1.019 GB, free: 54.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000361/2.179, allocations: 83.41 kB / 1.019 GB, free: 54.33 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008296/2.188, allocations: 3.772 MB / 1.023 GB, free: 52.97 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.733e-06/2.188, allocations: 0 / 1.023 GB, free: 52.97 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01359/2.201, allocations: 1.635 MB / 1.024 GB, free: 52.83 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (279): * Single equations (assignments): 272 * 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.01436/2.216, allocations: 10.7 MB / 1.035 GB, free: 43.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01386/2.23, allocations: 8.477 MB / 1.043 GB, free: 35.52 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/2.23, allocations: 0 / 1.043 GB, free: 35.52 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004308/2.234, allocations: 3.109 MB / 1.046 GB, free: 32.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005464/2.24, allocations: 0.7327 MB / 1.047 GB, free: 32.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04776/2.287, allocations: 17.32 MB / 1.064 GB, free: 17.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01206/2.3, allocations: 6.144 MB / 1.07 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009844/2.309, allocations: 3.102 MB / 1.073 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008472/2.318, allocations: 4.061 MB / 1.077 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of SimCode: time 1.703e-06/2.318, allocations: 0 / 1.077 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4952/2.813, allocations: 135.3 MB / 1.209 GB, free: 57.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001341/2.813, allocations: 137.5 kB / 1.209 GB, free: 57.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.572/9.385, allocations: 0 / 1.209 GB, free: 57.12 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat does not exist to compare? outputFormat=mat