Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",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.001418/0.001417, allocations: 102.8 kB / 16.4 MB, free: 6.508 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.001427/0.001427, allocations: 192.2 kB / 17.34 MB, free: 5.738 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.375/1.375, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2191/0.2191, allocations: 43.53 MB / 314.1 MB, free: 460 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.002268/0.002268, allocations: 65.47 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1106, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01535/0.126, allocations: 12.67 MB / 0.4998 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009443/0.1355, allocations: 3.965 MB / 0.5037 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00249/0.138, allocations: 63.88 kB / 0.5037 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003658/0.1417, allocations: 1.327 MB / 0.505 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005212/0.147, allocations: 1.786 MB / 0.5068 GB, free: 8.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.1486, allocations: 483 kB / 0.5072 GB, free: 7.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005721/0.1544, allocations: 3.675 MB / 0.5108 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003362/0.1578, allocations: 2.04 MB / 0.5128 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002301/0.1601, allocations: 1.234 MB / 0.514 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002943/0.1631, allocations: 1.744 MB / 0.5157 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009136/0.164, allocations: 240 kB / 0.5159 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002548/0.1666, allocations: 0.9478 MB / 0.5169 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00243/0.1691, allocations: 1.636 MB / 0.5185 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003531/0.1726, allocations: 1.948 MB / 0.5204 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008948/0.1816, allocations: 6.402 MB / 0.5266 GB, free: 3.945 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.1817, allocations: 0 / 0.5266 GB, free: 3.945 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1817, allocations: 0 / 0.5266 GB, free: 3.945 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002593/0.1819, allocations: 0 / 0.5266 GB, free: 3.945 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.2136/0.3956, allocations: 4.375 MB / 0.5309 GB, free: 37.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.3956, allocations: 14.42 kB / 0.5309 GB, free: 37.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001763/0.3974, allocations: 0.7263 MB / 0.5316 GB, free: 37.1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/0.4089, allocations: 3.112 MB / 0.5347 GB, free: 36.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004964/0.4139, allocations: 2.377 MB / 0.537 GB, free: 36.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/0.4142, allocations: 196.3 kB / 0.5372 GB, free: 36.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00116/0.4153, allocations: 250.1 kB / 0.5374 GB, free: 36.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02003/0.4354, allocations: 10.69 MB / 0.5478 GB, free: 32.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001305/0.4356, allocations: 38.55 kB / 0.5479 GB, free: 32.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008032/0.4364, allocations: 124.2 kB / 0.548 GB, free: 32.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004734/0.4411, allocations: 2.648 MB / 0.5506 GB, free: 31.44 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0167/0.4579, allocations: 10.03 MB / 0.5604 GB, free: 24.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04658/0.5045, allocations: 35.16 MB / 0.5947 GB, free: 4.461 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/0.5151, allocations: 5.18 MB / 0.5998 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003752/0.5189, allocations: 2.295 MB / 0.602 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002057/0.521, allocations: 1.88 MB / 0.6038 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.575e-05/0.5211, allocations: 52.55 kB / 0.6039 GB, free: 10.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 5.67e-06/0.5211, allocations: 1.641 kB / 0.6039 GB, free: 10.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03857/0.5597, allocations: 14.14 MB / 0.6177 GB, free: 12.36 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.5598, allocations: 73.41 kB / 0.6178 GB, free: 12.28 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004478/0.5643, allocations: 2.697 MB / 0.6204 GB, free: 9.562 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004587/0.5648, allocations: 61.69 kB / 0.6205 GB, free: 9.496 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002636/0.5674, allocations: 2.819 MB / 0.6232 GB, free: 6.648 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001475/0.5689, allocations: 0.8913 MB / 0.6241 GB, free: 5.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001978/0.5709, allocations: 1.053 MB / 0.6251 GB, free: 4.688 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5711, allocations: 301.1 kB / 0.6254 GB, free: 4.391 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003676/0.5748, allocations: 2.208 MB / 0.6276 GB, free: 2.176 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006909/0.5817, allocations: 5.126 MB / 0.6326 GB, free: 11.62 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/0.5927, allocations: 8.046 MB / 0.6404 GB, free: 2.145 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.367e-05/0.5928, allocations: 31.98 kB / 0.6405 GB, free: 2.113 MB / 478.1 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01536/0.6082, allocations: 7.944 MB / 0.6482 GB, free: 10.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.333e-05/0.6083, allocations: 48 kB / 0.6483 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001342/0.6084, allocations: 100 kB / 0.6483 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002399/0.6108, allocations: 0.8015 MB / 0.6491 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004204/0.615, allocations: 1.2 MB / 0.6503 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006522/0.6216, allocations: 4.52 MB / 0.6547 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003483/0.6251, allocations: 299.8 kB / 0.655 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008658/0.626, allocations: 303.9 kB / 0.6553 GB, free: 2.758 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (640): * Single equations (assignments): 633 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004245/0.6303, allocations: 2.051 MB / 0.6573 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006373/0.6309, allocations: 282.1 kB / 0.6576 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009404/0.6403, allocations: 4.73 MB / 0.6622 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.451e-05/0.6405, allocations: 47.98 kB / 0.6622 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.6405, allocations: 0 / 0.6622 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.91e-05/0.6405, allocations: 7.969 kB / 0.6622 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02129/0.6618, allocations: 10.61 MB / 0.6726 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-05/0.6619, allocations: 8 kB / 0.6726 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/0.6638, allocations: 371.5 kB / 0.673 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002258/0.6661, allocations: 0.656 MB / 0.6736 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004151/0.6666, allocations: 43.92 kB / 0.6736 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005771/0.6723, allocations: 3.902 MB / 0.6775 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-05/0.6724, allocations: 15.92 kB / 0.6775 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/0.6851, allocations: 7.153 MB / 0.6845 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/0.6869, allocations: 0.6708 MB / 0.6851 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007043/0.6876, allocations: 43.98 kB / 0.6851 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/0.6893, allocations: 139.8 kB / 0.6853 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005193/0.6898, allocations: 133.1 kB / 0.6854 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002128/0.6901, allocations: 56 kB / 0.6855 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003464/0.6935, allocations: 1.656 MB / 0.6871 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.1e-07/0.6936, allocations: 4 kB / 0.6871 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005482/0.6991, allocations: 0.9529 MB / 0.688 GB, free: 0.7539 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01357/0.7127, allocations: 7.799 MB / 0.6956 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009121/0.7218, allocations: 5.403 MB / 0.7009 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.7219, allocations: 0 / 0.7009 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003227/0.7251, allocations: 2.024 MB / 0.7029 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/0.7272, allocations: 348.3 kB / 0.7032 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06791/0.7951, allocations: 40.31 MB / 0.7426 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005837/0.801, allocations: 3.232 MB / 0.7457 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.2165/1.018, allocations: 1.967 MB / 0.7477 GB, free: 195.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002684/1.02, allocations: 1.752 MB / 0.7494 GB, free: 195.2 MB / 0.5762 GB Notification: Performance of SimCode: time 8.51e-07/1.02, allocations: 0 / 0.7494 GB, free: 195.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1004/1.121, allocations: 54.96 MB / 0.803 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.26/25.38, allocations: 15.28 kB / 0.8031 GB, free: 163.2 MB / 0.5762 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches