Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009516/0.0009517, allocations: 171.4 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007633/0.0007636, allocations: 78.42 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3332/0.3332, allocations: 43.57 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 12 kB / 432.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.114, allocations: 58.84 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.2572/0.3713, allocations: 81.77 MB / 0.5593 GB, free: 8.012 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03899/0.4103, allocations: 16.44 MB / 0.5753 GB, free: 12.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01956/0.4299, allocations: 387.7 kB / 0.5757 GB, free: 12.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01579/0.4457, allocations: 4.301 MB / 0.5799 GB, free: 11.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03714/0.4829, allocations: 12.53 MB / 0.5921 GB, free: 2.422 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005986/0.4889, allocations: 0.9411 MB / 0.593 GB, free: 1.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.04614/0.5351, allocations: 36.18 MB / 0.6284 GB, free: 13.26 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01246/0.5476, allocations: 7.904 MB / 0.6361 GB, free: 5.273 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004106/0.5517, allocations: 2.004 MB / 0.6381 GB, free: 3.262 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004698/0.5565, allocations: 3.158 MB / 0.6411 GB, free: 96 kB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001381/0.5579, allocations: 224 kB / 0.6414 GB, free: 15.87 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003198/0.5611, allocations: 1.166 MB / 0.6425 GB, free: 14.71 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003501/0.5646, allocations: 2.778 MB / 0.6452 GB, free: 11.92 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004847/0.5695, allocations: 3.038 MB / 0.6482 GB, free: 8.859 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009541/0.579, allocations: 8.725 MB / 0.6567 GB, free: 112 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5791, allocations: 0 / 0.6567 GB, free: 112 kB / 474.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.5791, allocations: 0 / 0.6567 GB, free: 112 kB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004137/0.5795, allocations: 0 / 0.6567 GB, free: 112 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.01588/0.5954, allocations: 6.555 MB / 0.6631 GB, free: 9.473 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.5955, allocations: 8.031 kB / 0.6631 GB, free: 9.465 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003143/0.5986, allocations: 1.096 MB / 0.6642 GB, free: 8.359 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0375/0.6361, allocations: 6.384 MB / 0.6704 GB, free: 1.957 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2017/0.8379, allocations: 5.239 MB / 0.6755 GB, free: 139.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002945/0.8382, allocations: 376.6 kB / 0.6759 GB, free: 139.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001155/0.8394, allocations: 0.494 MB / 0.6764 GB, free: 139.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02456/0.8639, allocations: 15.55 MB / 0.6915 GB, free: 133.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001655/0.8641, allocations: 71.92 kB / 0.6916 GB, free: 133.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005466/0.8647, allocations: 239 kB / 0.6918 GB, free: 133.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004373/0.8691, allocations: 3.003 MB / 0.6948 GB, free: 133 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02232/0.8914, allocations: 13.12 MB / 0.7076 GB, free: 129 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06527/0.9567, allocations: 60.7 MB / 0.7669 GB, free: 78.53 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01641/0.9732, allocations: 7.5 MB / 0.7742 GB, free: 70.87 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00419/0.9774, allocations: 4.024 MB / 0.7781 GB, free: 66.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01394/0.9914, allocations: 9.615 MB / 0.7875 GB, free: 57.15 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.9915, allocations: 64.48 kB / 0.7876 GB, free: 57.08 MB / 490.7 MB Notification: Performance of pre-optimization done (n=273): time 5.721e-06/0.9915, allocations: 7.844 kB / 0.7876 GB, free: 57.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=315): time 0.07405/1.066, allocations: 32.83 MB / 0.8196 GB, free: 23.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.812e-05/1.066, allocations: 239.9 kB / 0.8199 GB, free: 23.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008689/1.074, allocations: 6.886 MB / 0.8266 GB, free: 16.79 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006953/1.075, allocations: 69.7 kB / 0.8267 GB, free: 16.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002144/1.077, allocations: 4.683 MB / 0.8312 GB, free: 12.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001143/1.078, allocations: 1.187 MB / 0.8324 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004162/1.079, allocations: 176 kB / 0.8326 GB, free: 10.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003065/1.079, allocations: 0.686 MB / 0.8332 GB, free: 9.996 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004278/1.083, allocations: 3.652 MB / 0.8368 GB, free: 6.336 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007364/1.091, allocations: 8.803 MB / 0.8454 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01596/1.107, allocations: 13.5 MB / 0.8586 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001905/1.107, allocations: 52 kB / 0.8586 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.2214/1.328, allocations: 13.76 MB / 0.8721 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/1.329, allocations: 85.86 kB / 0.8721 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002421/1.329, allocations: 180 kB / 0.8723 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004499/1.333, allocations: 1.771 MB / 0.874 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006635/1.34, allocations: 2.109 MB / 0.8761 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01268/1.353, allocations: 11.87 MB / 0.8877 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006471/1.359, allocations: 0.5197 MB / 0.8882 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009937/1.36, allocations: 0.5242 MB / 0.8887 GB, free: 143.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 822 * Number of states: 0 () * Number of discrete variables: 63 (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 (1082): * Single equations (assignments): 1075 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00431/1.365, allocations: 3.155 MB / 0.8918 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008939/1.365, allocations: 0.5869 MB / 0.8924 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00995/1.375, allocations: 7.008 MB / 0.8992 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.75e-05/1.375, allocations: 33.83 kB / 0.8992 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.918e-05/1.376, allocations: 9.188 kB / 0.8992 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.589e-05/1.376, allocations: 17.77 kB / 0.8993 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02393/1.399, allocations: 15.52 MB / 0.9144 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.559e-05/1.4, allocations: 7.266 kB / 0.9144 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002699/1.402, allocations: 0.5583 MB / 0.915 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004077/1.406, allocations: 1.512 MB / 0.9165 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005035/1.407, allocations: 57.58 kB / 0.9165 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01265/1.42, allocations: 11.07 MB / 0.9273 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.42, allocations: 10.69 kB / 0.9273 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/1.435, allocations: 11.4 MB / 0.9385 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002482/1.438, allocations: 1.17 MB / 0.9396 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009622/1.439, allocations: 57.25 kB / 0.9397 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002605/1.441, allocations: 208.6 kB / 0.9399 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00075/1.442, allocations: 195.5 kB / 0.94 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002226/1.442, allocations: 83.31 kB / 0.9401 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005816/1.448, allocations: 4.398 MB / 0.9444 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.51e-07/1.448, allocations: 1.969 kB / 0.9444 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006862/1.455, allocations: 1.646 MB / 0.946 GB, free: 118.2 MB / 0.5105 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 (260): * Single equations (assignments): 255 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01424/1.469, allocations: 12.11 MB / 0.9579 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01099/1.48, allocations: 8.932 MB / 0.9666 GB, free: 97.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.48, allocations: 0 / 0.9666 GB, free: 97.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004966/1.485, allocations: 3.568 MB / 0.9701 GB, free: 93.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008268/1.494, allocations: 0.7344 MB / 0.9708 GB, free: 93.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08617/1.58, allocations: 66.92 MB / 1.036 GB, free: 20.42 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005469/1.585, allocations: 4.804 MB / 1.041 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004103/1.589, allocations: 3.209 MB / 1.044 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of SimCode: time 1.001e-06/1.589, allocations: 0 / 1.044 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.93/11.52, allocations: 175.6 MB / 1.215 GB, free: 49.07 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Force/Force.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches