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: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 103.8 kB / 16.94 MB, free: 6.184 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.001129/0.001129, allocations: 191.6 kB / 17.86 MB, free: 5.289 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.342/1.342, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.2086/0.2086, allocations: 43.51 MB / 314.6 MB, free: 0.5352 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.001494/0.001494, allocations: 71.45 kB / 383.4 MB, free: 56.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09635/0.09786, allocations: 57.79 MB / 441.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01106/0.109, allocations: 12.67 MB / 453.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00833/0.1173, allocations: 3.957 MB / 457.8 MB, free: 6.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002293/0.1197, allocations: 63.88 kB / 457.9 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002991/0.1227, allocations: 1.327 MB / 459.2 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004473/0.1273, allocations: 1.778 MB / 461 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.1287, allocations: 499 kB / 461.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004889/0.1336, allocations: 3.66 MB / 465.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00324/0.1369, allocations: 2.056 MB / 467.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002031/0.139, allocations: 1.23 MB / 468.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002603/0.1416, allocations: 1.744 MB / 470.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009272/0.1426, allocations: 243.9 kB / 470.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002362/0.1449, allocations: 0.9439 MB / 471.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0021/0.1471, allocations: 1.624 MB / 473 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003062/0.1501, allocations: 1.941 MB / 474.9 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007618/0.1578, allocations: 6.062 MB / 481 MB, free: 14.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1578, allocations: 0 / 481 MB, free: 14.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1579, allocations: 0 / 481 MB, free: 14.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002437/0.1581, allocations: 4 kB / 481 MB, free: 14.93 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.009993/0.1681, allocations: 4.242 MB / 485.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.1682, allocations: 11.89 kB / 485.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/0.1798, allocations: 3.076 MB / 488.3 MB, free: 7.523 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004443/0.1843, allocations: 1.947 MB / 490.3 MB, free: 5.531 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/0.1846, allocations: 193.2 kB / 490.4 MB, free: 5.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001139/0.1858, allocations: 271.8 kB / 490.7 MB, free: 5.074 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01898/0.2048, allocations: 10.7 MB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001126/0.2049, allocations: 19.81 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008304/0.2058, allocations: 123.8 kB / 0.4898 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004744/0.2105, allocations: 2.643 MB / 0.4924 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01916/0.2297, allocations: 10.03 MB / 0.5022 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.243/0.4728, allocations: 35.28 MB / 0.5366 GB, free: 67.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009686/0.4825, allocations: 5.183 MB / 0.5417 GB, free: 65.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003251/0.4858, allocations: 2.299 MB / 0.5439 GB, free: 65.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001441/0.4873, allocations: 1.88 MB / 0.5458 GB, free: 64.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.4874, allocations: 48.94 kB / 0.5458 GB, free: 64.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=229): time 6.662e-06/0.4874, allocations: 1.156 kB / 0.5458 GB, free: 64.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=235): time 0.03158/0.519, allocations: 14.03 MB / 0.5595 GB, free: 60.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.519, allocations: 76.34 kB / 0.5596 GB, free: 60.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002972/0.522, allocations: 2.679 MB / 0.5622 GB, free: 59.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003154/0.5224, allocations: 49.48 kB / 0.5622 GB, free: 59.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001158/0.5235, allocations: 2.707 MB / 0.5649 GB, free: 57.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007365/0.5243, allocations: 0.849 MB / 0.5657 GB, free: 57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001219/0.5255, allocations: 1.058 MB / 0.5668 GB, free: 56.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.757e-05/0.5256, allocations: 305.1 kB / 0.567 GB, free: 56.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00268/0.5283, allocations: 2.215 MB / 0.5692 GB, free: 54.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003812/0.5321, allocations: 5.138 MB / 0.5742 GB, free: 48.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006683/0.5388, allocations: 8.061 MB / 0.5821 GB, free: 38.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-05/0.5389, allocations: 32 kB / 0.5821 GB, free: 38.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01199/0.5509, allocations: 7.951 MB / 0.5899 GB, free: 30.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.966e-05/0.551, allocations: 48 kB / 0.5899 GB, free: 30.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.872e-05/0.5511, allocations: 104 kB / 0.59 GB, free: 30.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002053/0.5532, allocations: 0.8 MB / 0.5908 GB, free: 29.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003703/0.5569, allocations: 1.201 MB / 0.592 GB, free: 28.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004741/0.5617, allocations: 4.524 MB / 0.5964 GB, free: 23.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003453/0.5652, allocations: 299.7 kB / 0.5967 GB, free: 23.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006232/0.5658, allocations: 300 kB / 0.597 GB, free: 23.37 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 (644): * Single equations (assignments): 637 * 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.002849/0.5687, allocations: 2.059 MB / 0.599 GB, free: 21.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004022/0.5691, allocations: 264.5 kB / 0.5992 GB, free: 21.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006756/0.5758, allocations: 4.735 MB / 0.6039 GB, free: 16.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.362e-05/0.5759, allocations: 43.42 kB / 0.6039 GB, free: 16.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.5759, allocations: 4 kB / 0.6039 GB, free: 16.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.576, allocations: 7.969 kB / 0.6039 GB, free: 16.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01524/0.5912, allocations: 10.61 MB / 0.6143 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/0.5913, allocations: 11.98 kB / 0.6143 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/0.5928, allocations: 359.4 kB / 0.6146 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001831/0.5947, allocations: 0.6527 MB / 0.6153 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002908/0.595, allocations: 55.86 kB / 0.6153 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003873/0.5989, allocations: 3.907 MB / 0.6191 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.5989, allocations: 16 kB / 0.6192 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/0.6094, allocations: 7.131 MB / 0.6261 GB, free: 9.145 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/0.611, allocations: 0.6498 MB / 0.6268 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004563/0.6114, allocations: 40 kB / 0.6268 GB, free: 8.434 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.6127, allocations: 147.6 kB / 0.6269 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003372/0.6131, allocations: 129 kB / 0.6271 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/0.6133, allocations: 64 kB / 0.6271 GB, free: 8.102 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002492/0.6158, allocations: 1.652 MB / 0.6287 GB, free: 6.441 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.803e-06/0.6158, allocations: 0 / 0.6287 GB, free: 6.441 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004308/0.6201, allocations: 0.9506 MB / 0.6297 GB, free: 5.496 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.0005383/0.6207, allocations: 173.4 kB / 0.6298 GB, free: 5.324 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01359/0.6343, allocations: 8.711 MB / 0.6383 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.6343, allocations: 0 / 0.6383 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002855/0.6372, allocations: 2.027 MB / 0.6403 GB, free: 10.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/0.6393, allocations: 352.6 kB / 0.6407 GB, free: 10.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01687/0.6562, allocations: 10.04 MB / 0.6505 GB, free: 128 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004068/0.6603, allocations: 3.227 MB / 0.6536 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/0.6614, allocations: 255.4 kB / 0.6539 GB, free: 12.62 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6614, allocations: 0 / 0.6539 GB, free: 12.62 MB / 462.1 MB Notification: Performance of Templates: time 0.09851/0.76, allocations: 71.41 MB / 0.7236 GB, free: 5.164 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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