Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009747/0.0009748, allocations: 195.5 kB / 16.1 MB, free: 5.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 226.5 MB / 243.4 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007376/0.0007376, allocations: 100.2 kB / 295.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2771/0.2771, allocations: 44.82 MB / 392.3 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000266/0.000266, allocations: 12 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2522, allocations: 62.95 MB / 0.516 GB, free: 37.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.05572/0.3079, allocations: 81 MB / 0.5951 GB, free: 7.516 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03293/0.3409, allocations: 16.37 MB / 0.611 GB, free: 7.836 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01351/0.3545, allocations: 379.1 kB / 0.6114 GB, free: 7.465 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01163/0.3661, allocations: 4.277 MB / 0.6156 GB, free: 3.168 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02903/0.3952, allocations: 12.43 MB / 0.6277 GB, free: 6.688 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004626/0.3999, allocations: 0.944 MB / 0.6286 GB, free: 5.742 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.2846/0.6845, allocations: 63.22 MB / 0.6904 GB, free: 55 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01045/0.695, allocations: 7.79 MB / 0.698 GB, free: 54.12 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004143/0.6991, allocations: 1.92 MB / 0.6999 GB, free: 54.12 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004969/0.7041, allocations: 2.984 MB / 0.7028 GB, free: 54.11 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001136/0.7053, allocations: 214.1 kB / 0.703 GB, free: 54.11 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002682/0.708, allocations: 1.154 MB / 0.7041 GB, free: 54.11 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002243/0.7102, allocations: 2.657 MB / 0.7067 GB, free: 54.11 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002871/0.7131, allocations: 2.904 MB / 0.7095 GB, free: 54.07 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006781/0.7199, allocations: 8.328 MB / 0.7177 GB, free: 51.39 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.7199, allocations: 0 / 0.7177 GB, free: 51.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.72, allocations: 0 / 0.7177 GB, free: 51.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002689/0.7202, allocations: 0 / 0.7177 GB, free: 51.39 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.01265/0.7329, allocations: 6.385 MB / 0.7239 GB, free: 47.58 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.7329, allocations: 9.062 kB / 0.7239 GB, free: 47.58 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002267/0.7352, allocations: 1.043 MB / 0.7249 GB, free: 47.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03567/0.7709, allocations: 6.34 MB / 0.7311 GB, free: 42.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008316/0.7792, allocations: 4.628 MB / 0.7356 GB, free: 39.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/0.7795, allocations: 360.4 kB / 0.736 GB, free: 39.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001234/0.7807, allocations: 491.1 kB / 0.7365 GB, free: 38.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02213/0.8029, allocations: 14.91 MB / 0.751 GB, free: 27.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001598/0.8031, allocations: 65.91 kB / 0.7511 GB, free: 27.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005594/0.8036, allocations: 226.5 kB / 0.7513 GB, free: 27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004088/0.8077, allocations: 2.867 MB / 0.7541 GB, free: 24.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02033/0.8281, allocations: 12.52 MB / 0.7663 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06035/0.8885, allocations: 58.71 MB / 0.8237 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01734/0.9059, allocations: 7.158 MB / 0.8306 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004395/0.9103, allocations: 3.768 MB / 0.8343 GB, free: 5.312 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01359/0.9239, allocations: 8.772 MB / 0.8429 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.924, allocations: 58.81 kB / 0.843 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=246): time 5.19e-06/0.924, allocations: 0 / 0.843 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=288): time 0.0757/0.9997, allocations: 31.08 MB / 0.8733 GB, free: 13.14 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.523e-05/0.9998, allocations: 235.6 kB / 0.8735 GB, free: 12.87 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01024/1.01, allocations: 6.686 MB / 0.8801 GB, free: 6.191 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006285/1.011, allocations: 65.7 kB / 0.8801 GB, free: 6.121 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003178/1.014, allocations: 4.518 MB / 0.8845 GB, free: 1.629 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001399/1.015, allocations: 1.089 MB / 0.8856 GB, free: 0.5508 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008069/1.016, allocations: 174 kB / 0.8858 GB, free: 392 kB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0005884/1.017, allocations: 0.6655 MB / 0.8864 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005141/1.022, allocations: 3.381 MB / 0.8897 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008166/1.03, allocations: 8.39 MB / 0.8979 GB, free: 1.527 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2148/1.245, allocations: 12.78 MB / 0.9104 GB, free: 211.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001063/1.245, allocations: 54.81 kB / 0.9104 GB, free: 211.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.02061/1.266, allocations: 13.03 MB / 0.9232 GB, free: 206.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/1.266, allocations: 79.78 kB / 0.9232 GB, free: 206.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000242/1.266, allocations: 182.8 kB / 0.9234 GB, free: 206.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004159/1.27, allocations: 1.761 MB / 0.9251 GB, free: 206.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006444/1.277, allocations: 1.97 MB / 0.9271 GB, free: 206.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01414/1.291, allocations: 11.86 MB / 0.9386 GB, free: 200.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006658/1.298, allocations: 0.4929 MB / 0.9391 GB, free: 200.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001381/1.299, allocations: 0.5054 MB / 0.9396 GB, free: 200 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.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 (1026): * Single equations (assignments): 1019 * 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.00563/1.305, allocations: 3.039 MB / 0.9426 GB, free: 198.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/1.306, allocations: 0.5679 MB / 0.9431 GB, free: 198.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009921/1.316, allocations: 6.479 MB / 0.9495 GB, free: 196.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-05/1.316, allocations: 30.69 kB / 0.9495 GB, free: 196.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-05/1.316, allocations: 7.625 kB / 0.9495 GB, free: 196.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-05/1.316, allocations: 18.88 kB / 0.9495 GB, free: 196.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02266/1.338, allocations: 14.53 MB / 0.9637 GB, free: 190.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/1.339, allocations: 8.031 kB / 0.9637 GB, free: 190.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002153/1.341, allocations: 493.5 kB / 0.9642 GB, free: 189.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003506/1.344, allocations: 1.507 MB / 0.9657 GB, free: 188.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003002/1.345, allocations: 52 kB / 0.9657 GB, free: 188.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01167/1.356, allocations: 11.08 MB / 0.9765 GB, free: 178.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/1.356, allocations: 7.938 kB / 0.9765 GB, free: 178.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01314/1.369, allocations: 10.53 MB / 0.9868 GB, free: 169.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/1.371, allocations: 0.6458 MB / 0.9874 GB, free: 168.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009885/1.372, allocations: 52 kB / 0.9875 GB, free: 168.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002297/1.374, allocations: 183.7 kB / 0.9877 GB, free: 168.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006442/1.375, allocations: 185.6 kB / 0.9878 GB, free: 168.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001993/1.375, allocations: 82.58 kB / 0.9879 GB, free: 168.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00591/1.381, allocations: 4.283 MB / 0.9921 GB, free: 163.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.11e-07/1.381, allocations: 0 / 0.9921 GB, free: 163.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006816/1.388, allocations: 1.55 MB / 0.9936 GB, free: 162.3 MB / 0.5886 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 (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.01271/1.401, allocations: 11.21 MB / 1.005 GB, free: 150.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01029/1.411, allocations: 8.314 MB / 1.013 GB, free: 142.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/1.411, allocations: 320 / 1.013 GB, free: 142.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.004683/1.416, allocations: 3.291 MB / 1.016 GB, free: 139.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008986/1.425, allocations: 0.7346 MB / 1.017 GB, free: 138.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09295/1.518, allocations: 63.65 MB / 1.079 GB, free: 69.14 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005255/1.523, allocations: 4.636 MB / 1.083 GB, free: 64.46 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003883/1.527, allocations: 3.057 MB / 1.086 GB, free: 61.41 MB / 0.5886 GB Notification: Performance of SimCode: time 8.52e-07/1.527, allocations: 4 kB / 1.086 GB, free: 61.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.15/11.67, allocations: 168.2 MB / 1.251 GB, free: 137.1 MB / 0.5886 GB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_Force_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches