Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_ForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForcesAndTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_ForcesAndTorques",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.001099/0.001099, allocations: 177.3 kB / 17.06 MB, free: 5.098 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.399/1.399, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008522/0.0008522, allocations: 93.91 kB / 292.1 MB, free: 10.9 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.3475/0.3475, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003623, allocations: 16 kB / 460 MB, free: 1.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3402, allocations: 61.9 MB / 0.5096 GB, free: 38.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1816/0.5219, allocations: 110.9 MB / 0.6179 GB, free: 184 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.5222, allocations: 87.92 kB / 0.618 GB, free: 100 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6248/1.147, allocations: 137.9 MB / 0.7527 GB, free: 86.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.274e-06/1.147, allocations: 0 / 0.7527 GB, free: 86.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005184/1.148, allocations: 144.8 kB / 0.7528 GB, free: 86.85 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.02606/1.174, allocations: 7.4 MB / 0.76 GB, free: 81.97 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/1.174, allocations: 11.11 kB / 0.7601 GB, free: 81.96 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005943/1.18, allocations: 1.244 MB / 0.7613 GB, free: 81.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02899/1.209, allocations: 7.187 MB / 0.7683 GB, free: 77.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02167/1.23, allocations: 7.336 MB / 0.7754 GB, free: 70.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000598/1.231, allocations: 0.5295 MB / 0.776 GB, free: 70.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004038/1.235, allocations: 0.7067 MB / 0.7767 GB, free: 69.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04508/1.28, allocations: 17.48 MB / 0.7937 GB, free: 50.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005715/1.281, allocations: 87.27 kB / 0.7938 GB, free: 50.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003315/1.284, allocations: 343.8 kB / 0.7941 GB, free: 50.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002209/1.286, allocations: 1.632 MB / 0.7957 GB, free: 48.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02822/1.315, allocations: 14.16 MB / 0.8096 GB, free: 34.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4938/1.808, allocations: 76.67 MB / 0.8844 GB, free: 60.22 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01978/1.828, allocations: 7.94 MB / 0.8922 GB, free: 59.53 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02085/1.849, allocations: 10.11 MB / 0.9021 GB, free: 57.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.191e-05/1.849, allocations: 68.11 kB / 0.9021 GB, free: 57.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=277): time 8.345e-06/1.849, allocations: 2.25 kB / 0.9021 GB, free: 57.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319): time 0.09644/1.946, allocations: 33.2 MB / 0.9346 GB, free: 51.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.917e-05/1.946, allocations: 241.2 kB / 0.9348 GB, free: 51.03 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01153/1.958, allocations: 6.312 MB / 0.9409 GB, free: 50.08 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001207/1.959, allocations: 76.05 kB / 0.941 GB, free: 50.01 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004583/1.963, allocations: 4.907 MB / 0.9458 GB, free: 46.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002238/1.966, allocations: 1.206 MB / 0.947 GB, free: 45.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/1.967, allocations: 185.7 kB / 0.9472 GB, free: 45.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005813/1.967, allocations: 0.6888 MB / 0.9478 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006498/1.974, allocations: 3.504 MB / 0.9513 GB, free: 43.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01154/1.985, allocations: 8.774 MB / 0.9598 GB, free: 35.38 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/1.997, allocations: 5.445 MB / 0.9651 GB, free: 33.53 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003372/1.997, allocations: 56.84 kB / 0.9652 GB, free: 33.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.03571/2.033, allocations: 13.55 MB / 0.9784 GB, free: 29.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003866/2.033, allocations: 84 kB / 0.9785 GB, free: 28.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006202/2.034, allocations: 188 kB / 0.9787 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00488/2.039, allocations: 1.711 MB / 0.9804 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008421/2.047, allocations: 2.17 MB / 0.9825 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01422/2.061, allocations: 11.71 MB / 0.9939 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009858/2.071, allocations: 0.5039 MB / 0.9944 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002837/2.074, allocations: 0.5371 MB / 0.9949 GB, free: 14.24 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 847 * Number of states: 0 () * Number of discrete variables: 83 (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.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque2.forceArrow.color[3],forceAndTorque2.forceArrow.color[2],forceAndTorque2.forceArrow.color[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque1.forceArrow.color[3],forceAndTorque1.forceArrow.color[2],forceAndTorque1.forceArrow.color[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1102): * Single equations (assignments): 1097 * 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.01142/2.086, allocations: 3.341 MB / 0.9982 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002443/2.088, allocations: 0.6011 MB / 0.9988 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01472/2.103, allocations: 6.732 MB / 1.005 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-05/2.103, allocations: 35.36 kB / 1.005 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-05/2.103, allocations: 12 kB / 1.005 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.469e-05/2.103, allocations: 19.38 kB / 1.005 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05208/2.155, allocations: 15.9 MB / 1.021 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.102e-05/2.155, allocations: 8 kB / 1.021 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004838/2.16, allocations: 0.6285 MB / 1.022 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00545/2.166, allocations: 1.426 MB / 1.023 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001107/2.167, allocations: 56 kB / 1.023 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02172/2.189, allocations: 10.93 MB / 1.034 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-05/2.189, allocations: 8 kB / 1.034 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02976/2.218, allocations: 12.13 MB / 1.046 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003658/2.222, allocations: 0.6843 MB / 1.046 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003368/2.226, allocations: 63.92 kB / 1.046 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005614/2.231, allocations: 203.7 kB / 1.046 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001397/2.233, allocations: 201.9 kB / 1.047 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008883/2.234, allocations: 80 kB / 1.047 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01417/2.248, allocations: 4.534 MB / 1.051 GB, free: 8.664 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.11e-07/2.248, allocations: 0 / 1.051 GB, free: 8.664 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01526/2.263, allocations: 1.68 MB / 1.053 GB, free: 6.992 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (261): * Single equations (assignments): 256 * 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.03036/2.294, allocations: 13.71 MB / 1.066 GB, free: 9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02403/2.318, allocations: 8.698 MB / 1.075 GB, free: 320 kB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.881e-05/2.318, allocations: 4 kB / 1.075 GB, free: 316 kB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.009773/2.327, allocations: 3.42 MB / 1.078 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006803/2.334, allocations: 0.7556 MB / 1.079 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5091/2.843, allocations: 195.3 MB / 1.269 GB, free: 44.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01658/2.86, allocations: 5.195 MB / 1.275 GB, free: 44.03 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0126/2.873, allocations: 3.007 MB / 1.277 GB, free: 43.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009465/2.882, allocations: 3.319 MB / 1.281 GB, free: 42.83 MB / 0.6042 GB Notification: Performance of SimCode: time 1.322e-06/2.882, allocations: 0 / 1.281 GB, free: 42.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6943/3.577, allocations: 135.8 MB / 1.413 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/3.577, allocations: 200.3 kB / 1.414 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/11.06, allocations: 0 / 1.414 GB, free: 170.3 MB / 0.6042 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_ForcesAndTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_ForcesAndTorques.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat does not exist to compare? outputFormat=mat