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.001114/0.001114, allocations: 108.9 kB / 16.41 MB, free: 6.445 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.001122/0.001122, allocations: 185.5 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.299/1.299, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.1984/0.1984, allocations: 43.54 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.0014/0.0014, allocations: 70.03 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1055, 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.0117/0.1172, allocations: 12.67 MB / 0.4998 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007319/0.1245, allocations: 3.969 MB / 0.5037 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.1263, allocations: 59.88 kB / 0.5037 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002525/0.1289, allocations: 1.327 MB / 0.505 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003944/0.1329, allocations: 1.825 MB / 0.5068 GB, free: 8.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.134, allocations: 491 kB / 0.5073 GB, free: 7.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004117/0.1382, allocations: 3.672 MB / 0.5109 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002798/0.141, allocations: 2.033 MB / 0.5128 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.143, allocations: 1.23 MB / 0.514 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00223/0.1452, allocations: 1.748 MB / 0.5157 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004147/0.1456, allocations: 240 kB / 0.516 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.1472, allocations: 0.9478 MB / 0.5169 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001251/0.1485, allocations: 1.64 MB / 0.5185 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001741/0.1503, allocations: 1.948 MB / 0.5204 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006287/0.1565, allocations: 6.398 MB / 0.5267 GB, free: 3.918 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1566, allocations: 0 / 0.5267 GB, free: 3.918 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1566, allocations: 0 / 0.5267 GB, free: 3.918 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000151/0.1567, allocations: 0 / 0.5267 GB, free: 3.918 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.2239/0.3807, allocations: 4.373 MB / 0.5309 GB, free: 37.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.3808, allocations: 15.02 kB / 0.5309 GB, free: 37.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001411/0.3822, allocations: 0.7276 MB / 0.5317 GB, free: 37.1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/0.3939, allocations: 3.117 MB / 0.5347 GB, free: 36.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005651/0.3996, allocations: 2.372 MB / 0.537 GB, free: 36.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.3998, allocations: 201.4 kB / 0.5372 GB, free: 36.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007095/0.4005, allocations: 249.5 kB / 0.5374 GB, free: 36.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01793/0.4184, allocations: 10.69 MB / 0.5479 GB, free: 32.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/0.4186, allocations: 33.33 kB / 0.5479 GB, free: 32.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004605/0.419, allocations: 125.2 kB / 0.548 GB, free: 32.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004588/0.4236, allocations: 2.641 MB / 0.5506 GB, free: 31.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01817/0.4418, allocations: 10.03 MB / 0.5604 GB, free: 24.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04303/0.4849, allocations: 35.15 MB / 0.5947 GB, free: 4.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009027/0.494, allocations: 5.181 MB / 0.5998 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002893/0.4969, allocations: 2.299 MB / 0.602 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001695/0.4986, allocations: 1.876 MB / 0.6039 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.4987, allocations: 56.5 kB / 0.6039 GB, free: 10.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 4.629e-06/0.4987, allocations: 4.047 kB / 0.6039 GB, free: 10.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03257/0.5313, allocations: 14.14 MB / 0.6177 GB, free: 12.33 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.5314, allocations: 69.41 kB / 0.6178 GB, free: 12.25 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003404/0.5348, allocations: 2.705 MB / 0.6204 GB, free: 9.527 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003461/0.5351, allocations: 61.7 kB / 0.6205 GB, free: 9.461 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001727/0.5369, allocations: 2.815 MB / 0.6233 GB, free: 6.617 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001017/0.5379, allocations: 0.8913 MB / 0.6241 GB, free: 5.719 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001366/0.5393, allocations: 1.056 MB / 0.6252 GB, free: 4.652 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.5394, allocations: 301.1 kB / 0.6254 GB, free: 4.355 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002943/0.5423, allocations: 2.208 MB / 0.6276 GB, free: 2.141 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005014/0.5474, allocations: 5.118 MB / 0.6326 GB, free: 11.59 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008857/0.5562, allocations: 8.05 MB / 0.6405 GB, free: 2.113 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-05/0.5564, allocations: 32 kB / 0.6405 GB, free: 2.082 MB / 478.1 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01306/0.5694, allocations: 7.944 MB / 0.6482 GB, free: 10.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.697e-05/0.5695, allocations: 50.5 kB / 0.6483 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001095/0.5697, allocations: 100 kB / 0.6484 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002151/0.5718, allocations: 0.8008 MB / 0.6492 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003895/0.5757, allocations: 1.197 MB / 0.6503 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005773/0.5815, allocations: 4.522 MB / 0.6548 GB, free: 3.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003642/0.5852, allocations: 299.9 kB / 0.655 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008734/0.5861, allocations: 307.9 kB / 0.6553 GB, free: 2.73 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.003671/0.5897, allocations: 2.048 MB / 0.6573 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006242/0.5904, allocations: 282.1 kB / 0.6576 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007746/0.5981, allocations: 4.734 MB / 0.6622 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-05/0.5982, allocations: 43.91 kB / 0.6623 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.5982, allocations: 4 kB / 0.6623 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.105e-05/0.5983, allocations: 11.95 kB / 0.6623 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0178/0.6161, allocations: 10.61 MB / 0.6726 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/0.6161, allocations: 4 kB / 0.6726 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/0.6177, allocations: 367.4 kB / 0.673 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001957/0.6196, allocations: 0.66 MB / 0.6736 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002032/0.6199, allocations: 43.94 kB / 0.6737 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004686/0.6246, allocations: 3.911 MB / 0.6775 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.6246, allocations: 7.938 kB / 0.6775 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009841/0.6344, allocations: 7.153 MB / 0.6845 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001763/0.6362, allocations: 0.6669 MB / 0.6851 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005033/0.6367, allocations: 36 kB / 0.6852 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.638, allocations: 143.8 kB / 0.6853 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003048/0.6383, allocations: 133.1 kB / 0.6854 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/0.6385, allocations: 67.98 kB / 0.6855 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002289/0.6408, allocations: 1.652 MB / 0.6871 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6408, allocations: 4 kB / 0.6871 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003905/0.6447, allocations: 0.949 MB / 0.6881 GB, free: 0.7305 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.01045/0.6552, allocations: 7.795 MB / 0.6957 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009077/0.6643, allocations: 5.407 MB / 0.701 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/0.6643, allocations: 0 / 0.701 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002956/0.6673, allocations: 2.02 MB / 0.7029 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/0.67, allocations: 360.8 kB / 0.7033 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06471/0.7347, allocations: 40.29 MB / 0.7426 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004197/0.7389, allocations: 3.24 MB / 0.7458 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.2184/0.9573, allocations: 1.966 MB / 0.7477 GB, free: 195 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002932/0.9603, allocations: 1.754 MB / 0.7494 GB, free: 195 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/0.9603, allocations: 0 / 0.7494 GB, free: 195 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08683/1.047, allocations: 54.98 MB / 0.8031 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 21/22.05, allocations: 8 kB / 0.8031 GB, free: 163.1 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