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.001153/0.001158, allocations: 110.3 kB / 16.41 MB, free: 6.488 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.001272/0.001272, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.307/1.307, 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: 468 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.001555/0.001555, allocations: 71.89 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09952/0.1011, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01304/0.1142, allocations: 12.68 MB / 0.4998 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007618/0.1218, allocations: 3.964 MB / 0.5037 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/0.1236, allocations: 63.88 kB / 0.5037 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002898/0.1265, allocations: 1.327 MB / 0.505 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004116/0.1307, allocations: 1.782 MB / 0.5068 GB, free: 8.395 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.132, allocations: 487 kB / 0.5072 GB, free: 7.918 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004559/0.1366, allocations: 3.672 MB / 0.5108 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003164/0.1397, allocations: 2.036 MB / 0.5128 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00228/0.1421, allocations: 1.242 MB / 0.514 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002447/0.1445, allocations: 1.744 MB / 0.5157 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008068/0.1454, allocations: 240 kB / 0.5159 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002109/0.1475, allocations: 0.9439 MB / 0.5169 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00182/0.1493, allocations: 1.636 MB / 0.5185 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002698/0.152, allocations: 1.948 MB / 0.5204 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007707/0.1598, allocations: 6.371 MB / 0.5266 GB, free: 3.984 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.1598, allocations: 0 / 0.5266 GB, free: 3.984 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1598, allocations: 0 / 0.5266 GB, free: 3.984 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002754/0.1601, allocations: 0 / 0.5266 GB, free: 3.984 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.27/0.4301, allocations: 4.257 MB / 0.5307 GB, free: 37.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.4302, allocations: 13.33 kB / 0.5308 GB, free: 37.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00162/0.4318, allocations: 0.7306 MB / 0.5315 GB, free: 37.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/0.4431, allocations: 3.081 MB / 0.5345 GB, free: 36.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005161/0.4483, allocations: 2.369 MB / 0.5368 GB, free: 36.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/0.4485, allocations: 199.3 kB / 0.537 GB, free: 36.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001162/0.4497, allocations: 252.9 kB / 0.5372 GB, free: 36.28 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02251/0.4722, allocations: 10.69 MB / 0.5477 GB, free: 32.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002095/0.4725, allocations: 33.66 kB / 0.5477 GB, free: 32.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001303/0.4738, allocations: 128 kB / 0.5478 GB, free: 32.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004827/0.4786, allocations: 2.641 MB / 0.5504 GB, free: 31.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01873/0.4974, allocations: 10.03 MB / 0.5602 GB, free: 24.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04897/0.5464, allocations: 35.09 MB / 0.5945 GB, free: 4.391 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/0.5568, allocations: 5.184 MB / 0.5995 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003462/0.5603, allocations: 2.295 MB / 0.6018 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001931/0.5622, allocations: 1.88 MB / 0.6036 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.22e-05/0.5623, allocations: 52.56 kB / 0.6036 GB, free: 10.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 9.377e-06/0.5623, allocations: 0 / 0.6036 GB, free: 10.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03853/0.6009, allocations: 14.07 MB / 0.6174 GB, free: 12.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/0.601, allocations: 69.41 kB / 0.6175 GB, free: 12.21 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005245/0.6063, allocations: 2.697 MB / 0.6201 GB, free: 9.492 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005259/0.6068, allocations: 57.7 kB / 0.6201 GB, free: 9.43 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002205/0.6091, allocations: 2.701 MB / 0.6228 GB, free: 6.688 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001259/0.6103, allocations: 0.8517 MB / 0.6236 GB, free: 5.824 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002494/0.6129, allocations: 1.048 MB / 0.6246 GB, free: 4.766 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.613, allocations: 301.1 kB / 0.6249 GB, free: 4.469 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003706/0.6167, allocations: 2.208 MB / 0.6271 GB, free: 2.254 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006436/0.6232, allocations: 5.126 MB / 0.6321 GB, free: 11.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/0.6333, allocations: 8.046 MB / 0.6399 GB, free: 2.223 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.751e-05/0.6335, allocations: 32 kB / 0.64 GB, free: 2.191 MB / 478.1 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01506/0.6485, allocations: 7.937 MB / 0.6477 GB, free: 10.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.935e-05/0.6487, allocations: 52.25 kB / 0.6478 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001523/0.6488, allocations: 100 kB / 0.6479 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002312/0.6511, allocations: 0.7889 MB / 0.6486 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004742/0.6559, allocations: 1.196 MB / 0.6498 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00632/0.6623, allocations: 4.519 MB / 0.6542 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003716/0.666, allocations: 299.7 kB / 0.6545 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008877/0.667, allocations: 307.9 kB / 0.6548 GB, free: 2.855 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.004137/0.6711, allocations: 2.055 MB / 0.6568 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005741/0.6717, allocations: 264.5 kB / 0.6571 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008565/0.6803, allocations: 4.733 MB / 0.6617 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.237e-05/0.6804, allocations: 40 kB / 0.6617 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.6804, allocations: 4 kB / 0.6617 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.079e-05/0.6805, allocations: 11.95 kB / 0.6617 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02007/0.7006, allocations: 10.59 MB / 0.6721 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.118e-05/0.7006, allocations: 8.031 kB / 0.6721 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/0.7025, allocations: 363.4 kB / 0.6724 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002063/0.7046, allocations: 0.6561 MB / 0.6731 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004048/0.705, allocations: 43.94 kB / 0.6731 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005129/0.7101, allocations: 3.909 MB / 0.6769 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-06/0.7102, allocations: 16.28 kB / 0.6769 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01129/0.7215, allocations: 7.124 MB / 0.6839 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001821/0.7234, allocations: 0.6498 MB / 0.6845 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006486/0.724, allocations: 43.94 kB / 0.6846 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/0.7255, allocations: 151.8 kB / 0.6847 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004146/0.726, allocations: 125 kB / 0.6848 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001837/0.7262, allocations: 67.98 kB / 0.6849 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003186/0.7294, allocations: 1.66 MB / 0.6865 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.51e-07/0.7294, allocations: 0 / 0.6865 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004911/0.7343, allocations: 0.9438 MB / 0.6875 GB, free: 0.918 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.01158/0.7459, allocations: 7.793 MB / 0.6951 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008606/0.7546, allocations: 5.398 MB / 0.7003 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/0.7547, allocations: 7.938 kB / 0.7003 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003152/0.7578, allocations: 2.014 MB / 0.7023 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002846/0.7607, allocations: 362.2 kB / 0.7027 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07177/0.8325, allocations: 40.14 MB / 0.7419 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006165/0.8387, allocations: 3.232 MB / 0.745 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.2474/1.086, allocations: 1.972 MB / 0.7469 GB, free: 194.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003749/1.09, allocations: 1.753 MB / 0.7487 GB, free: 194.9 MB / 0.5762 GB Notification: Performance of SimCode: time 9.32e-07/1.09, allocations: 0 / 0.7487 GB, free: 194.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1031/1.193, allocations: 55.88 MB / 0.8032 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.47/22.66, allocations: 7.922 kB / 0.8032 GB, free: 162.7 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.mat","/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