Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 106.2 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 192.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2053/0.2053, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 69.47 kB / 441.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09952/0.1011, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.0144/0.1155, allocations: 13.73 MB / 0.5008 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009604/0.1252, allocations: 4.606 MB / 0.5053 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002812/0.128, allocations: 91.75 kB / 0.5054 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007586/0.1357, allocations: 3.761 MB / 0.5091 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006792/0.1425, allocations: 2.373 MB / 0.5114 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002952/0.1455, allocations: 0.9982 MB / 0.5124 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01012/0.1557, allocations: 5.91 MB / 0.5182 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006916/0.1627, allocations: 4.69 MB / 0.5227 GB, free: 7.906 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00384/0.1665, allocations: 2.075 MB / 0.5248 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004479/0.1711, allocations: 2.827 MB / 0.5275 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001557/0.1726, allocations: 444 kB / 0.528 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003581/0.1763, allocations: 1.475 MB / 0.5294 GB, free: 1.078 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2128/0.3891, allocations: 2.635 MB / 0.532 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005234/0.3943, allocations: 3.005 MB / 0.5349 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01301/0.4074, allocations: 9.523 MB / 0.5442 GB, free: 9.746 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.4074, allocations: 0 / 0.5442 GB, free: 9.746 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4074, allocations: 1.688 kB / 0.5442 GB, free: 9.746 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003774/0.4078, allocations: 0 / 0.5442 GB, free: 9.746 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02204/0.4299, allocations: 6.592 MB / 0.5506 GB, free: 7.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.4299, allocations: 15.86 kB / 0.5507 GB, free: 7.227 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00365/0.4336, allocations: 0.886 MB / 0.5515 GB, free: 7.141 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04218/0.4758, allocations: 6.113 MB / 0.5575 GB, free: 6.699 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01132/0.4872, allocations: 4.797 MB / 0.5622 GB, free: 4.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002505/0.4875, allocations: 296.5 kB / 0.5625 GB, free: 4.066 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001861/0.4893, allocations: 407 kB / 0.5629 GB, free: 3.965 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02621/0.5156, allocations: 12.49 MB / 0.5751 GB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002179/0.5158, allocations: 58.66 kB / 0.5751 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001182/0.517, allocations: 190.8 kB / 0.5753 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003891/0.5209, allocations: 2.408 MB / 0.5776 GB, free: 11.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02139/0.5423, allocations: 10.28 MB / 0.5877 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06625/0.6086, allocations: 48.15 MB / 0.6347 GB, free: 1.016 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01226/0.621, allocations: 4.676 MB / 0.6393 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003824/0.6248, allocations: 2.311 MB / 0.6415 GB, free: 9.879 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0169/0.6418, allocations: 6.896 MB / 0.6483 GB, free: 2.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.33e-05/0.6419, allocations: 57.92 kB / 0.6483 GB, free: 2.867 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 7.193e-06/0.6419, allocations: 0 / 0.6483 GB, free: 2.867 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.04797/0.6899, allocations: 16.19 MB / 0.6641 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.6901, allocations: 201.2 kB / 0.6643 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009807/0.6999, allocations: 5.859 MB / 0.67 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004792/0.7004, allocations: 53.7 kB / 0.6701 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003124/0.7035, allocations: 3.994 MB / 0.674 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001057/0.7046, allocations: 0.7645 MB / 0.6747 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002265/0.7069, allocations: 1.431 MB / 0.6761 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.874e-05/0.707, allocations: 309.1 kB / 0.6764 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003669/0.7107, allocations: 2.383 MB / 0.6788 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006881/0.7176, allocations: 6.805 MB / 0.6854 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/0.7295, allocations: 9.955 MB / 0.6951 GB, free: 15.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001302/0.7297, allocations: 44 kB / 0.6952 GB, free: 15.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=926) (initialization): time 0.01865/0.7484, allocations: 9.412 MB / 0.7044 GB, free: 5.938 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001733/0.7486, allocations: 72 kB / 0.7044 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000246/0.7489, allocations: 156 kB / 0.7046 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001959/0.7508, allocations: 0.7161 MB / 0.7053 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005838/0.7567, allocations: 1.645 MB / 0.7069 GB, free: 3.344 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008278/0.765, allocations: 6.828 MB / 0.7136 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005837/0.7709, allocations: 394 kB / 0.7139 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001296/0.7722, allocations: 440 kB / 0.7143 GB, free: 11.42 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (866): * Single equations (assignments): 859 * 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 {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005206/0.7774, allocations: 2.623 MB / 0.7169 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009869/0.7784, allocations: 485.6 kB / 0.7174 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006007/0.7844, allocations: 3.245 MB / 0.7205 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-05/0.7845, allocations: 20 kB / 0.7206 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/0.7845, allocations: 7.984 kB / 0.7206 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.222e-05/0.7845, allocations: 7.969 kB / 0.7206 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01853/0.8031, allocations: 8.529 MB / 0.7289 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.8031, allocations: 8.125 kB / 0.7289 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001827/0.805, allocations: 363.4 kB / 0.7293 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/0.8064, allocations: 497.2 kB / 0.7297 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002346/0.8067, allocations: 39.94 kB / 0.7298 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007147/0.8139, allocations: 6.193 MB / 0.7358 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.8139, allocations: 7.938 kB / 0.7358 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009086/0.823, allocations: 5.831 MB / 0.7415 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002884/0.8259, allocations: 0.8032 MB / 0.7423 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/0.827, allocations: 32 kB / 0.7423 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002325/0.8294, allocations: 95.88 kB / 0.7424 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004072/0.8298, allocations: 121 kB / 0.7425 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/0.83, allocations: 52 kB / 0.7426 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00772/0.8377, allocations: 3.755 MB / 0.7463 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8378, allocations: 0 / 0.7463 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007547/0.8453, allocations: 1.207 MB / 0.7474 GB, free: 9.105 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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 {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009578/0.8549, allocations: 6.48 MB / 0.7538 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2063/1.061, allocations: 5.824 MB / 0.7595 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/1.061, allocations: 0.8125 kB / 0.7595 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002633/1.064, allocations: 1.743 MB / 0.7612 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004193/1.068, allocations: 0.6703 MB / 0.7618 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08227/1.15, allocations: 58.23 MB / 0.8187 GB, free: 168.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005484/1.156, allocations: 4.022 MB / 0.8226 GB, free: 164.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00534/1.161, allocations: 2.291 MB / 0.8248 GB, free: 161.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003657/1.165, allocations: 2.507 MB / 0.8273 GB, free: 159.3 MB / 0.5919 GB Notification: Performance of SimCode: time 7.91e-07/1.165, allocations: 0 / 0.8273 GB, free: 159.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1369/1.302, allocations: 91.44 MB / 0.9166 GB, free: 67.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.99/23.3, allocations: 23.86 kB / 0.9166 GB, free: 67.84 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches