Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008984/0.0008984, allocations: 97.72 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000898/0.0008981, allocations: 188.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.3 MB / 241.9 MB, free: 14.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2222/0.2222, allocations: 44.22 MB / 337.2 MB, free: 2.539 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003453, allocations: 8 kB / 409.7 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.127, allocations: 61.92 MB / 471.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3198/0.4468, allocations: 65.65 MB / 0.5247 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03658/0.4835, allocations: 13.73 MB / 0.5381 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01685/0.5004, allocations: 312 kB / 0.5384 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01155/0.512, allocations: 3.467 MB / 0.5418 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03108/0.5431, allocations: 10.21 MB / 0.5518 GB, free: 32 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005053/0.5482, allocations: 0.7824 MB / 0.5525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.07987/0.6281, allocations: 61.93 MB / 0.613 GB, free: 3.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009009/0.6372, allocations: 5.421 MB / 0.6183 GB, free: 14.28 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003796/0.641, allocations: 1.603 MB / 0.6199 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004183/0.6452, allocations: 2.461 MB / 0.6223 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001182/0.6465, allocations: 168 kB / 0.6224 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003059/0.6495, allocations: 1.096 MB / 0.6235 GB, free: 8.938 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002854/0.6524, allocations: 2.19 MB / 0.6256 GB, free: 6.742 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001849/0.6543, allocations: 1.041 MB / 0.6267 GB, free: 5.691 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008851/0.6632, allocations: 6.944 MB / 0.6334 GB, free: 14.73 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.6632, allocations: 0 / 0.6334 GB, free: 14.73 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.407e-06/0.6632, allocations: 0 / 0.6334 GB, free: 14.73 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003235/0.6635, allocations: 0 / 0.6334 GB, free: 14.73 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01345/0.677, allocations: 5.269 MB / 0.6386 GB, free: 9.391 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.6771, allocations: 12.03 kB / 0.6386 GB, free: 9.379 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00379/0.6809, allocations: 0.8435 MB / 0.6394 GB, free: 8.527 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03328/0.7142, allocations: 6.171 MB / 0.6454 GB, free: 2.34 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008907/0.7231, allocations: 4.235 MB / 0.6496 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.7234, allocations: 287.3 kB / 0.6499 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008411/0.7242, allocations: 383.6 kB / 0.6502 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01949/0.7437, allocations: 11.84 MB / 0.6618 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001385/0.7439, allocations: 59.52 kB / 0.6618 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004397/0.7444, allocations: 179.8 kB / 0.662 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003494/0.7479, allocations: 2.268 MB / 0.6642 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02111/0.769, allocations: 9.65 MB / 0.6736 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3492/1.118, allocations: 46.23 MB / 0.7188 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009881/1.128, allocations: 3.799 MB / 0.7225 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003034/1.131, allocations: 2.038 MB / 0.7245 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01084/1.142, allocations: 6.267 MB / 0.7306 GB, free: 161 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/1.142, allocations: 49.88 kB / 0.7307 GB, free: 161 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 6.012e-06/1.142, allocations: 0 / 0.7307 GB, free: 161 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.03729/1.179, allocations: 14.8 MB / 0.7451 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.102e-05/1.18, allocations: 209.3 kB / 0.7453 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00744/1.187, allocations: 5.645 MB / 0.7508 GB, free: 152 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003056/1.187, allocations: 48.27 kB / 0.7509 GB, free: 152 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002263/1.19, allocations: 3.822 MB / 0.7546 GB, free: 148.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007011/1.19, allocations: 0.6719 MB / 0.7553 GB, free: 148.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/1.191, allocations: 130.8 kB / 0.7554 GB, free: 148 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003701/1.191, allocations: 0.5844 MB / 0.756 GB, free: 147.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002943/1.194, allocations: 2.078 MB / 0.758 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003773/1.198, allocations: 6.363 MB / 0.7642 GB, free: 137.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003931/1.202, allocations: 3.561 MB / 0.7677 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.434e-05/1.202, allocations: 44 kB / 0.7677 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=870) (initialization): time 0.01245/1.214, allocations: 8.639 MB / 0.7762 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/1.214, allocations: 74.19 kB / 0.7762 GB, free: 125.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001398/1.215, allocations: 152 kB / 0.7764 GB, free: 125 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/1.216, allocations: 0.7254 MB / 0.7771 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004095/1.22, allocations: 1.52 MB / 0.7786 GB, free: 122.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005497/1.226, allocations: 6.331 MB / 0.7847 GB, free: 116.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004486/1.23, allocations: 352.1 kB / 0.7851 GB, free: 115.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005914/1.231, allocations: 421.3 kB / 0.7855 GB, free: 115.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (810): * Single equations (assignments): 803 * Array equations: 5 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003469/1.234, allocations: 2.518 MB / 0.7879 GB, free: 112.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006704/1.235, allocations: 462 kB / 0.7884 GB, free: 112.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003856/1.239, allocations: 2.685 MB / 0.791 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/1.239, allocations: 27.94 kB / 0.791 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/1.239, allocations: 4 kB / 0.791 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/1.239, allocations: 7.969 kB / 0.791 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/1.25, allocations: 7.558 MB / 0.7984 GB, free: 102.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/1.25, allocations: 8.031 kB / 0.7984 GB, free: 102.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/1.251, allocations: 295.5 kB / 0.7987 GB, free: 101.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/1.252, allocations: 491.4 kB / 0.7992 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/1.252, allocations: 31.95 kB / 0.7992 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00499/1.257, allocations: 5.681 MB / 0.8048 GB, free: 95.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/1.257, allocations: 8.062 kB / 0.8048 GB, free: 95.31 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00578/1.263, allocations: 4.956 MB / 0.8096 GB, free: 90.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001491/1.264, allocations: 0.5262 MB / 0.8101 GB, free: 89.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005087/1.265, allocations: 31.98 kB / 0.8101 GB, free: 89.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/1.266, allocations: 74.66 kB / 0.8102 GB, free: 89.65 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002014/1.266, allocations: 104.8 kB / 0.8103 GB, free: 89.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.947e-05/1.267, allocations: 48 kB / 0.8104 GB, free: 89.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004728/1.271, allocations: 3.607 MB / 0.8139 GB, free: 85.92 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/1.271, allocations: 0 / 0.8139 GB, free: 85.92 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005892/1.277, allocations: 1.12 MB / 0.815 GB, free: 84.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (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 (126): * Single equations (assignments): 121 * 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 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006065/1.283, allocations: 5.602 MB / 0.8205 GB, free: 79.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007377/1.291, allocations: 5.142 MB / 0.8255 GB, free: 74 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/1.291, allocations: 4 kB / 0.8255 GB, free: 74 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001701/1.292, allocations: 1.484 MB / 0.8269 GB, free: 72.49 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003786/1.296, allocations: 0.6195 MB / 0.8275 GB, free: 71.88 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0697/1.366, allocations: 44.57 MB / 0.8711 GB, free: 22.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003744/1.37, allocations: 3.85 MB / 0.8748 GB, free: 18.71 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005183/1.375, allocations: 2.16 MB / 0.8769 GB, free: 16.54 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003047/1.378, allocations: 2.37 MB / 0.8792 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of SimCode: time 2.164e-06/1.378, allocations: 0 / 0.8792 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4462/1.824, allocations: 94.53 MB / 0.9716 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002598/1.824, allocations: 213.5 kB / 0.9718 GB, free: 180.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.951/6.776, allocations: 0 / 0.9718 GB, free: 180.9 MB / 0.5606 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat