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.001206/0.001206, allocations: 181.5 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009118/0.0009116, allocations: 90.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2046/0.2046, allocations: 43.56 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.000341, allocations: 8 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1115, allocations: 58.87 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.361/0.4726, allocations: 105.8 MB / 0.5822 GB, free: 10.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.4729, allocations: 78.72 kB / 0.5823 GB, free: 10.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7228/1.196, allocations: 170.9 MB / 0.7492 GB, free: 93.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.757e-06/1.196, allocations: 0 / 0.7492 GB, free: 93.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008138/1.197, allocations: 163.8 kB / 0.7494 GB, free: 93.71 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.03226/1.229, allocations: 9.051 MB / 0.7582 GB, free: 90.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/1.229, allocations: 11.22 kB / 0.7582 GB, free: 90.2 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007557/1.237, allocations: 1.478 MB / 0.7596 GB, free: 90.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04627/1.283, allocations: 12.07 MB / 0.7714 GB, free: 89.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02983/1.313, allocations: 11.01 MB / 0.7822 GB, free: 88.33 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00113/1.314, allocations: 0.6329 MB / 0.7828 GB, free: 88.31 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005494/1.319, allocations: 0.856 MB / 0.7836 GB, free: 88.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0548/1.374, allocations: 20.01 MB / 0.8032 GB, free: 80.69 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001053/1.375, allocations: 108.6 kB / 0.8033 GB, free: 80.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004705/1.38, allocations: 403.4 kB / 0.8037 GB, free: 80.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003044/1.383, allocations: 1.822 MB / 0.8054 GB, free: 80.13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03717/1.42, allocations: 16.3 MB / 0.8214 GB, free: 68.46 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1112/1.532, allocations: 82.21 MB / 0.9016 GB, free: 1.992 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3078/1.84, allocations: 8.138 MB / 0.9096 GB, free: 98.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009168/1.841, allocations: 0.6669 MB / 0.9102 GB, free: 98.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.307e-05/1.841, allocations: 70.28 kB / 0.9103 GB, free: 98.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=311): time 9.819e-06/1.841, allocations: 0 / 0.9103 GB, free: 98.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=335): time 0.081/1.922, allocations: 30.95 MB / 0.9405 GB, free: 91.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.795e-05/1.922, allocations: 297.5 kB / 0.9408 GB, free: 91.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0113/1.933, allocations: 6.902 MB / 0.9476 GB, free: 90.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008996/1.934, allocations: 76.83 kB / 0.9476 GB, free: 90.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004271/1.938, allocations: 5.863 MB / 0.9534 GB, free: 88.19 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001626/1.94, allocations: 1.265 MB / 0.9546 GB, free: 87.46 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006758/1.941, allocations: 198.9 kB / 0.9548 GB, free: 87.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004405/1.941, allocations: 0.7156 MB / 0.9555 GB, free: 87.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004689/1.946, allocations: 3.524 MB / 0.9589 GB, free: 87.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007532/1.953, allocations: 9.225 MB / 0.9679 GB, free: 79.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008072/1.961, allocations: 5.574 MB / 0.9734 GB, free: 77.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002696/1.962, allocations: 57.59 kB / 0.9734 GB, free: 77.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1262) (initialization): time 0.02514/1.987, allocations: 13.37 MB / 0.9865 GB, free: 73.39 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002701/1.987, allocations: 90.56 kB / 0.9866 GB, free: 73.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003765/1.988, allocations: 201.1 kB / 0.9868 GB, free: 73.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002446/1.99, allocations: 1.053 MB / 0.9878 GB, free: 73.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00769/1.998, allocations: 2.26 MB / 0.99 GB, free: 72.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/2.009, allocations: 11.47 MB / 1.001 GB, free: 64.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01062/2.02, allocations: 0.5268 MB / 1.002 GB, free: 64.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002652/2.022, allocations: 0.5739 MB / 1.002 GB, free: 64.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 915 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1182): * Single equations (assignments): 1175 * 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.009491/2.032, allocations: 3.886 MB / 1.006 GB, free: 62.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001936/2.034, allocations: 0.6756 MB / 1.007 GB, free: 62.58 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/2.045, allocations: 6.049 MB / 1.013 GB, free: 60.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-05/2.045, allocations: 38.47 kB / 1.013 GB, free: 60.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.949e-05/2.045, allocations: 11.69 kB / 1.013 GB, free: 60.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.249e-05/2.045, allocations: 16.97 kB / 1.013 GB, free: 60.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03506/2.08, allocations: 15.11 MB / 1.027 GB, free: 48.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.331e-05/2.08, allocations: 0 / 1.027 GB, free: 48.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003055/2.083, allocations: 0.5575 MB / 1.028 GB, free: 47.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002078/2.085, allocations: 0.7047 MB / 1.029 GB, free: 47.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005637/2.086, allocations: 59.8 kB / 1.029 GB, free: 47.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009304/2.095, allocations: 10.34 MB / 1.039 GB, free: 37.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/2.095, allocations: 0 / 1.039 GB, free: 37.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01564/2.111, allocations: 10.2 MB / 1.049 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004707/2.116, allocations: 1.196 MB / 1.05 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002323/2.118, allocations: 57.41 kB / 1.05 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004409/2.122, allocations: 193.4 kB / 1.05 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006791/2.123, allocations: 197.5 kB / 1.05 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003977/2.124, allocations: 84.48 kB / 1.05 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01083/2.134, allocations: 4.935 MB / 1.055 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.51e-07/2.134, allocations: 3.969 kB / 1.055 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01288/2.147, allocations: 1.869 MB / 1.057 GB, free: 20.66 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 269 * 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.01942/2.167, allocations: 11.16 MB / 1.068 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01624/2.183, allocations: 9.005 MB / 1.077 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/2.183, allocations: 5.641 kB / 1.077 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004915/2.188, allocations: 3.251 MB / 1.08 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006445/2.195, allocations: 0.9185 MB / 1.081 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4988/2.693, allocations: 213.8 MB / 1.29 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01415/2.708, allocations: 6.135 MB / 1.296 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.01194/2.72, allocations: 3.096 MB / 1.299 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009926/2.73, allocations: 4.091 MB / 1.303 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of SimCode: time 2.294e-06/2.73, allocations: 7.719 kB / 1.303 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5569/3.286, allocations: 150.4 MB / 1.45 GB, free: 188.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/3.287, allocations: 192 kB / 1.45 GB, free: 188.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.087/11.37, allocations: 0 / 1.45 GB, free: 188.5 MB / 0.6198 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