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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.275/1.275, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009828/0.0009826, allocations: 93.55 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3243/0.3243, allocations: 43.49 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009804/0.0009806, allocations: 55.91 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1046, allocations: 57.76 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.2359/0.3406, allocations: 30.06 MB / 0.505 GB, free: 36.75 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01675/0.3574, allocations: 6.865 MB / 0.5117 GB, free: 36.6 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006686/0.3641, allocations: 123.9 kB / 0.5118 GB, free: 36.59 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003187/0.3673, allocations: 1.285 MB / 0.513 GB, free: 36.25 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004786/0.3722, allocations: 1.661 MB / 0.5147 GB, free: 35.73 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.3737, allocations: 456.9 kB / 0.5151 GB, free: 35.61 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006811/0.3806, allocations: 5.158 MB / 0.5201 GB, free: 34.31 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003332/0.3839, allocations: 2.002 MB / 0.5221 GB, free: 33.64 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002186/0.3861, allocations: 1.071 MB / 0.5231 GB, free: 33.29 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002582/0.3887, allocations: 1.836 MB / 0.5249 GB, free: 32.8 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008767/0.3896, allocations: 171.5 kB / 0.5251 GB, free: 32.8 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002269/0.3919, allocations: 0.9402 MB / 0.526 GB, free: 32.61 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001827/0.3938, allocations: 1.584 MB / 0.5275 GB, free: 32.1 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002375/0.3962, allocations: 1.888 MB / 0.5294 GB, free: 30.77 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006042/0.4022, allocations: 5.998 MB / 0.5352 GB, free: 28.81 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4022, allocations: 0 / 0.5352 GB, free: 28.81 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4022, allocations: 0 / 0.5352 GB, free: 28.81 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002027/0.4025, allocations: 0 / 0.5352 GB, free: 28.81 MB / 394.7 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.008894/0.4114, allocations: 4.241 MB / 0.5394 GB, free: 26.44 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.4114, allocations: 9.438 kB / 0.5394 GB, free: 26.44 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/0.4221, allocations: 3.076 MB / 0.5424 GB, free: 26.06 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0046/0.4267, allocations: 1.957 MB / 0.5443 GB, free: 25.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.4269, allocations: 199.5 kB / 0.5445 GB, free: 24.97 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00058/0.4275, allocations: 256.8 kB / 0.5447 GB, free: 24.92 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01885/0.4463, allocations: 10.69 MB / 0.5552 GB, free: 19.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001551/0.4465, allocations: 30.7 kB / 0.5552 GB, free: 19.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001274/0.4478, allocations: 122 kB / 0.5553 GB, free: 19.78 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004976/0.4528, allocations: 2.64 MB / 0.5579 GB, free: 18.74 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01941/0.4722, allocations: 10.03 MB / 0.5677 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05742/0.5297, allocations: 35.29 MB / 0.6022 GB, free: 8.371 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009646/0.5394, allocations: 5.181 MB / 0.6072 GB, free: 2.965 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003178/0.5426, allocations: 2.305 MB / 0.6095 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001814/0.5444, allocations: 1.881 MB / 0.6113 GB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.5445, allocations: 56.5 kB / 0.6114 GB, free: 14.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=229): time 7.935e-06/0.5445, allocations: 0 / 0.6114 GB, free: 14.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=235): time 0.03262/0.5771, allocations: 14.03 MB / 0.6251 GB, free: 320 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.5773, allocations: 77.34 kB / 0.6252 GB, free: 232 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005275/0.5825, allocations: 2.676 MB / 0.6278 GB, free: 13.53 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003252/0.5829, allocations: 60.05 kB / 0.6278 GB, free: 13.47 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002245/0.5851, allocations: 2.702 MB / 0.6305 GB, free: 10.76 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00105/0.5862, allocations: 0.8543 MB / 0.6313 GB, free: 9.914 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002028/0.5882, allocations: 1.046 MB / 0.6323 GB, free: 8.859 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.79e-05/0.5884, allocations: 301.1 kB / 0.6326 GB, free: 8.562 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003428/0.5918, allocations: 2.216 MB / 0.6348 GB, free: 6.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005504/0.5973, allocations: 5.142 MB / 0.6398 GB, free: 15.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009747/0.6071, allocations: 8.062 MB / 0.6477 GB, free: 6.281 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.759e-05/0.6072, allocations: 32 kB / 0.6477 GB, free: 6.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01401/0.6212, allocations: 7.948 MB / 0.6555 GB, free: 14.28 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.6213, allocations: 52.03 kB / 0.6555 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001938/0.6216, allocations: 103.9 kB / 0.6556 GB, free: 14.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002397/0.624, allocations: 0.7928 MB / 0.6564 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004036/0.628, allocations: 1.209 MB / 0.6576 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005646/0.6337, allocations: 4.205 MB / 0.6617 GB, free: 7.781 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004164/0.6379, allocations: 298.3 kB / 0.6619 GB, free: 7.492 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001395/0.6393, allocations: 304 kB / 0.6622 GB, free: 7.195 MB / 490.7 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.00551/0.6448, allocations: 2.07 MB / 0.6643 GB, free: 5.113 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007317/0.6455, allocations: 264.5 kB / 0.6645 GB, free: 4.852 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008706/0.6543, allocations: 4.722 MB / 0.6691 GB, free: 108 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.04e-05/0.6543, allocations: 46.09 kB / 0.6692 GB, free: 64 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/0.6544, allocations: 4 kB / 0.6692 GB, free: 60 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.061e-05/0.6544, allocations: 7.969 kB / 0.6692 GB, free: 52 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01997/0.6744, allocations: 10.61 MB / 0.6795 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.962e-05/0.6744, allocations: 8.906 kB / 0.6795 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001569/0.676, allocations: 363.4 kB / 0.6799 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002203/0.6782, allocations: 0.6522 MB / 0.6805 GB, free: 4.312 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000334/0.6786, allocations: 42.34 kB / 0.6806 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005017/0.6836, allocations: 3.67 MB / 0.6842 GB, free: 472 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/0.6837, allocations: 11.94 kB / 0.6842 GB, free: 460 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2872/0.9708, allocations: 25.23 MB / 0.7088 GB, free: 167.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002386/0.9733, allocations: 0.642 MB / 0.7094 GB, free: 167.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000889/0.9742, allocations: 44.23 kB / 0.7095 GB, free: 167 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/0.9759, allocations: 140.6 kB / 0.7096 GB, free: 167 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000677/0.9766, allocations: 133.6 kB / 0.7097 GB, free: 167 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003746/0.977, allocations: 65.02 kB / 0.7098 GB, free: 167 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003498/0.9805, allocations: 1.646 MB / 0.7114 GB, free: 166.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.4e-07/0.9806, allocations: 4.875 kB / 0.7114 GB, free: 166.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005612/0.9862, allocations: 1.133 MB / 0.7125 GB, free: 166.3 MB / 0.5105 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.0006329/0.9868, allocations: 179.3 kB / 0.7127 GB, free: 166.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007321/0.9942, allocations: 5.383 MB / 0.7179 GB, free: 164.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.9942, allocations: 0 / 0.7179 GB, free: 164.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002383/0.9966, allocations: 2.017 MB / 0.7199 GB, free: 163.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/0.9992, allocations: 353.9 kB / 0.7202 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.021/1.02, allocations: 13.27 MB / 0.7332 GB, free: 156.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005966/1.026, allocations: 3.318 MB / 0.7364 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006123/1.032, allocations: 1.971 MB / 0.7384 GB, free: 155.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/1.034, allocations: 205.3 kB / 0.7386 GB, free: 155.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.423e-06/1.034, allocations: 0 / 0.7386 GB, free: 155.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.05864/1.092, allocations: 34.39 MB / 0.7722 GB, free: 134.9 MB / 0.5105 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches