Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_ForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_ForcesAndTorques",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.001624/0.001624, allocations: 178.3 kB / 8.005 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.54/1.54, allocations: 205.3 MB / 213.7 MB, free: 1.73 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.0009744/0.0009745, allocations: 86.61 kB / 261.7 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.197/0.197, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.584e-05/1.585e-05, allocations: 4 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 58.85 MB / 477.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3871/0.4942, allocations: 109.5 MB / 0.5729 GB, free: 2.164 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.4945, allocations: 81.81 kB / 0.573 GB, free: 2.129 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6024/1.097, allocations: 145.8 MB / 0.7153 GB, free: 91.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.253e-06/1.097, allocations: 0 / 0.7153 GB, free: 91.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004268/1.097, allocations: 152.1 kB / 0.7155 GB, free: 91.28 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: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02498/1.122, allocations: 7.386 MB / 0.7227 GB, free: 88.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/1.122, allocations: 13.45 kB / 0.7227 GB, free: 88.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04459/1.167, allocations: 7.32 MB / 0.7299 GB, free: 88.01 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0283/1.195, allocations: 7.898 MB / 0.7376 GB, free: 87.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004786/1.196, allocations: 253.3 kB / 0.7378 GB, free: 87.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003263/1.199, allocations: 463.8 kB / 0.7382 GB, free: 87.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0254/1.225, allocations: 10.98 MB / 0.749 GB, free: 87.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03771/1.262, allocations: 16.44 MB / 0.765 GB, free: 83.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002949/1.263, allocations: 92.03 kB / 0.7651 GB, free: 83.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001314/1.264, allocations: 44.78 kB / 0.7652 GB, free: 83.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00195/1.266, allocations: 1.838 MB / 0.767 GB, free: 83.02 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07028/1.336, allocations: 77.78 MB / 0.8429 GB, free: 31.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006547/1.343, allocations: 6.739 MB / 0.8495 GB, free: 27.92 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004067/1.347, allocations: 4.363 MB / 0.8538 GB, free: 23.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000778/1.348, allocations: 0.7133 MB / 0.8545 GB, free: 23.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/1.348, allocations: 75.98 kB / 0.8545 GB, free: 23.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=340): time 5.811e-06/1.348, allocations: 4 kB / 0.8545 GB, free: 23.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=384): time 0.06261/1.41, allocations: 32.21 MB / 0.886 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/1.411, allocations: 244.9 kB / 0.8862 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009806/1.42, allocations: 5.027 MB / 0.8911 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001169/1.422, allocations: 25.7 kB / 0.8912 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004771/1.426, allocations: 5.422 MB / 0.8964 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0022/1.429, allocations: 1.387 MB / 0.8978 GB, free: 224 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001145/1.43, allocations: 0.75 kB / 0.8978 GB, free: 224 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.2799/1.71, allocations: 0.7771 MB / 0.8986 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008223/1.718, allocations: 3.921 MB / 0.9024 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01277/1.731, allocations: 9.7 MB / 0.9119 GB, free: 93.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01072/1.742, allocations: 6.111 MB / 0.9178 GB, free: 92.97 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003524/1.742, allocations: 62.06 kB / 0.9179 GB, free: 92.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1350) (initialization): time 0.02771/1.77, allocations: 13.91 MB / 0.9315 GB, free: 92.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001786/1.77, allocations: 96.66 kB / 0.9316 GB, free: 92.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002914/1.77, allocations: 204.7 kB / 0.9318 GB, free: 92.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003707/1.774, allocations: 1.736 MB / 0.9335 GB, free: 92.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009398/1.783, allocations: 2.52 MB / 0.9359 GB, free: 92.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01216/1.796, allocations: 10.81 MB / 0.9465 GB, free: 89.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009359/1.805, allocations: 405.9 kB / 0.9469 GB, free: 89.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002991/1.808, allocations: 0.5995 MB / 0.9475 GB, free: 89.81 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 937 * Number of states: 0 () * Number of discrete variables: 69 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1278): * Single equations (assignments): 1273 * 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%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004635/1.813, allocations: 0.6311 MB / 0.9481 GB, free: 89.49 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01214/1.825, allocations: 7.43 MB / 0.9553 GB, free: 89.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001566/1.826, allocations: 0.556 MB / 0.9559 GB, free: 89.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01302/1.84, allocations: 7.497 MB / 0.9632 GB, free: 88.49 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.154e-05/1.84, allocations: 42.48 kB / 0.9632 GB, free: 88.49 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-05/1.84, allocations: 6.938 kB / 0.9632 GB, free: 88.49 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.104e-05/1.84, allocations: 20.44 kB / 0.9633 GB, free: 88.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03265/1.872, allocations: 16.4 MB / 0.9793 GB, free: 82.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.019e-05/1.872, allocations: 9.719 kB / 0.9793 GB, free: 82.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003679/1.876, allocations: 0.759 MB / 0.98 GB, free: 82.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003259/1.879, allocations: 1.408 MB / 0.9814 GB, free: 82.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004978/1.88, allocations: 20.53 kB / 0.9814 GB, free: 82.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01058/1.891, allocations: 9.893 MB / 0.9911 GB, free: 76.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/1.891, allocations: 3.969 kB / 0.9911 GB, free: 76.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02115/1.912, allocations: 13.3 MB / 1.004 GB, free: 69.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003633/1.915, allocations: 1.177 MB / 1.005 GB, free: 68.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00229/1.918, allocations: 11.95 kB / 1.005 GB, free: 68.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004844/1.923, allocations: 197.2 kB / 1.005 GB, free: 68.42 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001258/1.924, allocations: 229.9 kB / 1.006 GB, free: 68.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008649/1.925, allocations: 108.4 kB / 1.006 GB, free: 68.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007351/1.932, allocations: 3.365 MB / 1.009 GB, free: 65.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.52e-07/1.932, allocations: 0 / 1.009 GB, free: 65.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01276/1.945, allocations: 1.615 MB / 1.011 GB, free: 63.64 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (330): * Single equations (assignments): 325 * 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.01982/1.965, allocations: 14.95 MB / 1.025 GB, free: 50.17 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01566/1.981, allocations: 9.802 MB / 1.035 GB, free: 41.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/1.981, allocations: 7.938 kB / 1.035 GB, free: 41.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005501/1.986, allocations: 3.822 MB / 1.039 GB, free: 37.97 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003663/1.99, allocations: 0.5672 MB / 1.039 GB, free: 37.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03811/2.028, allocations: 17.11 MB / 1.056 GB, free: 22.66 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009324/2.037, allocations: 5.659 MB / 1.061 GB, free: 18.52 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01057/2.048, allocations: 3.346 MB / 1.065 GB, free: 16.37 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006102/2.054, allocations: 3.639 MB / 1.068 GB, free: 13 MB / 0.5105 GB Notification: Performance of SimCode: time 1.533e-06/2.054, allocations: 0 / 1.068 GB, free: 13 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4615/2.516, allocations: 129.2 MB / 1.194 GB, free: 68.96 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001257/2.516, allocations: 145.2 kB / 1.194 GB, free: 68.76 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.274/8.79, allocations: 4 kB / 1.194 GB, free: 68.76 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_ForcesAndTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_ForcesAndTorques.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat does not exist to compare? outputFormat=mat