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.001222/0.001222, allocations: 95.72 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009566/0.0009566, allocations: 204.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.3 MB / 245.9 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.194/0.194, allocations: 45.91 MB / 344 MB, free: 12.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002559/0.000256, allocations: 8 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1209, allocations: 63.46 MB / 481.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3136/0.4346, allocations: 62.02 MB / 0.5308 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03833/0.4729, allocations: 14.39 MB / 0.5448 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01963/0.4926, allocations: 310.7 kB / 0.5451 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01362/0.5063, allocations: 3.133 MB / 0.5482 GB, free: 14.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03397/0.5403, allocations: 8.973 MB / 0.557 GB, free: 8.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004917/0.5453, allocations: 0.774 MB / 0.5577 GB, free: 8.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.06816/0.6134, allocations: 48.6 MB / 0.6052 GB, free: 8.715 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007792/0.6213, allocations: 5.361 MB / 0.6104 GB, free: 3.293 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002485/0.6238, allocations: 1.308 MB / 0.6117 GB, free: 1.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002544/0.6264, allocations: 1.69 MB / 0.6133 GB, free: 292 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005831/0.627, allocations: 176 kB / 0.6135 GB, free: 116 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002206/0.6292, allocations: 1.042 MB / 0.6145 GB, free: 15.07 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002046/0.6313, allocations: 2.038 MB / 0.6165 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001259/0.6325, allocations: 1.037 MB / 0.6175 GB, free: 11.98 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007406/0.6399, allocations: 6.936 MB / 0.6243 GB, free: 5.023 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.64, allocations: 0 / 0.6243 GB, free: 5.023 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.64, allocations: 4 kB / 0.6243 GB, free: 5.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003019/0.6403, allocations: 4 kB / 0.6243 GB, free: 5.016 MB / 462.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.01366/0.654, allocations: 5.432 MB / 0.6296 GB, free: 15.51 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.654, allocations: 8.031 kB / 0.6296 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002442/0.6565, allocations: 0.8435 MB / 0.6305 GB, free: 14.65 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0432/0.6997, allocations: 8.044 MB / 0.6383 GB, free: 6.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/0.7101, allocations: 3.829 MB / 0.642 GB, free: 2.707 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002512/0.7104, allocations: 287.2 kB / 0.6423 GB, free: 2.426 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00115/0.7115, allocations: 383.7 kB / 0.6427 GB, free: 2.051 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02327/0.7348, allocations: 11.95 MB / 0.6544 GB, free: 5.246 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001638/0.735, allocations: 51.53 kB / 0.6544 GB, free: 5.195 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005316/0.7355, allocations: 183.8 kB / 0.6546 GB, free: 5.016 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00407/0.7396, allocations: 2.272 MB / 0.6568 GB, free: 2.738 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0217/0.7613, allocations: 9.773 MB / 0.6663 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3527/1.114, allocations: 46.38 MB / 0.7116 GB, free: 155.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009902/1.124, allocations: 3.802 MB / 0.7154 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01186/1.136, allocations: 6.33 MB / 0.7215 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/1.136, allocations: 59.62 kB / 0.7216 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 4.028e-06/1.136, allocations: 0 / 0.7216 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.03686/1.173, allocations: 15.09 MB / 0.7363 GB, free: 147.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.013e-05/1.173, allocations: 203.9 kB / 0.7365 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007205/1.18, allocations: 5.889 MB / 0.7423 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003166/1.181, allocations: 53.08 kB / 0.7423 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002117/1.183, allocations: 3.821 MB / 0.7461 GB, free: 142 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007455/1.184, allocations: 0.6661 MB / 0.7467 GB, free: 141.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003038/1.184, allocations: 129.4 kB / 0.7468 GB, free: 141.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002744/1.184, allocations: 0.5948 MB / 0.7474 GB, free: 140.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002577/1.187, allocations: 2.081 MB / 0.7494 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003837/1.191, allocations: 6.336 MB / 0.7556 GB, free: 132.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00429/1.195, allocations: 3.553 MB / 0.7591 GB, free: 129.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.447e-05/1.195, allocations: 48 kB / 0.7591 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=870) (initialization): time 0.01276/1.208, allocations: 8.629 MB / 0.7676 GB, free: 121.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.215e-05/1.208, allocations: 68.19 kB / 0.7676 GB, free: 121 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001454/1.208, allocations: 156 kB / 0.7678 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/1.21, allocations: 0.7302 MB / 0.7685 GB, free: 120.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004597/1.214, allocations: 1.528 MB / 0.77 GB, free: 118.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006191/1.22, allocations: 6.451 MB / 0.7763 GB, free: 111.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006042/1.226, allocations: 339.5 kB / 0.7766 GB, free: 111.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00118/1.228, allocations: 420 kB / 0.777 GB, free: 111.2 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.004365/1.232, allocations: 2.515 MB / 0.7795 GB, free: 108.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008881/1.233, allocations: 462 kB / 0.7799 GB, free: 108.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003897/1.237, allocations: 2.689 MB / 0.7825 GB, free: 105.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.961e-05/1.237, allocations: 20 kB / 0.7826 GB, free: 105.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/1.237, allocations: 7.953 kB / 0.7826 GB, free: 105.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/1.237, allocations: 7.969 kB / 0.7826 GB, free: 105.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0137/1.251, allocations: 7.583 MB / 0.79 GB, free: 97.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-05/1.251, allocations: 4 kB / 0.79 GB, free: 97.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/1.252, allocations: 299.5 kB / 0.7903 GB, free: 97.53 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001227/1.253, allocations: 493.4 kB / 0.7907 GB, free: 97.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001484/1.253, allocations: 29.17 kB / 0.7908 GB, free: 97.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005124/1.259, allocations: 5.808 MB / 0.7964 GB, free: 90.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.259, allocations: 8.469 kB / 0.7964 GB, free: 90.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005754/1.264, allocations: 5.399 MB / 0.8017 GB, free: 85.44 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/1.266, allocations: 0.5379 MB / 0.8022 GB, free: 84.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005553/1.266, allocations: 31.98 kB / 0.8023 GB, free: 84.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/1.268, allocations: 76.7 kB / 0.8023 GB, free: 84.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/1.268, allocations: 108.8 kB / 0.8025 GB, free: 84.67 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/1.268, allocations: 48.56 kB / 0.8025 GB, free: 84.62 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005758/1.274, allocations: 3.798 MB / 0.8062 GB, free: 80.85 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/1.274, allocations: 0 / 0.8062 GB, free: 80.85 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007729/1.282, allocations: 1.144 MB / 0.8073 GB, free: 79.71 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.007204/1.289, allocations: 6.573 MB / 0.8137 GB, free: 73.03 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007687/1.297, allocations: 5.147 MB / 0.8188 GB, free: 67.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.297, allocations: 0 / 0.8188 GB, free: 67.89 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0018/1.299, allocations: 1.488 MB / 0.8202 GB, free: 66.38 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003409/1.302, allocations: 0.5919 MB / 0.8208 GB, free: 65.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3208/1.623, allocations: 128 MB / 0.9458 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005934/1.629, allocations: 3.958 MB / 0.9497 GB, free: 166 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006733/1.636, allocations: 2.169 MB / 0.9518 GB, free: 166 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003455/1.639, allocations: 2.374 MB / 0.9541 GB, free: 166 MB / 0.5606 GB Notification: Performance of SimCode: time 1.433e-06/1.639, allocations: 0 / 0.9541 GB, free: 166 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1284/1.768, allocations: 93.61 MB / 1.046 GB, free: 88.47 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/1.768, allocations: 205.2 kB / 1.046 GB, free: 88.22 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.965/6.733, allocations: 0 / 1.046 GB, free: 88.22 MB / 0.5606 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