Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001028/0.001028, allocations: 93.86 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001461/0.001461, allocations: 192.9 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2065/0.2065, allocations: 45.91 MB / 344.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002706/0.0002706, allocations: 8 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.138, allocations: 63.46 MB / 481.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3653/0.5033, allocations: 65.67 MB / 0.5345 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03305/0.5364, allocations: 13.76 MB / 0.5479 GB, free: 15.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01469/0.5512, allocations: 311.8 kB / 0.5482 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01144/0.5626, allocations: 3.474 MB / 0.5516 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03061/0.5933, allocations: 10.19 MB / 0.5615 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004787/0.5981, allocations: 0.7807 MB / 0.5623 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.07473/0.6728, allocations: 62.06 MB / 0.6229 GB, free: 7.363 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007972/0.6809, allocations: 5.412 MB / 0.6282 GB, free: 1.895 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002826/0.6837, allocations: 1.6 MB / 0.6298 GB, free: 296 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00345/0.6872, allocations: 2.469 MB / 0.6322 GB, free: 13.81 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005064/0.6877, allocations: 172 kB / 0.6323 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.6898, allocations: 1.081 MB / 0.6334 GB, free: 12.56 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002142/0.6919, allocations: 2.193 MB / 0.6355 GB, free: 10.36 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.6932, allocations: 1.037 MB / 0.6365 GB, free: 9.312 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007187/0.7004, allocations: 6.928 MB / 0.6433 GB, free: 2.371 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.7004, allocations: 0 / 0.6433 GB, free: 2.371 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.7004, allocations: 3.938 kB / 0.6433 GB, free: 2.367 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002488/0.7007, allocations: 0 / 0.6433 GB, free: 2.367 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.01174/0.7124, allocations: 5.292 MB / 0.6485 GB, free: 13 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.7125, allocations: 12.03 kB / 0.6485 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001725/0.7142, allocations: 0.8435 MB / 0.6493 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03243/0.7467, allocations: 6.171 MB / 0.6553 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/0.7572, allocations: 4.02 MB / 0.6593 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002928/0.7575, allocations: 283.3 kB / 0.6595 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001407/0.759, allocations: 387.6 kB / 0.6599 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02194/0.7809, allocations: 11.84 MB / 0.6715 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001496/0.7811, allocations: 59.52 kB / 0.6715 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004412/0.7815, allocations: 183.8 kB / 0.6717 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003584/0.7851, allocations: 2.268 MB / 0.6739 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01973/0.8049, allocations: 9.646 MB / 0.6833 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3691/1.174, allocations: 46.22 MB / 0.7285 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/1.184, allocations: 3.802 MB / 0.7322 GB, free: 155.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003206/1.188, allocations: 2.032 MB / 0.7342 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01255/1.2, allocations: 6.267 MB / 0.7403 GB, free: 152.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.718e-05/1.2, allocations: 55.52 kB / 0.7404 GB, free: 152.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 5.771e-06/1.2, allocations: 0 / 0.7404 GB, free: 152.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.06466/1.265, allocations: 14.81 MB / 0.7548 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/1.265, allocations: 199.2 kB / 0.755 GB, free: 145.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01175/1.277, allocations: 5.644 MB / 0.7605 GB, free: 142.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004455/1.277, allocations: 47.61 kB / 0.7606 GB, free: 142.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002858/1.28, allocations: 3.822 MB / 0.7643 GB, free: 138.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000895/1.281, allocations: 0.6689 MB / 0.7649 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006579/1.282, allocations: 136 kB / 0.7651 GB, free: 137.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0005128/1.282, allocations: 0.5832 MB / 0.7656 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003493/1.286, allocations: 2.078 MB / 0.7677 GB, free: 135.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005153/1.291, allocations: 6.363 MB / 0.7739 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004885/1.296, allocations: 3.562 MB / 0.7774 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001434/1.296, allocations: 47.38 kB / 0.7774 GB, free: 123.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=870) (initialization): time 0.01569/1.312, allocations: 8.635 MB / 0.7858 GB, free: 114.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/1.312, allocations: 72.06 kB / 0.7859 GB, free: 114.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000231/1.312, allocations: 152 kB / 0.7861 GB, free: 114.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001596/1.314, allocations: 0.7265 MB / 0.7868 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004182/1.318, allocations: 1.528 MB / 0.7883 GB, free: 112.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005926/1.324, allocations: 6.318 MB / 0.7944 GB, free: 105.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005244/1.329, allocations: 348.6 kB / 0.7948 GB, free: 105.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001098/1.33, allocations: 420.7 kB / 0.7952 GB, free: 104.9 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.004891/1.335, allocations: 2.514 MB / 0.7976 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001207/1.337, allocations: 466 kB / 0.7981 GB, free: 101.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00498/1.342, allocations: 2.692 MB / 0.8007 GB, free: 99.19 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.45e-05/1.342, allocations: 16 kB / 0.8007 GB, free: 99.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-05/1.342, allocations: 8 kB / 0.8007 GB, free: 99.17 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-05/1.342, allocations: 11.97 kB / 0.8007 GB, free: 99.16 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/1.358, allocations: 7.558 MB / 0.8081 GB, free: 91.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.758e-05/1.358, allocations: 288 / 0.8081 GB, free: 91.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/1.359, allocations: 307 kB / 0.8084 GB, free: 91.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/1.361, allocations: 493.2 kB / 0.8089 GB, free: 90.76 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001871/1.361, allocations: 28 kB / 0.8089 GB, free: 90.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00528/1.366, allocations: 5.684 MB / 0.8145 GB, free: 84.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.366, allocations: 4 kB / 0.8145 GB, free: 84.79 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006236/1.373, allocations: 4.948 MB / 0.8193 GB, free: 79.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/1.374, allocations: 0.5301 MB / 0.8198 GB, free: 79.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001127/1.375, allocations: 35.67 kB / 0.8198 GB, free: 79.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002039/1.377, allocations: 71.91 kB / 0.8199 GB, free: 79.13 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/1.378, allocations: 96.81 kB / 0.82 GB, free: 79.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/1.378, allocations: 47.98 kB / 0.82 GB, free: 78.99 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006418/1.384, allocations: 3.615 MB / 0.8236 GB, free: 75.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.71e-07/1.384, allocations: 3.938 kB / 0.8236 GB, free: 75.39 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007209/1.391, allocations: 1.12 MB / 0.8247 GB, free: 74.28 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.007258/1.399, allocations: 5.61 MB / 0.8302 GB, free: 68.61 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008477/1.407, allocations: 5.138 MB / 0.8352 GB, free: 63.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/1.407, allocations: 0 / 0.8352 GB, free: 63.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001969/1.409, allocations: 1.488 MB / 0.8366 GB, free: 61.96 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006216/1.415, allocations: 0.6224 MB / 0.8372 GB, free: 61.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09208/1.507, allocations: 44.57 MB / 0.8808 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006375/1.514, allocations: 3.854 MB / 0.8845 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007385/1.521, allocations: 2.16 MB / 0.8866 GB, free: 6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005029/1.526, allocations: 2.37 MB / 0.8889 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of SimCode: time 3.536e-06/1.526, allocations: 3.938 kB / 0.8889 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4553/1.982, allocations: 94.52 MB / 0.9812 GB, free: 133.5 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/1.982, allocations: 208.1 kB / 0.9814 GB, free: 133.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.6/6.582, allocations: 0 / 0.9814 GB, free: 133.2 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat