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.001231/0.001231, allocations: 105.9 kB / 16.41 MB, free: 6.484 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.001229/0.001229, allocations: 196.9 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.403/1.403, 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.2215/0.2215, allocations: 43.51 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.001431/0.001431, allocations: 65.47 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1164, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01572/0.1322, allocations: 12.67 MB / 0.4998 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0095/0.1417, allocations: 3.968 MB / 0.5037 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00267/0.1444, allocations: 67.88 kB / 0.5037 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003474/0.1479, allocations: 1.323 MB / 0.505 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005405/0.1535, allocations: 1.786 MB / 0.5068 GB, free: 8.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.1552, allocations: 491 kB / 0.5072 GB, free: 7.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005967/0.1612, allocations: 3.665 MB / 0.5108 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003378/0.1646, allocations: 2.04 MB / 0.5128 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002462/0.1671, allocations: 1.234 MB / 0.514 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002932/0.1701, allocations: 1.748 MB / 0.5157 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000909/0.171, allocations: 240 kB / 0.5159 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002406/0.1734, allocations: 0.9439 MB / 0.5169 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002152/0.1756, allocations: 1.636 MB / 0.5185 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003203/0.1788, allocations: 1.948 MB / 0.5204 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007984/0.1868, allocations: 6.375 MB / 0.5266 GB, free: 3.973 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1869, allocations: 0 / 0.5266 GB, free: 3.973 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1869, allocations: 0 / 0.5266 GB, free: 3.973 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002366/0.1871, allocations: 0 / 0.5266 GB, free: 3.973 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.2146/0.4018, allocations: 4.258 MB / 0.5307 GB, free: 37.24 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.4018, allocations: 14.83 kB / 0.5308 GB, free: 37.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001624/0.4035, allocations: 0.7205 MB / 0.5315 GB, free: 37.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01157/0.4151, allocations: 3.089 MB / 0.5345 GB, free: 36.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006002/0.4211, allocations: 2.371 MB / 0.5368 GB, free: 36.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002035/0.4214, allocations: 196.7 kB / 0.537 GB, free: 36.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001284/0.4227, allocations: 249.9 kB / 0.5372 GB, free: 36.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02143/0.4441, allocations: 10.7 MB / 0.5477 GB, free: 32.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/0.4443, allocations: 29.2 kB / 0.5477 GB, free: 32.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005419/0.4448, allocations: 119.5 kB / 0.5478 GB, free: 32.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004503/0.4493, allocations: 2.65 MB / 0.5504 GB, free: 31.44 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01893/0.4683, allocations: 10.01 MB / 0.5602 GB, free: 24.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04669/0.515, allocations: 35.1 MB / 0.5945 GB, free: 4.395 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.5253, allocations: 5.188 MB / 0.5995 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003403/0.5288, allocations: 2.287 MB / 0.6018 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00196/0.5308, allocations: 1.876 MB / 0.6036 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.992e-05/0.5308, allocations: 48.56 kB / 0.6036 GB, free: 10.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 6.623e-06/0.5309, allocations: 1.641 kB / 0.6036 GB, free: 10.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03662/0.5675, allocations: 14.07 MB / 0.6174 GB, free: 12.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.805e-05/0.5676, allocations: 73.41 kB / 0.6174 GB, free: 12.21 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004846/0.5725, allocations: 2.7 MB / 0.6201 GB, free: 9.496 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004456/0.573, allocations: 57.61 kB / 0.6201 GB, free: 9.438 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00235/0.5753, allocations: 2.705 MB / 0.6228 GB, free: 6.691 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001334/0.5767, allocations: 0.8557 MB / 0.6236 GB, free: 5.824 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002601/0.5793, allocations: 1.04 MB / 0.6246 GB, free: 4.773 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.5795, allocations: 305.1 kB / 0.6249 GB, free: 4.473 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003874/0.5834, allocations: 2.208 MB / 0.6271 GB, free: 2.258 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00721/0.5906, allocations: 5.122 MB / 0.6321 GB, free: 11.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/0.6015, allocations: 8.043 MB / 0.6399 GB, free: 2.234 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001123/0.6017, allocations: 28 kB / 0.64 GB, free: 2.207 MB / 478.1 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01711/0.6188, allocations: 7.941 MB / 0.6477 GB, free: 10.26 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.619, allocations: 51.94 kB / 0.6478 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002166/0.6192, allocations: 104 kB / 0.6479 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002793/0.622, allocations: 0.7976 MB / 0.6486 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004703/0.6268, allocations: 1.2 MB / 0.6498 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007239/0.6341, allocations: 4.512 MB / 0.6542 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004131/0.6382, allocations: 307.8 kB / 0.6545 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/0.6393, 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.004111/0.6434, allocations: 2.044 MB / 0.6568 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006349/0.644, allocations: 260.5 kB / 0.6571 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008658/0.6527, allocations: 4.745 MB / 0.6617 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.21e-05/0.6528, allocations: 43.98 kB / 0.6617 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.6528, allocations: 4 kB / 0.6617 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-05/0.6529, allocations: 7.969 kB / 0.6617 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.021/0.6739, allocations: 10.59 MB / 0.6721 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-05/0.674, allocations: 8 kB / 0.6721 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/0.6759, allocations: 363.5 kB / 0.6724 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002157/0.678, allocations: 0.6522 MB / 0.6731 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003711/0.6784, allocations: 59.91 kB / 0.6731 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005109/0.6835, allocations: 3.898 MB / 0.6769 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.358e-05/0.6836, allocations: 12.22 kB / 0.6769 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/0.6954, allocations: 7.136 MB / 0.6839 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002286/0.6978, allocations: 0.6459 MB / 0.6845 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007136/0.6985, allocations: 47.91 kB / 0.6846 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001933/0.7005, allocations: 139.8 kB / 0.6847 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005808/0.7011, allocations: 133 kB / 0.6849 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002896/0.7014, allocations: 63.98 kB / 0.6849 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003485/0.7049, allocations: 1.656 MB / 0.6865 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7049, allocations: 4 kB / 0.6865 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005411/0.7103, allocations: 0.9477 MB / 0.6875 GB, free: 0.9219 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.01249/0.7228, allocations: 7.786 MB / 0.6951 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008836/0.7317, allocations: 5.405 MB / 0.7003 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.7318, allocations: 0 / 0.7003 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003201/0.735, allocations: 2.024 MB / 0.7023 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/0.7376, allocations: 359.1 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.09181/0.8294, allocations: 40.14 MB / 0.7419 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007845/0.8373, allocations: 3.236 MB / 0.745 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.2663/1.104, allocations: 1.966 MB / 0.7469 GB, free: 195 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003047/1.107, allocations: 1.756 MB / 0.7487 GB, free: 195 MB / 0.5762 GB Notification: Performance of SimCode: time 8.92e-07/1.107, allocations: 0 / 0.7487 GB, free: 195 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.273/1.38, allocations: 55.88 MB / 0.8032 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.87/24.25, allocations: 11.42 kB / 0.8032 GB, free: 162.8 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