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.001472/0.001472, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00154/0.00154, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2148/0.2148, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 75.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3199, allocations: 62.44 MB / 0.5305 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01409/0.3341, allocations: 12.64 MB / 0.5429 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.3445, allocations: 4.491 MB / 0.5473 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002953/0.3475, allocations: 86.16 kB / 0.5473 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007213/0.3547, allocations: 3.715 MB / 0.551 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00605/0.3608, allocations: 2.179 MB / 0.5531 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.3632, allocations: 0.9982 MB / 0.5541 GB, free: 9.504 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008209/0.3714, allocations: 6.036 MB / 0.56 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005959/0.3774, allocations: 4.553 MB / 0.5644 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003392/0.3808, allocations: 1.943 MB / 0.5663 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00397/0.3848, allocations: 2.609 MB / 0.5689 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001268/0.3861, allocations: 408 kB / 0.5692 GB, free: 9.867 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003281/0.3894, allocations: 1.439 MB / 0.5706 GB, free: 8.426 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002826/0.3922, allocations: 2.439 MB / 0.573 GB, free: 5.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004219/0.3965, allocations: 2.769 MB / 0.5757 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009126/0.4056, allocations: 8.74 MB / 0.5843 GB, free: 10.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.4056, allocations: 0 / 0.5843 GB, free: 10.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.328e-06/0.4056, allocations: 0 / 0.5843 GB, free: 10.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001746/0.4058, allocations: 3.938 kB / 0.5843 GB, free: 10.42 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01192/0.4178, allocations: 6.188 MB / 0.5903 GB, free: 4.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.4178, allocations: 8.031 kB / 0.5903 GB, free: 4.152 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009483/0.4188, allocations: 0.8227 MB / 0.5911 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03796/0.4567, allocations: 6.016 MB / 0.597 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009463/0.4662, allocations: 4.137 MB / 0.601 GB, free: 9.094 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001993/0.4665, allocations: 283.3 kB / 0.6013 GB, free: 8.816 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008149/0.4673, allocations: 379.6 kB / 0.6017 GB, free: 8.445 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01752/0.4848, allocations: 11.46 MB / 0.6129 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001232/0.485, allocations: 55.53 kB / 0.6129 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004158/0.4854, allocations: 175.8 kB / 0.6131 GB, free: 11.9 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003315/0.4887, allocations: 2.143 MB / 0.6152 GB, free: 9.754 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01711/0.5058, allocations: 9.371 MB / 0.6243 GB, free: 376 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04976/0.5556, allocations: 45.17 MB / 0.6684 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00943/0.5651, allocations: 3.804 MB / 0.6722 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002445/0.5676, allocations: 2.053 MB / 0.6742 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01017/0.5778, allocations: 6.23 MB / 0.6802 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.5778, allocations: 47.56 kB / 0.6803 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 3.536e-06/0.5778, allocations: 4 kB / 0.6803 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.03709/0.6149, allocations: 14.72 MB / 0.6947 GB, free: 6.676 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.966e-05/0.6151, allocations: 196.9 kB / 0.6949 GB, free: 6.441 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007074/0.6221, allocations: 5.615 MB / 0.7003 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.00017/0.6223, allocations: 49.7 kB / 0.7004 GB, free: 0.793 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002397/0.6247, allocations: 3.737 MB / 0.704 GB, free: 13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006715/0.6254, allocations: 0.6598 MB / 0.7047 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001604/0.627, allocations: 1.356 MB / 0.706 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.6271, allocations: 301.1 kB / 0.7063 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002786/0.6299, allocations: 2.094 MB / 0.7083 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005335/0.6353, allocations: 6.341 MB / 0.7145 GB, free: 112 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009583/0.6449, allocations: 9.192 MB / 0.7235 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.388e-05/0.645, allocations: 40 kB / 0.7235 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.2984/0.9434, allocations: 8.626 MB / 0.732 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/0.9436, allocations: 69.62 kB / 0.732 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00021/0.9438, allocations: 150 kB / 0.7322 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001708/0.9455, allocations: 0.7035 MB / 0.7329 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004547/0.9501, allocations: 1.514 MB / 0.7343 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006455/0.9566, allocations: 6.825 MB / 0.741 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004699/0.9613, allocations: 348.1 kB / 0.7413 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006677/0.962, allocations: 409.5 kB / 0.7417 GB, free: 166.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.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 (804): * Single equations (assignments): 797 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003179/0.9651, allocations: 2.463 MB / 0.7441 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006105/0.9658, allocations: 456.3 kB / 0.7446 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00375/0.9695, allocations: 2.692 MB / 0.7472 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/0.9696, allocations: 19.5 kB / 0.7472 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-06/0.9696, allocations: 3.969 kB / 0.7472 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.9696, allocations: 14.27 kB / 0.7472 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/0.9806, allocations: 7.44 MB / 0.7545 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.9806, allocations: 3.25 kB / 0.7545 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/0.9819, allocations: 300.4 kB / 0.7548 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001165/0.9831, allocations: 491.3 kB / 0.7553 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.9832, allocations: 31.06 kB / 0.7553 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005177/0.9884, allocations: 6.197 MB / 0.7613 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.9884, allocations: 7.938 kB / 0.7613 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005371/0.9938, allocations: 4.953 MB / 0.7662 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/0.9953, allocations: 0.5151 MB / 0.7667 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004913/0.9958, allocations: 31.98 kB / 0.7667 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.9971, allocations: 73.33 kB / 0.7668 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002128/0.9974, allocations: 106.3 kB / 0.7669 GB, free: 151 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.389e-05/0.9975, allocations: 43.75 kB / 0.7669 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004427/1.002, allocations: 3.602 MB / 0.7704 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3e-07/1.002, allocations: 0.5625 kB / 0.7705 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005339/1.007, allocations: 1.089 MB / 0.7715 GB, free: 146.3 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005727/1.013, allocations: 5.61 MB / 0.777 GB, free: 140.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006657/1.02, allocations: 5.177 MB / 0.782 GB, free: 135.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/1.02, allocations: 128 / 0.782 GB, free: 135.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001537/1.021, allocations: 1.49 MB / 0.7835 GB, free: 133.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003361/1.025, allocations: 0.6473 MB / 0.7841 GB, free: 133.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05659/1.081, allocations: 53.83 MB / 0.8367 GB, free: 72.81 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003003/1.084, allocations: 3.757 MB / 0.8404 GB, free: 69.02 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003802/1.088, allocations: 2.136 MB / 0.8425 GB, free: 66.88 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002008/1.09, allocations: 2.303 MB / 0.8447 GB, free: 64.57 MB / 0.5762 GB Notification: Performance of SimCode: time 1.022e-06/1.09, allocations: 0 / 0.8447 GB, free: 64.57 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1229/1.213, allocations: 86.02 MB / 0.9287 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.23/29.44, allocations: 10.17 kB / 0.9287 GB, free: 10.97 MB / 0.6075 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/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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches