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.001335/0.001335, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 197.2 kB / 18.73 MB, free: 4.363 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.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 75.88 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3202, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01361/0.3338, allocations: 12.66 MB / 0.5429 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009667/0.3435, allocations: 4.491 MB / 0.5473 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003453/0.347, allocations: 89.19 kB / 0.5473 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007202/0.3543, allocations: 3.718 MB / 0.551 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00631/0.3607, allocations: 2.17 MB / 0.5531 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002765/0.3635, allocations: 1.002 MB / 0.5541 GB, free: 9.594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009674/0.3732, allocations: 6.033 MB / 0.56 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005763/0.379, allocations: 4.549 MB / 0.5644 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003408/0.3824, allocations: 1.943 MB / 0.5663 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003793/0.3862, allocations: 2.621 MB / 0.5689 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001131/0.3874, allocations: 404 kB / 0.5692 GB, free: 9.953 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002844/0.3903, allocations: 1.436 MB / 0.5707 GB, free: 8.516 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00296/0.3932, allocations: 2.439 MB / 0.573 GB, free: 6.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004557/0.3978, allocations: 2.769 MB / 0.5757 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01212/0.41, allocations: 8.744 MB / 0.5843 GB, free: 10.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.41, allocations: 0 / 0.5843 GB, free: 10.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.907e-06/0.41, allocations: 0 / 0.5843 GB, free: 10.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000305/0.4104, allocations: 3.938 kB / 0.5843 GB, free: 10.51 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.01661/0.427, allocations: 6.184 MB / 0.5903 GB, free: 4.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.4271, allocations: 12.03 kB / 0.5903 GB, free: 4.238 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002377/0.4294, allocations: 0.8188 MB / 0.5911 GB, free: 3.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03629/0.4657, allocations: 6.02 MB / 0.597 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01108/0.4769, allocations: 4.129 MB / 0.601 GB, free: 9.188 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002712/0.4772, allocations: 287.2 kB / 0.6013 GB, free: 8.906 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001482/0.4787, allocations: 375.7 kB / 0.6017 GB, free: 8.539 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02255/0.5013, allocations: 11.46 MB / 0.6129 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002046/0.5015, allocations: 55.52 kB / 0.6129 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001049/0.5026, allocations: 179.8 kB / 0.6131 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003601/0.5062, allocations: 2.147 MB / 0.6152 GB, free: 9.844 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0193/0.5255, allocations: 9.363 MB / 0.6243 GB, free: 476 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05971/0.5853, allocations: 45.17 MB / 0.6684 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/0.5954, allocations: 3.808 MB / 0.6722 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002854/0.5983, allocations: 2.043 MB / 0.6742 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01092/0.6093, allocations: 6.23 MB / 0.6802 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/0.6094, allocations: 51.56 kB / 0.6803 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 4.038e-06/0.6094, allocations: 0 / 0.6803 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.0401/0.6495, allocations: 14.72 MB / 0.6947 GB, free: 6.773 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.6497, allocations: 196.9 kB / 0.6949 GB, free: 6.539 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008978/0.6586, allocations: 5.615 MB / 0.7003 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004129/0.6591, allocations: 49.7 kB / 0.7004 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003079/0.6622, allocations: 3.741 MB / 0.704 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008711/0.6631, allocations: 0.6637 MB / 0.7047 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002047/0.6651, allocations: 1.34 MB / 0.706 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.6653, allocations: 309.1 kB / 0.7063 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003091/0.6684, allocations: 2.09 MB / 0.7083 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006245/0.6746, allocations: 6.341 MB / 0.7145 GB, free: 216 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/0.6847, allocations: 9.184 MB / 0.7235 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001139/0.6848, allocations: 48 kB / 0.7235 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.2675/0.9523, allocations: 8.631 MB / 0.732 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.9525, allocations: 69.16 kB / 0.732 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002425/0.9527, allocations: 150.7 kB / 0.7322 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001929/0.9547, allocations: 0.7065 MB / 0.7329 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004853/0.9595, allocations: 1.518 MB / 0.7343 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006656/0.9662, allocations: 6.819 MB / 0.741 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004711/0.971, allocations: 346.7 kB / 0.7413 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007061/0.9717, allocations: 415.6 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.003111/0.9748, allocations: 2.459 MB / 0.7441 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000604/0.9754, allocations: 461 kB / 0.7446 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003726/0.9792, allocations: 2.693 MB / 0.7472 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/0.9792, allocations: 15.66 kB / 0.7472 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.9792, allocations: 11.81 kB / 0.7472 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.9792, allocations: 11.58 kB / 0.7472 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/0.99, allocations: 7.437 MB / 0.7545 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.99, allocations: 3.5 kB / 0.7545 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.9913, allocations: 296.9 kB / 0.7548 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001257/0.9926, allocations: 495.1 kB / 0.7553 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/0.9928, allocations: 34 kB / 0.7553 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005319/0.9981, allocations: 6.192 MB / 0.7613 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.9981, allocations: 7.938 kB / 0.7613 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005629/1.004, allocations: 4.96 MB / 0.7662 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/1.005, allocations: 0.5107 MB / 0.7667 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006692/1.006, allocations: 27.98 kB / 0.7667 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/1.007, allocations: 75.92 kB / 0.7668 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/1.007, allocations: 100.8 kB / 0.7669 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.87e-05/1.007, allocations: 51.42 kB / 0.7669 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004456/1.012, allocations: 3.597 MB / 0.7704 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.1e-07/1.012, allocations: 0 / 0.7704 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005121/1.017, allocations: 1.093 MB / 0.7715 GB, free: 146.5 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.005945/1.023, allocations: 5.609 MB / 0.777 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006667/1.03, allocations: 5.174 MB / 0.782 GB, free: 135.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.03, allocations: 0 / 0.782 GB, free: 135.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001634/1.031, allocations: 1.495 MB / 0.7835 GB, free: 134.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003839/1.035, allocations: 0.642 MB / 0.7841 GB, free: 133.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07559/1.111, allocations: 53.83 MB / 0.8367 GB, free: 73.04 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005037/1.116, allocations: 3.761 MB / 0.8404 GB, free: 69.24 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004409/1.12, allocations: 2.125 MB / 0.8425 GB, free: 67.11 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002986/1.123, allocations: 2.315 MB / 0.8447 GB, free: 64.79 MB / 0.5762 GB Notification: Performance of SimCode: time 9.32e-07/1.123, allocations: 0 / 0.8447 GB, free: 64.79 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1325/1.256, allocations: 86.02 MB / 0.9287 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.71/30.96, allocations: 11.08 kB / 0.9287 GB, free: 11.19 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