Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.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.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001155, allocations: 118.8 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00127/0.00127, allocations: 202 kB / 18.72 MB, free: 4.441 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.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2127/0.2127, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 72.22 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3426, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01632/0.359, allocations: 15.5 MB / 0.5457 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01288/0.3719, allocations: 4.933 MB / 0.5505 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004179/0.3761, allocations: 107.7 kB / 0.5506 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009506/0.3857, allocations: 4.996 MB / 0.5555 GB, free: 8.133 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007425/0.3931, allocations: 2.47 MB / 0.5579 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003071/0.3962, allocations: 1.107 MB / 0.559 GB, free: 4.543 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01069/0.407, allocations: 6.885 MB / 0.5657 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008781/0.4158, allocations: 5.782 MB / 0.5713 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004561/0.4204, allocations: 2.399 MB / 0.5737 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00499/0.4254, allocations: 3.224 MB / 0.5768 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001769/0.4272, allocations: 0.5039 MB / 0.5773 GB, free: 1.641 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003589/0.4308, allocations: 1.401 MB / 0.5787 GB, free: 244 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004183/0.4351, allocations: 2.992 MB / 0.5816 GB, free: 13.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006198/0.4413, allocations: 3.406 MB / 0.5849 GB, free: 9.812 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01479/0.4561, allocations: 10.5 MB / 0.5952 GB, free: 15.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.4562, allocations: 0 / 0.5952 GB, free: 15.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4562, allocations: 0 / 0.5952 GB, free: 15.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004004/0.4566, allocations: 0 / 0.5952 GB, free: 15.27 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: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.02045/0.4771, allocations: 7.592 MB / 0.6026 GB, free: 7.594 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.4771, allocations: 8.031 kB / 0.6026 GB, free: 7.586 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002647/0.4798, allocations: 1.021 MB / 0.6036 GB, free: 6.555 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0407/0.5205, allocations: 6.194 MB / 0.6096 GB, free: 352 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01197/0.5325, allocations: 4.66 MB / 0.6142 GB, free: 11.6 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003876/0.533, allocations: 361.3 kB / 0.6145 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002036/0.535, allocations: 483.6 kB / 0.615 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0289/0.5639, allocations: 14.55 MB / 0.6292 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003062/0.5643, allocations: 75.3 kB / 0.6293 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001558/0.5659, allocations: 223.8 kB / 0.6295 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004981/0.5709, allocations: 2.738 MB / 0.6322 GB, free: 8.191 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02498/0.5959, allocations: 12.24 MB / 0.6441 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07851/0.6744, allocations: 57.55 MB / 0.7003 GB, free: 0.918 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0187/0.6932, allocations: 7.158 MB / 0.7073 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004829/0.698, allocations: 3.776 MB / 0.711 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2919/0.99, allocations: 8.742 MB / 0.7195 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.9901, allocations: 64.41 kB / 0.7196 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=246): time 5.952e-06/0.9901, allocations: 0 / 0.7196 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=288): time 0.07155/1.062, allocations: 30.95 MB / 0.7498 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.154e-05/1.062, allocations: 235.6 kB / 0.75 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008025/1.07, allocations: 6.665 MB / 0.7566 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007111/1.071, allocations: 65.7 kB / 0.7566 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002134/1.073, allocations: 4.419 MB / 0.7609 GB, free: 135 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001286/1.074, allocations: 1.097 MB / 0.762 GB, free: 134 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002023/1.076, allocations: 1.705 MB / 0.7637 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.658e-05/1.076, allocations: 312.7 kB / 0.764 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00381/1.08, allocations: 3.401 MB / 0.7673 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005526/1.085, allocations: 8.376 MB / 0.7755 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/1.097, allocations: 12.78 MB / 0.788 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001441/1.097, allocations: 52 kB / 0.788 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.02078/1.118, allocations: 13.04 MB / 0.8007 GB, free: 89.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.791e-05/1.118, allocations: 80 kB / 0.8008 GB, free: 89.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001483/1.118, allocations: 178.4 kB / 0.801 GB, free: 89.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003898/1.122, allocations: 1.765 MB / 0.8027 GB, free: 87.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006053/1.128, allocations: 1.961 MB / 0.8046 GB, free: 85.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/1.141, allocations: 12.73 MB / 0.8171 GB, free: 72.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006973/1.148, allocations: 499 kB / 0.8175 GB, free: 71.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001357/1.149, allocations: 0.4999 MB / 0.818 GB, free: 71.43 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 796 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1020): * Single equations (assignments): 1013 * 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 {(2,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004812/1.154, allocations: 2.985 MB / 0.8209 GB, free: 68.44 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001275/1.155, allocations: 0.5591 MB / 0.8215 GB, free: 67.87 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009719/1.165, allocations: 6.487 MB / 0.8278 GB, free: 61.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.571e-05/1.165, allocations: 32 kB / 0.8278 GB, free: 61.33 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.042e-05/1.165, allocations: 8 kB / 0.8279 GB, free: 61.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.618e-05/1.165, allocations: 11.95 kB / 0.8279 GB, free: 61.31 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02347/1.189, allocations: 14.24 MB / 0.8418 GB, free: 47.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.917e-05/1.189, allocations: 4 kB / 0.8418 GB, free: 47.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002378/1.191, allocations: 495.2 kB / 0.8422 GB, free: 46.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003656/1.195, allocations: 1.515 MB / 0.8437 GB, free: 45.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005647/1.195, allocations: 60 kB / 0.8438 GB, free: 44.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01264/1.208, allocations: 12.04 MB / 0.8555 GB, free: 32.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/1.208, allocations: 7.938 kB / 0.8556 GB, free: 32.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/1.222, allocations: 10.58 MB / 0.8659 GB, free: 21.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001816/1.224, allocations: 0.6225 MB / 0.8665 GB, free: 21.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001008/1.225, allocations: 59.34 kB / 0.8665 GB, free: 21.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002441/1.227, allocations: 179.8 kB / 0.8667 GB, free: 21.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004987/1.228, allocations: 181.6 kB / 0.8669 GB, free: 20.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001913/1.228, allocations: 76 kB / 0.867 GB, free: 20.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005725/1.233, allocations: 4.278 MB / 0.8711 GB, free: 16.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.51e-07/1.233, allocations: 0 / 0.8711 GB, free: 16.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007493/1.241, allocations: 1.533 MB / 0.8726 GB, free: 14.97 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (232): * Single equations (assignments): 227 * 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 {(4,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01331/1.254, allocations: 11.25 MB / 0.8836 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01189/1.266, allocations: 8.36 MB / 0.8918 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/1.266, allocations: 4 kB / 0.8918 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005653/1.272, allocations: 3.327 MB / 0.895 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005212/1.277, allocations: 0.7588 MB / 0.8958 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3976/1.675, allocations: 75.59 MB / 0.9696 GB, free: 221.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00486/1.68, allocations: 4.538 MB / 0.974 GB, free: 220.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005854/1.686, allocations: 2.796 MB / 0.9768 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003907/1.69, allocations: 2.938 MB / 0.9796 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of SimCode: time 9.82e-07/1.69, allocations: 3.906 kB / 0.9796 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1652/1.855, allocations: 118.8 MB / 1.096 GB, free: 102 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.97/25.82, allocations: 7.312 kB / 1.096 GB, free: 102 MB / 0.6387 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches