Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",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.001422/0.001422, 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.541/1.541, allocations: 221.3 MB / 236 MB, free: 2.984 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.0009078/0.0009078, allocations: 98.61 kB / 287 MB, free: 248 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.2272/0.2272, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.811e-05/3.826e-05, allocations: 224 / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1364, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5045/0.6409, allocations: 109.6 MB / 0.6088 GB, free: 11.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.6412, allocations: 75.97 kB / 0.6089 GB, free: 11.58 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7048/1.346, allocations: 127.6 MB / 0.7335 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.334e-06/1.346, allocations: 3.375 kB / 0.7335 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003396/1.346, allocations: 126.8 kB / 0.7336 GB, free: 110.9 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.02091/1.367, allocations: 6.293 MB / 0.7397 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/1.367, allocations: 9.75 kB / 0.7398 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00445/1.372, allocations: 1.109 MB / 0.7408 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02811/1.4, allocations: 7.067 MB / 0.7477 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01804/1.418, allocations: 6.944 MB / 0.7545 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004766/1.419, allocations: 478.5 kB / 0.755 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003578/1.422, allocations: 0.6255 MB / 0.7556 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03856/1.461, allocations: 15.59 MB / 0.7708 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003164/1.461, allocations: 86.14 kB / 0.7709 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001335/1.462, allocations: 301.1 kB / 0.7712 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001687/1.464, allocations: 1.42 MB / 0.7726 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02586/1.49, allocations: 12.75 MB / 0.785 GB, free: 99.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07373/1.564, allocations: 66.92 MB / 0.8504 GB, free: 44.85 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01531/1.579, allocations: 6.344 MB / 0.8566 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004092/1.583, allocations: 3.354 MB / 0.8598 GB, free: 36.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01515/1.599, allocations: 7.975 MB / 0.8676 GB, free: 29.83 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.922e-05/1.599, allocations: 64.12 kB / 0.8677 GB, free: 29.76 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 5.841e-06/1.599, allocations: 7.188 kB / 0.8677 GB, free: 29.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=269): time 0.06998/1.669, allocations: 24.82 MB / 0.8919 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.57e-05/1.669, allocations: 243.3 kB / 0.8922 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01238/1.681, allocations: 5.636 MB / 0.8977 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008186/1.682, allocations: 65.7 kB / 0.8977 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004886/1.687, allocations: 4.433 MB / 0.9021 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001811/1.689, allocations: 1.021 MB / 0.9031 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006808/1.689, allocations: 159.9 kB / 0.9032 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005332/1.69, allocations: 0.6368 MB / 0.9038 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005281/1.695, allocations: 3.069 MB / 0.9068 GB, free: 5.555 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3431/2.038, allocations: 7.739 MB / 0.9144 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01094/2.049, allocations: 4.826 MB / 0.9191 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004035/2.05, allocations: 48.97 kB / 0.9192 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1032) (initialization): time 0.03224/2.082, allocations: 12.08 MB / 0.931 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002585/2.082, allocations: 79.56 kB / 0.931 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004148/2.083, allocations: 170.2 kB / 0.9312 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004477/2.087, allocations: 1.678 MB / 0.9328 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006935/2.094, allocations: 1.851 MB / 0.9346 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01344/2.108, allocations: 11.36 MB / 0.9457 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008634/2.116, allocations: 463.9 kB / 0.9462 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002372/2.119, allocations: 485.6 kB / 0.9466 GB, free: 105.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 755 * Number of states: 0 () * Number of discrete variables: 65 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[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 (960): * Single equations (assignments): 955 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003494/2.122, allocations: 0.7233 MB / 0.9473 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00164/2.124, allocations: 0.5428 MB / 0.9479 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/2.136, allocations: 6.021 MB / 0.9538 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-05/2.136, allocations: 27.03 kB / 0.9538 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.544e-05/2.136, allocations: 10.69 kB / 0.9538 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-05/2.136, allocations: 16.22 kB / 0.9538 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0313/2.167, allocations: 13.61 MB / 0.9671 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.629e-05/2.168, allocations: 3.062 kB / 0.9671 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002751/2.17, allocations: 0.4901 MB / 0.9676 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003682/2.174, allocations: 1.412 MB / 0.969 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006867/2.175, allocations: 50.03 kB / 0.969 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/2.188, allocations: 10.59 MB / 0.9793 GB, free: 94.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/2.188, allocations: 3.812 kB / 0.9793 GB, free: 94.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01682/2.205, allocations: 10.32 MB / 0.9894 GB, free: 90.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002481/2.207, allocations: 0.6168 MB / 0.99 GB, free: 89.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002151/2.21, allocations: 46.28 kB / 0.9901 GB, free: 89.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003874/2.214, allocations: 191.5 kB / 0.9903 GB, free: 89.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008415/2.214, allocations: 161.6 kB / 0.9904 GB, free: 89.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004652/2.215, allocations: 67.22 kB / 0.9905 GB, free: 89.53 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01048/2.225, allocations: 4.02 MB / 0.9944 GB, free: 88.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.61e-07/2.225, allocations: 0 / 0.9944 GB, free: 88.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01158/2.237, allocations: 1.502 MB / 0.9959 GB, free: 87.98 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (211): * Single equations (assignments): 206 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0168/2.254, allocations: 11.51 MB / 1.007 GB, free: 82.42 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01296/2.267, allocations: 7.689 MB / 1.015 GB, free: 76.42 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/2.267, allocations: 0 / 1.015 GB, free: 76.42 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00563/2.273, allocations: 3.057 MB / 1.018 GB, free: 73.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006147/2.279, allocations: 0.6985 MB / 1.018 GB, free: 73.11 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04582/2.325, allocations: 14.15 MB / 1.032 GB, free: 60.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01175/2.336, allocations: 4.737 MB / 1.037 GB, free: 57.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009465/2.346, allocations: 2.641 MB / 1.039 GB, free: 55.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006652/2.353, allocations: 2.959 MB / 1.042 GB, free: 52.86 MB / 0.5261 GB Notification: Performance of SimCode: time 2.024e-06/2.353, allocations: 0 / 1.042 GB, free: 52.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5475/2.9, allocations: 122.4 MB / 1.162 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/2.9, allocations: 180.7 kB / 1.162 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.04/9.941, allocations: 3.938 kB / 1.162 GB, free: 105.1 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat