Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009806/0.0009805, allocations: 101.7 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001006/0.001006, allocations: 192.2 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 246 MB, free: 11.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2093/0.2093, allocations: 45.93 MB / 344.1 MB, free: 12.24 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000257/0.0002571, allocations: 8 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1263, allocations: 63.46 MB / 481.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.3581/0.4844, allocations: 101 MB / 0.569 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05923/0.5437, allocations: 20.17 MB / 0.5887 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02702/0.5708, allocations: 478.9 kB / 0.5891 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0191/0.5899, allocations: 5.389 MB / 0.5944 GB, free: 4.504 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04613/0.6361, allocations: 15.45 MB / 0.6095 GB, free: 5.004 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00778/0.6439, allocations: 1.077 MB / 0.6105 GB, free: 3.926 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.1189/0.7629, allocations: 92.25 MB / 0.7006 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.399/1.162, allocations: 7.878 MB / 0.7083 GB, free: 92.76 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005916/1.168, allocations: 2.135 MB / 0.7104 GB, free: 92.76 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00896/1.177, allocations: 3.389 MB / 0.7137 GB, free: 92.76 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002935/1.18, allocations: 242 kB / 0.7139 GB, free: 92.76 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005498/1.185, allocations: 1.004 MB / 0.7149 GB, free: 92.76 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.006549/1.192, allocations: 3.016 MB / 0.7179 GB, free: 92.76 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003956/1.196, allocations: 1.408 MB / 0.7192 GB, free: 92.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01548/1.212, allocations: 9.444 MB / 0.7285 GB, free: 92.14 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/1.212, allocations: 0 / 0.7285 GB, free: 92.14 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.875e-06/1.212, allocations: 0 / 0.7285 GB, free: 92.14 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000567/1.212, allocations: 0 / 0.7285 GB, free: 92.14 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.01817/1.23, allocations: 7.147 MB / 0.7354 GB, free: 89.18 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/1.23, allocations: 10.09 kB / 0.7355 GB, free: 89.18 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003954/1.234, allocations: 1.149 MB / 0.7366 GB, free: 89.09 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04579/1.28, allocations: 8.526 MB / 0.7449 GB, free: 85.95 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01347/1.294, allocations: 5.49 MB / 0.7503 GB, free: 84.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000535/1.294, allocations: 400.2 kB / 0.7506 GB, free: 84.21 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002647/1.297, allocations: 0.5378 MB / 0.7512 GB, free: 84.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03715/1.334, allocations: 15.91 MB / 0.7667 GB, free: 74.92 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006924/1.335, allocations: 78.92 kB / 0.7668 GB, free: 74.88 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002594/1.337, allocations: 256.1 kB / 0.767 GB, free: 74.8 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00555/1.343, allocations: 3.06 MB / 0.77 GB, free: 72.27 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02808/1.371, allocations: 12.97 MB / 0.7827 GB, free: 63.27 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07886/1.45, allocations: 62.85 MB / 0.8441 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0124/1.462, allocations: 5.465 MB / 0.8494 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003936/1.466, allocations: 3.591 MB / 0.8529 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/1.467, allocations: 50.97 kB / 0.853 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/1.467, allocations: 62.34 kB / 0.853 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=229): time 5.33e-06/1.467, allocations: 0 / 0.853 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of matching and sorting (n=262): time 0.08245/1.549, allocations: 29.1 MB / 0.8814 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001825/1.549, allocations: 286.8 kB / 0.8817 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01455/1.564, allocations: 7.11 MB / 0.8887 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0009198/1.565, allocations: 65.7 kB / 0.8887 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004973/1.57, allocations: 4.99 MB / 0.8936 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001778/1.572, allocations: 1.011 MB / 0.8946 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008379/1.573, allocations: 168 kB / 0.8947 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0005074/1.573, allocations: 0.6656 MB / 0.8954 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005537/1.579, allocations: 3.182 MB / 0.8985 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009169/1.588, allocations: 8.424 MB / 0.9067 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008948/1.597, allocations: 5.048 MB / 0.9117 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002221/1.597, allocations: 56 kB / 0.9117 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1112) (initialization): time 0.0284/1.625, allocations: 12.55 MB / 0.924 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003191/1.626, allocations: 84 kB / 0.924 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004114/1.626, allocations: 184 kB / 0.9242 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004371/1.631, allocations: 1.569 MB / 0.9258 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007057/1.638, allocations: 2.002 MB / 0.9277 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2794/1.917, allocations: 12.33 MB / 0.9398 GB, free: 229.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007687/1.925, allocations: 490.9 kB / 0.9402 GB, free: 229.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001834/1.927, allocations: 0.5131 MB / 0.9407 GB, free: 229.6 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 842 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.color[3],worldForce.color[2],worldForce.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 (1037): * Single equations (assignments): 1031 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009986/1.937, allocations: 3.298 MB / 0.9439 GB, free: 228.9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002465/1.939, allocations: 0.5958 MB / 0.9445 GB, free: 228.9 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01483/1.954, allocations: 5.609 MB / 0.95 GB, free: 226.9 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001163/1.954, allocations: 32.89 kB / 0.95 GB, free: 226.9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.454e-05/1.954, allocations: 9.438 kB / 0.95 GB, free: 226.9 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.996e-05/1.954, allocations: 18.86 kB / 0.9501 GB, free: 226.9 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03594/1.99, allocations: 13.51 MB / 0.9633 GB, free: 222.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-05/1.99, allocations: 3.938 kB / 0.9633 GB, free: 222.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002129/1.993, allocations: 460.8 kB / 0.9637 GB, free: 222.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003036/1.996, allocations: 1.248 MB / 0.9649 GB, free: 221.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003794/1.996, allocations: 46.83 kB / 0.965 GB, free: 221.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01156/2.008, allocations: 11.39 MB / 0.9761 GB, free: 215 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/2.008, allocations: 0 / 0.9761 GB, free: 215 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/2.021, allocations: 9.331 MB / 0.9852 GB, free: 211.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002228/2.023, allocations: 0.6635 MB / 0.9859 GB, free: 211.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001957/2.025, allocations: 44.28 kB / 0.9859 GB, free: 211.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003354/2.029, allocations: 158.9 kB / 0.986 GB, free: 211.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005421/2.029, allocations: 156.8 kB / 0.9862 GB, free: 211.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002737/2.029, allocations: 72.92 kB / 0.9863 GB, free: 211.1 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.008585/2.038, allocations: 4.527 MB / 0.9907 GB, free: 209.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5e-07/2.038, allocations: 0 / 0.9907 GB, free: 209.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0101/2.048, allocations: 1.613 MB / 0.9923 GB, free: 208.3 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (204): * Single equations (assignments): 198 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01406/2.062, allocations: 10.01 MB / 1.002 GB, free: 199.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01316/2.075, allocations: 7.999 MB / 1.01 GB, free: 193 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/2.075, allocations: 7.438 kB / 1.01 GB, free: 193 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004681/2.08, allocations: 2.955 MB / 1.013 GB, free: 190.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006905/2.087, allocations: 0.8444 MB / 1.014 GB, free: 189.6 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.124/2.211, allocations: 65.49 MB / 1.078 GB, free: 118.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005377/2.217, allocations: 5.022 MB / 1.082 GB, free: 113.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.006724/2.223, allocations: 2.817 MB / 1.085 GB, free: 110.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004521/2.228, allocations: 3.331 MB / 1.088 GB, free: 107.5 MB / 0.6075 GB Notification: Performance of SimCode: time 3.216e-06/2.228, allocations: 4 kB / 1.088 GB, free: 107.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.478/2.706, allocations: 131.7 MB / 1.217 GB, free: 215.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/2.706, allocations: 201.8 kB / 1.217 GB, free: 215.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.858/8.565, allocations: 3.938 kB / 1.217 GB, free: 215.2 MB / 0.6075 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces_res.mat does not exist to compare? outputFormat=mat