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.001291/0.001292, allocations: 101.4 kB / 16.27 MB, free: 5.93 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.00156/0.00156, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.374/1.374, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2062/0.2062, allocations: 43.51 MB / 313.9 MB, free: 0.5195 MB / 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.001907/0.001908, allocations: 67.91 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1131, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.0124/0.1256, allocations: 12.66 MB / 453.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00897/0.1346, allocations: 3.96 MB / 457.2 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002611/0.1372, allocations: 59.88 kB / 457.3 MB, free: 6.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003264/0.1405, allocations: 1.331 MB / 458.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005133/0.1457, allocations: 1.782 MB / 460.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.1473, allocations: 499 kB / 460.9 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0051/0.1524, allocations: 3.657 MB / 464.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003086/0.1555, allocations: 2.052 MB / 466.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002108/0.1576, allocations: 1.23 MB / 467.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00259/0.1602, allocations: 1.74 MB / 469.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008378/0.1611, allocations: 240 kB / 469.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.1635, allocations: 0.9439 MB / 470.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001985/0.1655, allocations: 1.628 MB / 472.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003656/0.1692, allocations: 1.948 MB / 474.3 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01174/0.1809, allocations: 6.09 MB / 480.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.611e-05/0.181, allocations: 0 / 480.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.1811, allocations: 0 / 480.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003894/0.1815, allocations: 4 kB / 480.4 MB, free: 14.8 MB / 366.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.01049/0.192, allocations: 4.254 MB / 484.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.192, allocations: 11.89 kB / 484.7 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001031/0.1931, allocations: 0.725 MB / 485.4 MB, free: 9.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/0.2033, allocations: 3.091 MB / 488.5 MB, free: 6.629 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00388/0.2072, allocations: 2.345 MB / 490.9 MB, free: 4.238 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.2073, allocations: 193.2 kB / 491.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000547/0.2079, allocations: 267.6 kB / 491.3 MB, free: 3.785 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01507/0.223, allocations: 10.7 MB / 0.4902 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.473e-05/0.2231, allocations: 23.8 kB / 0.4903 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003632/0.2234, allocations: 123.8 kB / 0.4904 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004423/0.2279, allocations: 2.651 MB / 0.493 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01886/0.2468, allocations: 10.02 MB / 0.5028 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2456/0.4924, allocations: 35.3 MB / 0.5372 GB, free: 66.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009485/0.5019, allocations: 5.173 MB / 0.5423 GB, free: 65.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003019/0.505, allocations: 2.294 MB / 0.5445 GB, free: 65.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/0.5063, allocations: 1.882 MB / 0.5464 GB, free: 64.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.5064, allocations: 60.11 kB / 0.5464 GB, free: 63.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=229): time 4.148e-06/0.5064, allocations: 3.531 kB / 0.5464 GB, free: 63.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=235): time 0.03066/0.537, allocations: 14.06 MB / 0.5602 GB, free: 60.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.5371, allocations: 73.97 kB / 0.5602 GB, free: 60.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003259/0.5404, allocations: 2.687 MB / 0.5628 GB, free: 59.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003102/0.5407, allocations: 59.28 kB / 0.5629 GB, free: 59.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.5418, allocations: 2.708 MB / 0.5655 GB, free: 57.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006362/0.5424, allocations: 0.8493 MB / 0.5664 GB, free: 56.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001066/0.5435, allocations: 1.047 MB / 0.5674 GB, free: 56.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.307e-05/0.5436, allocations: 306.2 kB / 0.5677 GB, free: 55.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00236/0.5459, allocations: 2.211 MB / 0.5699 GB, free: 54.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003282/0.5492, allocations: 5.126 MB / 0.5749 GB, free: 47.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006334/0.5556, allocations: 8.046 MB / 0.5827 GB, free: 38.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-05/0.5556, allocations: 32 kB / 0.5827 GB, free: 38.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01053/0.5662, allocations: 7.934 MB / 0.5905 GB, free: 30.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.721e-05/0.5663, allocations: 48 kB / 0.5905 GB, free: 30.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.299e-05/0.5663, allocations: 101.8 kB / 0.5906 GB, free: 30.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001929/0.5683, allocations: 0.7966 MB / 0.5914 GB, free: 29.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00326/0.5716, allocations: 1.201 MB / 0.5926 GB, free: 28.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004361/0.5759, allocations: 4.52 MB / 0.597 GB, free: 23.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00334/0.5793, allocations: 295.8 kB / 0.5973 GB, free: 23.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004198/0.5797, allocations: 307.4 kB / 0.5976 GB, free: 23.05 MB / 414.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.002646/0.5824, allocations: 2.054 MB / 0.5996 GB, free: 20.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003575/0.5827, allocations: 270.1 kB / 0.5998 GB, free: 20.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006022/0.5888, allocations: 4.729 MB / 0.6045 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.604e-05/0.5888, allocations: 47.98 kB / 0.6045 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.5889, allocations: 0 / 0.6045 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.5889, allocations: 7.969 kB / 0.6045 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01331/0.6022, allocations: 10.63 MB / 0.6149 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.6022, allocations: 8 kB / 0.6149 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/0.6036, allocations: 363.4 kB / 0.6152 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001757/0.6054, allocations: 0.6486 MB / 0.6159 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/0.6055, allocations: 44.86 kB / 0.6159 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003686/0.6092, allocations: 3.918 MB / 0.6197 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.6092, allocations: 8 kB / 0.6198 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/0.6193, allocations: 7.138 MB / 0.6267 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001442/0.6208, allocations: 0.6474 MB / 0.6274 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003882/0.6212, allocations: 47.69 kB / 0.6274 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.6224, allocations: 135.8 kB / 0.6275 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003176/0.6227, allocations: 137 kB / 0.6277 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/0.6229, allocations: 60 kB / 0.6277 GB, free: 7.777 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002301/0.6252, allocations: 1.652 MB / 0.6293 GB, free: 6.117 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6252, allocations: 8 kB / 0.6293 GB, free: 6.109 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004193/0.6294, allocations: 0.9439 MB / 0.6303 GB, free: 5.172 MB / 430.1 MB 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.01067/0.6401, allocations: 7.799 MB / 0.6379 GB, free: 13.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01321/0.6533, allocations: 8.691 MB / 0.6464 GB, free: 4.602 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/0.6534, allocations: 4 kB / 0.6464 GB, free: 4.598 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002758/0.6561, allocations: 2.02 MB / 0.6483 GB, free: 2.574 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/0.6588, allocations: 365.6 kB / 0.6487 GB, free: 2.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06384/0.7226, allocations: 43.08 MB / 0.6908 GB, free: 1.461 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004921/0.7276, allocations: 3.232 MB / 0.6939 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004964/0.7326, allocations: 1.966 MB / 0.6958 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002985/0.7356, allocations: 1.757 MB / 0.6975 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of SimCode: time 8.72e-07/0.7356, allocations: 0 / 0.6975 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2952/1.031, allocations: 57.83 MB / 0.754 GB, free: 175.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.66, allocations: 3.938 kB / 0.754 GB, free: 175.1 MB / 0.5137 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