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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001686/0.001687, allocations: 198.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.2 MB / 245 MB, free: 5.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001117/0.001117, allocations: 103.3 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3831/0.3831, allocations: 45.23 MB / 394.6 MB, free: 31.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002874, allocations: 4 kB / 468.5 MB, free: 7.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4139, allocations: 63.25 MB / 0.5193 GB, free: 37.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1755/0.5894, allocations: 109.1 MB / 0.6258 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/0.5898, allocations: 83.94 kB / 0.6259 GB, free: 10.21 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.571/1.161, allocations: 110.5 MB / 0.7338 GB, free: 98.37 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.795e-06/1.161, allocations: 0 / 0.7338 GB, free: 98.37 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002016/1.161, allocations: 105.7 kB / 0.7339 GB, free: 98.36 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01465/1.176, allocations: 5.644 MB / 0.7394 GB, free: 95.53 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/1.176, allocations: 7.5 kB / 0.7394 GB, free: 95.53 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002208/1.178, allocations: 0.8993 MB / 0.7403 GB, free: 95.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02497/1.203, allocations: 6.873 MB / 0.747 GB, free: 91.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01601/1.219, allocations: 5.787 MB / 0.7526 GB, free: 88.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003677/1.219, allocations: 381.5 kB / 0.753 GB, free: 88.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002995/1.222, allocations: 0.501 MB / 0.7535 GB, free: 87.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02881/1.251, allocations: 12.41 MB / 0.7656 GB, free: 76.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000321/1.252, allocations: 75.34 kB / 0.7657 GB, free: 76.13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001691/1.253, allocations: 247.9 kB / 0.7659 GB, free: 75.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001397/1.255, allocations: 1.125 MB / 0.767 GB, free: 74.76 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01905/1.274, allocations: 9.812 MB / 0.7766 GB, free: 64.93 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05796/1.332, allocations: 56.32 MB / 0.8316 GB, free: 6.836 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009982/1.342, allocations: 4.35 MB / 0.8358 GB, free: 2.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01515/1.357, allocations: 6.204 MB / 0.8419 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.325e-05/1.357, allocations: 59.48 kB / 0.842 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=154): time 5.921e-06/1.357, allocations: 0 / 0.842 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=166): time 0.04146/1.399, allocations: 14.28 MB / 0.8559 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/1.399, allocations: 205.2 kB / 0.8561 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0107/1.41, allocations: 4.998 MB / 0.861 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003915/1.41, allocations: 45.7 kB / 0.861 GB, free: 8.258 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004814/1.415, allocations: 3.865 MB / 0.8648 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001311/1.416, allocations: 0.6597 MB / 0.8654 GB, free: 3.672 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007377/1.417, allocations: 132 kB / 0.8656 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005808/1.418, allocations: 0.587 MB / 0.8661 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003866/1.421, allocations: 1.996 MB / 0.8681 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007734/1.429, allocations: 6.277 MB / 0.8742 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006235/1.436, allocations: 3.472 MB / 0.8776 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001333/1.436, allocations: 44 kB / 0.8777 GB, free: 5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.3516/1.787, allocations: 8.396 MB / 0.8859 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/1.787, allocations: 70.97 kB / 0.8859 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002505/1.788, allocations: 153.8 kB / 0.8861 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/1.789, allocations: 0.5809 MB / 0.8866 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005336/1.795, allocations: 1.506 MB / 0.8881 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007056/1.802, allocations: 5.691 MB / 0.8937 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00627/1.808, allocations: 337.2 kB / 0.894 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00152/1.81, allocations: 416.8 kB / 0.8944 GB, free: 123.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 49 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,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 (815): * Single equations (assignments): 810 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005512/1.815, allocations: 2.518 MB / 0.8968 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/1.816, allocations: 464.5 kB / 0.8973 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004755/1.821, allocations: 2.466 MB / 0.8997 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-05/1.821, allocations: 18.98 kB / 0.8997 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.622e-05/1.821, allocations: 4.656 kB / 0.8997 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/1.821, allocations: 7.578 kB / 0.8997 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01658/1.838, allocations: 7.178 MB / 0.9067 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.166e-05/1.838, allocations: 5.219 kB / 0.9067 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/1.839, allocations: 229.3 kB / 0.907 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001164/1.84, allocations: 343 kB / 0.9073 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/1.84, allocations: 33.41 kB / 0.9073 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006059/1.846, allocations: 5.055 MB / 0.9123 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/1.846, allocations: 4.094 kB / 0.9123 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/1.858, allocations: 5.088 MB / 0.9172 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002525/1.86, allocations: 0.5249 MB / 0.9177 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001348/1.862, allocations: 32.58 kB / 0.9178 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/1.864, allocations: 67.16 kB / 0.9178 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003004/1.864, allocations: 100.8 kB / 0.9179 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/1.864, allocations: 48.19 kB / 0.918 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007848/1.872, allocations: 3.578 MB / 0.9215 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.21e-07/1.872, allocations: 3.844 kB / 0.9215 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007564/1.88, allocations: 1.124 MB / 0.9226 GB, free: 116.3 MB / 0.5261 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.007523/1.887, allocations: 6.264 MB / 0.9287 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008049/1.896, allocations: 4.998 MB / 0.9336 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.896, allocations: 3.562 kB / 0.9336 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001929/1.898, allocations: 1.42 MB / 0.935 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004098/1.902, allocations: 0.6024 MB / 0.9356 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1071/2.009, allocations: 148.8 MB / 1.081 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005144/2.014, allocations: 3.961 MB / 1.085 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.005809/2.02, allocations: 2.167 MB / 1.087 GB, free: 0.5195 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3023/2.322, allocations: 2.695 MB / 1.089 GB, free: 161.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.173e-06/2.322, allocations: 0 / 1.089 GB, free: 161.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1603/2.482, allocations: 93.24 MB / 1.181 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/2.483, allocations: 197.9 kB / 1.181 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.885/8.368, allocations: 7.938 kB / 1.181 GB, free: 116.9 MB / 0.5573 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