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.001129/0.001129, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2206/0.2206, allocations: 46.1 MB / 344.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 76.06 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1165, allocations: 62.46 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01572/0.1323, allocations: 15.5 MB / 495.6 MB, free: 5.637 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.1423, allocations: 4.933 MB / 0.4888 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002707/0.1451, allocations: 103.7 kB / 0.4889 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009139/0.1543, allocations: 5.004 MB / 0.4938 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007483/0.1618, allocations: 2.459 MB / 0.4962 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003524/0.1653, allocations: 1.111 MB / 0.4973 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01005/0.1754, allocations: 6.883 MB / 0.504 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1985/0.374, allocations: 5.774 MB / 0.5097 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00414/0.3782, allocations: 2.394 MB / 0.512 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004957/0.3832, allocations: 3.224 MB / 0.5152 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001643/0.3848, allocations: 0.5041 MB / 0.5156 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003187/0.388, allocations: 1.395 MB / 0.517 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003163/0.3912, allocations: 2.978 MB / 0.5199 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004412/0.3956, allocations: 3.405 MB / 0.5232 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01203/0.4077, allocations: 10.2 MB / 0.5332 GB, free: 6.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4077, allocations: 0 / 0.5332 GB, free: 6.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4077, allocations: 0 / 0.5332 GB, free: 6.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003487/0.4081, allocations: 0 / 0.5332 GB, free: 6.566 MB / 382.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.01579/0.4239, allocations: 7.594 MB / 0.5406 GB, free: 1.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.4239, allocations: 7.938 kB / 0.5406 GB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001464/0.4254, allocations: 1.027 MB / 0.5416 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03778/0.4632, allocations: 6.19 MB / 0.5477 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009551/0.4728, allocations: 4.583 MB / 0.5521 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002321/0.473, allocations: 354.7 kB / 0.5525 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001226/0.4743, allocations: 478.2 kB / 0.5529 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02657/0.5008, allocations: 14.56 MB / 0.5672 GB, free: 8.801 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001986/0.5011, allocations: 62.28 kB / 0.5672 GB, free: 8.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007387/0.5018, allocations: 231.7 kB / 0.5674 GB, free: 8.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004625/0.5065, allocations: 2.745 MB / 0.5701 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02533/0.5318, allocations: 12.24 MB / 0.5821 GB, free: 9.887 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07245/0.6043, allocations: 57.81 MB / 0.6385 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01773/0.6221, allocations: 7.152 MB / 0.6455 GB, free: 8.086 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004491/0.6266, allocations: 3.765 MB / 0.6492 GB, free: 4.309 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01327/0.6399, allocations: 8.76 MB / 0.6577 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/0.64, allocations: 67.12 kB / 0.6578 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=246): time 5.21e-06/0.64, allocations: 0 / 0.6578 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=288): time 0.07555/0.7155, allocations: 30.94 MB / 0.688 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.7157, allocations: 239.6 kB / 0.6882 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009084/0.7248, allocations: 6.656 MB / 0.6947 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006072/0.7254, allocations: 74.88 kB / 0.6948 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003124/0.7285, allocations: 4.432 MB / 0.6991 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001629/0.7302, allocations: 1.094 MB / 0.7002 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00278/0.733, allocations: 1.708 MB / 0.7019 GB, free: 14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.7331, allocations: 305.1 kB / 0.7022 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005076/0.7382, allocations: 3.397 MB / 0.7055 GB, free: 10.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2196/0.9578, allocations: 8.372 MB / 0.7137 GB, free: 183.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01373/0.9716, allocations: 12.78 MB / 0.7261 GB, free: 174.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000169/0.9718, allocations: 51.06 kB / 0.7262 GB, free: 174.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.02874/1.001, allocations: 13.05 MB / 0.7389 GB, free: 170.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.923e-05/1.001, allocations: 84.06 kB / 0.739 GB, free: 170.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002371/1.001, allocations: 175.9 kB / 0.7392 GB, free: 170.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004508/1.005, allocations: 1.771 MB / 0.7409 GB, free: 169.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006427/1.012, allocations: 1.956 MB / 0.7428 GB, free: 169.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/1.025, allocations: 12.75 MB / 0.7553 GB, free: 163 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006374/1.031, allocations: 494 kB / 0.7557 GB, free: 162.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001255/1.032, allocations: 0.5046 MB / 0.7562 GB, free: 162.8 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.005495/1.038, allocations: 2.985 MB / 0.7591 GB, free: 161.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/1.039, allocations: 0.5632 MB / 0.7597 GB, free: 161 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01023/1.049, allocations: 6.48 MB / 0.766 GB, free: 155.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.256e-05/1.049, allocations: 34.73 kB / 0.7661 GB, free: 155.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.026e-05/1.049, allocations: 15.8 kB / 0.7661 GB, free: 155.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.537e-05/1.049, allocations: 15.23 kB / 0.7661 GB, free: 155.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02393/1.073, allocations: 14.43 MB / 0.7802 GB, free: 143.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.136e-05/1.073, allocations: 9.359 kB / 0.7802 GB, free: 143.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002249/1.076, allocations: 495.2 kB / 0.7807 GB, free: 142.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003486/1.079, allocations: 1.524 MB / 0.7821 GB, free: 141.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004189/1.08, allocations: 52.86 kB / 0.7822 GB, free: 141.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/1.092, allocations: 11.94 MB / 0.7939 GB, free: 129 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.092, allocations: 4 kB / 0.7939 GB, free: 129 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/1.105, allocations: 10.56 MB / 0.8042 GB, free: 118.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/1.106, allocations: 0.6264 MB / 0.8048 GB, free: 117.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000899/1.107, allocations: 53.72 kB / 0.8048 GB, free: 117.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002343/1.109, allocations: 187.7 kB / 0.805 GB, free: 117.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004623/1.11, allocations: 178.2 kB / 0.8052 GB, free: 117.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001829/1.11, allocations: 72 kB / 0.8053 GB, free: 117.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005433/1.115, allocations: 4.287 MB / 0.8094 GB, free: 112.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 3e-07/1.115, allocations: 0 / 0.8094 GB, free: 112.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006746/1.122, allocations: 1.528 MB / 0.8109 GB, free: 111.4 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.01324/1.136, allocations: 11.23 MB / 0.8219 GB, free: 100 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0127/1.148, allocations: 10.08 MB / 0.8318 GB, free: 89.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.148, allocations: 2.406 kB / 0.8318 GB, free: 89.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004789/1.153, allocations: 3.304 MB / 0.835 GB, free: 86.63 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004592/1.158, allocations: 0.7587 MB / 0.8357 GB, free: 85.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3002/1.458, allocations: 94.2 MB / 0.9277 GB, free: 191.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005529/1.463, allocations: 4.537 MB / 0.9321 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.008039/1.472, allocations: 2.791 MB / 0.9349 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003668/1.475, allocations: 2.939 MB / 0.9377 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.974e-06/1.475, allocations: 1.219 kB / 0.9377 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1514/1.627, allocations: 122.7 MB / 1.058 GB, free: 90.88 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/13.76, allocations: 4.062 kB / 1.058 GB, free: 90.88 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