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.001184/0.001184, allocations: 172 kB / 8.738 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.0008812/0.0008812, allocations: 99.11 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1975/0.1975, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.901e-05/1.888e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1357, allocations: 61.92 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.486/0.6217, allocations: 106.3 MB / 0.5985 GB, free: 6.066 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.6221, allocations: 71.97 kB / 0.5986 GB, free: 5.996 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6938/1.316, allocations: 152.9 MB / 0.7479 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.864e-06/1.316, allocations: 0 / 0.7479 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000482/1.316, allocations: 161.8 kB / 0.7481 GB, free: 102.3 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.02841/1.345, allocations: 7.631 MB / 0.7555 GB, free: 99.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/1.345, allocations: 14.77 kB / 0.7555 GB, free: 99.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04751/1.392, allocations: 11.93 MB / 0.7672 GB, free: 98.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02585/1.418, allocations: 9.962 MB / 0.7769 GB, free: 95.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005668/1.419, allocations: 253.1 kB / 0.7772 GB, free: 95.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003316/1.422, allocations: 468.2 kB / 0.7776 GB, free: 95.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01816/1.44, allocations: 10.12 MB / 0.7875 GB, free: 88.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03129/1.472, allocations: 15.45 MB / 0.8026 GB, free: 71.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003426/1.472, allocations: 103 kB / 0.8027 GB, free: 71.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001183/1.473, allocations: 44 kB / 0.8027 GB, free: 71.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001625/1.475, allocations: 1.571 MB / 0.8042 GB, free: 70.26 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06978/1.545, allocations: 72.67 MB / 0.8752 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006983/1.552, allocations: 5.069 MB / 0.8802 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004364/1.556, allocations: 3.378 MB / 0.8835 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006673/1.557, allocations: 0.6541 MB / 0.8841 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.552e-05/1.557, allocations: 64.06 kB / 0.8842 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=231): time 4.87e-06/1.557, allocations: 0 / 0.8842 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of matching and sorting (n=258): time 0.3811/1.938, allocations: 30.12 MB / 0.9136 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/1.938, allocations: 284.8 kB / 0.9138 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01178/1.95, allocations: 5.15 MB / 0.9189 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006889/1.951, allocations: 30.39 kB / 0.9189 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00524/1.956, allocations: 5.44 MB / 0.9242 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001952/1.958, allocations: 0.976 MB / 0.9252 GB, free: 115 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/1.959, allocations: 1.156 kB / 0.9252 GB, free: 115 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001002/1.96, allocations: 0.6707 MB / 0.9258 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006363/1.967, allocations: 2.69 MB / 0.9284 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007717/1.974, allocations: 8.025 MB / 0.9363 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007966/1.982, allocations: 4.593 MB / 0.9408 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003879/1.983, allocations: 57.53 kB / 0.9408 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1137) (initialization): time 0.02347/2.006, allocations: 10.32 MB / 0.9509 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003902/2.007, allocations: 90.25 kB / 0.951 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005587/2.007, allocations: 192.9 kB / 0.9512 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002949/2.01, allocations: 1.017 MB / 0.9522 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007108/2.017, allocations: 2.001 MB / 0.9541 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/2.028, allocations: 10.78 MB / 0.9646 GB, free: 97.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008082/2.037, allocations: 301 kB / 0.9649 GB, free: 97.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002177/2.039, allocations: 0.5244 MB / 0.9654 GB, free: 97.53 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * 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 (1057): * Single equations (assignments): 1050 * 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.002783/2.042, allocations: 0.598 MB / 0.966 GB, free: 97.05 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00747/2.049, allocations: 4.449 MB / 0.9704 GB, free: 95.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001836/2.051, allocations: 0.55 MB / 0.9709 GB, free: 95.17 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007497/2.058, allocations: 4.272 MB / 0.9751 GB, free: 93.62 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-05/2.059, allocations: 28.3 kB / 0.9751 GB, free: 93.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.859e-05/2.059, allocations: 15.12 kB / 0.9751 GB, free: 93.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.519e-05/2.059, allocations: 12.47 kB / 0.9751 GB, free: 93.62 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02496/2.084, allocations: 10.88 MB / 0.9858 GB, free: 89.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/2.084, allocations: 1.875 kB / 0.9858 GB, free: 89.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001967/2.086, allocations: 414.9 kB / 0.9862 GB, free: 89.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001884/2.087, allocations: 0.6832 MB / 0.9868 GB, free: 89.47 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002283/2.088, allocations: 18.03 kB / 0.9868 GB, free: 89.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008506/2.096, allocations: 9.702 MB / 0.9963 GB, free: 82.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/2.096, allocations: 0 / 0.9963 GB, free: 82.39 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/2.108, allocations: 7.528 MB / 1.004 GB, free: 79.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002573/2.11, allocations: 0.5545 MB / 1.004 GB, free: 78.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001752/2.112, allocations: 11.67 kB / 1.004 GB, free: 78.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003268/2.115, allocations: 103.4 kB / 1.004 GB, free: 78.69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004669/2.116, allocations: 147.2 kB / 1.004 GB, free: 78.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/2.116, allocations: 70.22 kB / 1.005 GB, free: 78.65 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007163/2.123, allocations: 3.496 MB / 1.008 GB, free: 76.99 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.22e-07/2.123, allocations: 0 / 1.008 GB, free: 76.99 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01184/2.135, allocations: 1.432 MB / 1.009 GB, free: 75.57 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 (198): * Single equations (assignments): 191 * 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.009572/2.145, allocations: 8.34 MB / 1.017 GB, free: 68.08 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01021/2.155, allocations: 6.934 MB / 1.024 GB, free: 61.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/2.155, allocations: 0 / 1.024 GB, free: 61.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002947/2.158, allocations: 2.457 MB / 1.027 GB, free: 59.55 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005181/2.163, allocations: 0.7504 MB / 1.027 GB, free: 58.94 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03837/2.202, allocations: 15.17 MB / 1.042 GB, free: 45.85 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008899/2.211, allocations: 5.587 MB / 1.048 GB, free: 41.78 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00803/2.219, allocations: 2.69 MB / 1.05 GB, free: 40.05 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005882/2.225, allocations: 3.62 MB / 1.054 GB, free: 36.69 MB / 0.5261 GB Notification: Performance of SimCode: time 1.363e-06/2.225, allocations: 0 / 1.054 GB, free: 36.69 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5294/2.754, allocations: 120.9 MB / 1.172 GB, free: 113.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001468/2.754, allocations: 133.4 kB / 1.172 GB, free: 113.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.254/9.008, allocations: 7.969 kB / 1.172 GB, free: 113.6 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