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.00161/0.00161, allocations: 103.3 kB / 17.2 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001968/0.001969, allocations: 205.8 kB / 18.13 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2401/0.2401, allocations: 46.09 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001424, allocations: 79.06 kB / 416.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1279, allocations: 62.44 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.3404/0.4684, allocations: 81.44 MB / 0.5477 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04022/0.5086, allocations: 15.65 MB / 0.563 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0198/0.5285, allocations: 358 kB / 0.5633 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00969/0.5382, allocations: 5.005 MB / 0.5682 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006863/0.5452, allocations: 2.332 MB / 0.5705 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002697/0.5479, allocations: 1.022 MB / 0.5715 GB, free: 9.039 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01186/0.5598, allocations: 10.03 MB / 0.5813 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00821/0.568, allocations: 5.705 MB / 0.5868 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004354/0.5724, allocations: 2.133 MB / 0.5889 GB, free: 7.078 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005577/0.578, allocations: 3.466 MB / 0.5923 GB, free: 3.602 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001536/0.5796, allocations: 372 kB / 0.5927 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003359/0.5829, allocations: 1.319 MB / 0.5939 GB, free: 1.918 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003659/0.5866, allocations: 2.891 MB / 0.5968 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005291/0.5919, allocations: 3.269 MB / 0.6 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.6042, allocations: 10.07 MB / 0.6098 GB, free: 1.625 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.6042, allocations: 0 / 0.6098 GB, free: 1.625 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.6042, allocations: 0 / 0.6098 GB, free: 1.625 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003359/0.6046, allocations: 0 / 0.6098 GB, free: 1.625 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: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.01897/0.6235, allocations: 7.592 MB / 0.6172 GB, free: 9.945 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/0.6236, allocations: 12.86 kB / 0.6172 GB, free: 9.934 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00217/0.6258, allocations: 1.017 MB / 0.6182 GB, free: 8.906 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03702/0.6628, allocations: 6.194 MB / 0.6243 GB, free: 2.695 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/0.6733, allocations: 4.582 MB / 0.6287 GB, free: 14.03 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003962/0.6738, allocations: 357.5 kB / 0.6291 GB, free: 13.68 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00228/0.6761, allocations: 483.6 kB / 0.6295 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02958/0.7057, allocations: 14.55 MB / 0.6437 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003513/0.7061, allocations: 71.36 kB / 0.6438 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001805/0.7079, allocations: 223.8 kB / 0.644 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005009/0.7129, allocations: 2.738 MB / 0.6467 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02623/0.7392, allocations: 12.25 MB / 0.6587 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08252/0.8217, allocations: 57.8 MB / 0.7151 GB, free: 3.105 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2524/1.074, allocations: 7.148 MB / 0.7221 GB, free: 196.4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004472/1.079, allocations: 3.769 MB / 0.7258 GB, free: 194.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01345/1.092, allocations: 8.751 MB / 0.7343 GB, free: 191.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/1.092, allocations: 64.03 kB / 0.7344 GB, free: 191 MB / 0.545 GB Notification: Performance of pre-optimization done (n=246): time 4.699e-06/1.092, allocations: 1.125 kB / 0.7344 GB, free: 191 MB / 0.545 GB Notification: Performance of matching and sorting (n=288): time 0.07507/1.167, allocations: 30.94 MB / 0.7646 GB, free: 174.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.606e-05/1.167, allocations: 250.4 kB / 0.7648 GB, free: 174 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01027/1.178, allocations: 6.653 MB / 0.7713 GB, free: 167.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008706/1.179, allocations: 69.7 kB / 0.7714 GB, free: 167.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002961/1.182, allocations: 4.431 MB / 0.7757 GB, free: 162.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001376/1.183, allocations: 1.086 MB / 0.7768 GB, free: 161.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00245/1.185, allocations: 1.723 MB / 0.7785 GB, free: 160.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.673e-05/1.186, allocations: 304 kB / 0.7788 GB, free: 159.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004019/1.19, allocations: 3.397 MB / 0.7821 GB, free: 156.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006378/1.196, allocations: 8.384 MB / 0.7903 GB, free: 145.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01129/1.207, allocations: 12.77 MB / 0.8027 GB, free: 130.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001087/1.207, allocations: 48 kB / 0.8028 GB, free: 130.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.02101/1.228, allocations: 13.06 MB / 0.8155 GB, free: 117.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.393e-05/1.229, allocations: 80.19 kB / 0.8156 GB, free: 117.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001452/1.229, allocations: 179.2 kB / 0.8158 GB, free: 117 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003825/1.233, allocations: 1.761 MB / 0.8175 GB, free: 115.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005986/1.239, allocations: 1.949 MB / 0.8194 GB, free: 113.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01203/1.251, allocations: 11.88 MB / 0.831 GB, free: 101.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006359/1.257, allocations: 495.3 kB / 0.8315 GB, free: 100.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001357/1.258, allocations: 0.4999 MB / 0.832 GB, free: 100.2 MB / 0.545 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.004583/1.263, allocations: 2.988 MB / 0.8349 GB, free: 97.19 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/1.264, allocations: 0.5614 MB / 0.8354 GB, free: 96.62 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009241/1.273, allocations: 6.491 MB / 0.8418 GB, free: 90.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.019e-05/1.273, allocations: 32 kB / 0.8418 GB, free: 90.08 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/1.273, allocations: 8 kB / 0.8418 GB, free: 90.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.128e-05/1.273, allocations: 11.95 kB / 0.8418 GB, free: 90.06 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02165/1.295, allocations: 14.44 MB / 0.8559 GB, free: 75.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-05/1.295, allocations: 8 kB / 0.8559 GB, free: 75.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002284/1.297, allocations: 491.2 kB / 0.8564 GB, free: 75.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003549/1.301, allocations: 1.511 MB / 0.8579 GB, free: 73.56 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003376/1.301, allocations: 55.98 kB / 0.8579 GB, free: 73.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01183/1.313, allocations: 11.08 MB / 0.8687 GB, free: 62.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/1.313, allocations: 11.88 kB / 0.8688 GB, free: 62.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/1.327, allocations: 10.55 MB / 0.8791 GB, free: 51.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001723/1.329, allocations: 0.6302 MB / 0.8797 GB, free: 50.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001726/1.331, allocations: 59.92 kB / 0.8797 GB, free: 50.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003214/1.334, allocations: 175.8 kB / 0.8799 GB, free: 50.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007757/1.335, allocations: 189.6 kB / 0.8801 GB, free: 50.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/1.335, allocations: 72 kB / 0.8801 GB, free: 50.31 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005895/1.341, allocations: 4.282 MB / 0.8843 GB, free: 46.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/1.341, allocations: 4 kB / 0.8843 GB, free: 46.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006781/1.348, allocations: 1.521 MB / 0.8858 GB, free: 44.52 MB / 0.545 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.01314/1.361, allocations: 11.24 MB / 0.8968 GB, free: 33.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01102/1.372, allocations: 8.326 MB / 0.9049 GB, free: 24.79 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/1.372, allocations: 4 kB / 0.9049 GB, free: 24.79 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004721/1.377, allocations: 3.305 MB / 0.9082 GB, free: 21.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004807/1.382, allocations: 0.7197 MB / 0.9089 GB, free: 20.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3456/1.727, allocations: 96.72 MB / 1.003 GB, free: 110.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006079/1.734, allocations: 4.531 MB / 1.008 GB, free: 106 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00777/1.741, allocations: 2.797 MB / 1.01 GB, free: 103.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005313/1.747, allocations: 2.936 MB / 1.013 GB, free: 100.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.302e-06/1.747, allocations: 0 / 1.013 GB, free: 100.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3565/2.103, allocations: 120 MB / 1.13 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001363/2.103, allocations: 210.6 kB / 1.131 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.701/7.804, allocations: 0 / 1.131 GB, free: 169.2 MB / 0.5606 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