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.001695/0.001695, allocations: 104.8 kB / 16.4 MB, free: 6.449 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.001814/0.001814, allocations: 192.2 kB / 17.34 MB, free: 5.711 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.369/1.369, 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.2095/0.2095, allocations: 43.52 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.002282/0.002283, allocations: 74.09 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.112, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01466/0.1267, allocations: 12.67 MB / 0.4998 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0087/0.1354, allocations: 3.965 MB / 0.5037 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002045/0.1375, allocations: 67.88 kB / 0.5037 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003439/0.141, allocations: 1.323 MB / 0.505 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004634/0.1457, allocations: 1.786 MB / 0.5068 GB, free: 8.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.1471, allocations: 495 kB / 0.5072 GB, free: 7.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00555/0.1526, allocations: 3.676 MB / 0.5108 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00337/0.156, allocations: 2.037 MB / 0.5128 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002244/0.1583, allocations: 1.23 MB / 0.514 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002825/0.1612, allocations: 1.744 MB / 0.5157 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008728/0.162, allocations: 240 kB / 0.5159 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002465/0.1645, allocations: 0.9478 MB / 0.5169 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002239/0.1668, allocations: 1.632 MB / 0.5185 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003377/0.1702, allocations: 1.952 MB / 0.5204 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008431/0.1786, allocations: 6.406 MB / 0.5266 GB, free: 3.938 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1787, allocations: 0 / 0.5266 GB, free: 3.938 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1787, allocations: 0 / 0.5266 GB, free: 3.938 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001952/0.1789, allocations: 0 / 0.5266 GB, free: 3.938 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.201/0.3799, allocations: 4.372 MB / 0.5309 GB, free: 37.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3799, allocations: 13.94 kB / 0.5309 GB, free: 37.12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001238/0.3812, allocations: 0.7254 MB / 0.5316 GB, free: 37.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/0.3918, allocations: 3.116 MB / 0.5347 GB, free: 36.74 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004407/0.3963, allocations: 2.372 MB / 0.537 GB, free: 36.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/0.3965, allocations: 199.4 kB / 0.5372 GB, free: 36.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009101/0.3974, allocations: 248.8 kB / 0.5374 GB, free: 36.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0177/0.4151, allocations: 10.69 MB / 0.5478 GB, free: 32.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001191/0.4153, allocations: 30.7 kB / 0.5479 GB, free: 32.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006437/0.4159, allocations: 124.6 kB / 0.548 GB, free: 32.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004379/0.4203, allocations: 2.648 MB / 0.5506 GB, free: 31.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01714/0.4375, allocations: 10.02 MB / 0.5604 GB, free: 24.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04573/0.4832, allocations: 35.15 MB / 0.5947 GB, free: 4.438 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/0.4935, allocations: 5.18 MB / 0.5998 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00357/0.4971, allocations: 2.302 MB / 0.602 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00195/0.4991, allocations: 1.876 MB / 0.6038 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.242e-05/0.4992, allocations: 54.95 kB / 0.6039 GB, free: 10.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 5.42e-06/0.4992, allocations: 0 / 0.6039 GB, free: 10.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03482/0.534, allocations: 14.14 MB / 0.6177 GB, free: 12.34 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.5341, allocations: 69.41 kB / 0.6178 GB, free: 12.25 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003805/0.5379, allocations: 2.705 MB / 0.6204 GB, free: 9.531 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004065/0.5384, allocations: 57.7 kB / 0.6205 GB, free: 9.469 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002198/0.5406, allocations: 2.819 MB / 0.6232 GB, free: 6.621 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001148/0.5417, allocations: 0.8913 MB / 0.6241 GB, free: 5.723 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001558/0.5433, allocations: 1.056 MB / 0.6251 GB, free: 4.656 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5435, allocations: 301.1 kB / 0.6254 GB, free: 4.359 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003254/0.5467, allocations: 2.208 MB / 0.6276 GB, free: 2.145 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005613/0.5523, allocations: 5.118 MB / 0.6326 GB, free: 11.59 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/0.5624, allocations: 8.054 MB / 0.6404 GB, free: 2.109 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.511e-05/0.5625, allocations: 28 kB / 0.6405 GB, free: 2.082 MB / 478.1 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01439/0.5769, allocations: 7.943 MB / 0.6482 GB, free: 10.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.983e-05/0.577, allocations: 52 kB / 0.6483 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001215/0.5772, allocations: 100.9 kB / 0.6484 GB, free: 9.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002349/0.5795, allocations: 0.7889 MB / 0.6491 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003927/0.5835, allocations: 1.201 MB / 0.6503 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00602/0.5895, allocations: 4.521 MB / 0.6547 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003189/0.5927, allocations: 295.8 kB / 0.655 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005207/0.5933, allocations: 308 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.003123/0.5964, allocations: 2.051 MB / 0.6573 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004508/0.5968, allocations: 286.1 kB / 0.6576 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008324/0.6052, allocations: 4.73 MB / 0.6622 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.379e-05/0.6053, allocations: 40 kB / 0.6622 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.6053, allocations: 4 kB / 0.6622 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.179e-05/0.6053, allocations: 11.95 kB / 0.6622 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01781/0.6231, allocations: 10.61 MB / 0.6726 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.6232, allocations: 4.906 kB / 0.6726 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/0.6247, allocations: 359.5 kB / 0.6729 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002098/0.6268, allocations: 0.6599 MB / 0.6736 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/0.627, allocations: 43.94 kB / 0.6736 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005323/0.6324, allocations: 3.902 MB / 0.6774 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/0.6324, allocations: 7.938 kB / 0.6775 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0107/0.6431, allocations: 7.157 MB / 0.6844 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001394/0.6445, allocations: 0.6708 MB / 0.6851 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003674/0.6449, allocations: 43.98 kB / 0.6851 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.6461, allocations: 135.8 kB / 0.6853 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003518/0.6465, allocations: 133.1 kB / 0.6854 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/0.6466, allocations: 67.98 kB / 0.6855 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002461/0.6491, allocations: 1.656 MB / 0.6871 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6491, allocations: 0 / 0.6871 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003582/0.6527, allocations: 0.9451 MB / 0.688 GB, free: 0.7344 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.0113/0.664, allocations: 7.799 MB / 0.6956 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008532/0.6726, allocations: 5.408 MB / 0.7009 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/0.6726, allocations: 0 / 0.7009 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003005/0.6756, allocations: 2.024 MB / 0.7029 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.6776, allocations: 357.3 kB / 0.7032 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06004/0.7376, allocations: 40.3 MB / 0.7426 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00395/0.7416, allocations: 3.236 MB / 0.7457 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.2023/0.944, allocations: 1.965 MB / 0.7477 GB, free: 194.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002719/0.9468, allocations: 1.751 MB / 0.7494 GB, free: 194.9 MB / 0.5762 GB Notification: Performance of SimCode: time 8.92e-07/0.9468, allocations: 0 / 0.7494 GB, free: 194.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09074/1.038, allocations: 54.97 MB / 0.803 GB, free: 163 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.12/24.16, allocations: 7.281 kB / 0.803 GB, free: 163 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