Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 104.8 kB / 16.4 MB, free: 6.457 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.001264/0.001264, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.497/1.497, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2134/0.2134, allocations: 43.52 MB / 314.1 MB, free: 452 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.001405/0.001405, allocations: 69.62 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1091, allocations: 57.78 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01075/0.1199, allocations: 10.29 MB / 0.4979 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007697/0.1276, allocations: 3.784 MB / 0.5016 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002074/0.1298, allocations: 59.81 kB / 0.5017 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004007/0.1339, allocations: 1.935 MB / 0.5036 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004072/0.138, allocations: 1.661 MB / 0.5052 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.1394, allocations: 0.616 MB / 0.5058 GB, free: 9.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004028/0.1434, allocations: 3.345 MB / 0.5091 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002675/0.1461, allocations: 2.58 MB / 0.5116 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.1476, allocations: 1.257 MB / 0.5128 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.1495, allocations: 1.674 MB / 0.5144 GB, free: 436 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004386/0.1499, allocations: 259.9 kB / 0.5147 GB, free: 176 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.1518, allocations: 1.034 MB / 0.5157 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001258/0.1531, allocations: 1.562 MB / 0.5172 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.1546, allocations: 1.825 MB / 0.519 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005854/0.1605, allocations: 5.851 MB / 0.5247 GB, free: 5.859 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.1605, allocations: 0 / 0.5247 GB, free: 5.859 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1605, allocations: 0 / 0.5247 GB, free: 5.859 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001155/0.1606, allocations: 0 / 0.5247 GB, free: 5.859 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.006941/0.1676, allocations: 4.14 MB / 0.5288 GB, free: 1.645 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1676, allocations: 15.89 kB / 0.5288 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2406/0.4082, allocations: 1.79 MB / 0.5305 GB, free: 37.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00395/0.4122, allocations: 2.005 MB / 0.5325 GB, free: 36.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.4124, allocations: 192.8 kB / 0.5327 GB, free: 36.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004808/0.4129, allocations: 255.8 kB / 0.5329 GB, free: 36.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01278/0.4256, allocations: 8.432 MB / 0.5412 GB, free: 33.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001166/0.4258, allocations: 41.14 kB / 0.5412 GB, free: 33.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003761/0.4262, allocations: 126.6 kB / 0.5413 GB, free: 33.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003035/0.4292, allocations: 1.701 MB / 0.543 GB, free: 33.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01304/0.4423, allocations: 7.096 MB / 0.5499 GB, free: 30.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02775/0.4701, allocations: 34.09 MB / 0.5832 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006888/0.477, allocations: 3.281 MB / 0.5864 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001841/0.4789, allocations: 1.472 MB / 0.5878 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005936/0.4848, allocations: 4.375 MB / 0.5921 GB, free: 7.566 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.4849, allocations: 43.12 kB / 0.5921 GB, free: 7.516 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.436e-06/0.4849, allocations: 0 / 0.5921 GB, free: 7.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.03003/0.5149, allocations: 11.74 MB / 0.6036 GB, free: 11.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.809e-05/0.5151, allocations: 166.9 kB / 0.6038 GB, free: 11.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005561/0.5206, allocations: 3.742 MB / 0.6074 GB, free: 7.715 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001817/0.5208, allocations: 49.64 kB / 0.6075 GB, free: 7.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00192/0.5228, allocations: 2.862 MB / 0.6103 GB, free: 4.773 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005677/0.5233, allocations: 0.5429 MB / 0.6108 GB, free: 4.227 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001515/0.5249, allocations: 1.084 MB / 0.6119 GB, free: 3.133 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.525, allocations: 301.1 kB / 0.6121 GB, free: 2.836 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002405/0.5274, allocations: 1.709 MB / 0.6138 GB, free: 1.121 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004705/0.5321, allocations: 5.124 MB / 0.6188 GB, free: 10.27 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008406/0.5405, allocations: 7.415 MB / 0.6261 GB, free: 1.148 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.214e-05/0.5406, allocations: 36 kB / 0.6261 GB, free: 1.113 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01131/0.552, allocations: 6.745 MB / 0.6327 GB, free: 10.36 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.5521, allocations: 56 kB / 0.6327 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001595/0.5523, allocations: 124.1 kB / 0.6328 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000656/0.5529, allocations: 324.7 kB / 0.6332 GB, free: 9.863 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003759/0.5567, allocations: 1.24 MB / 0.6344 GB, free: 8.621 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002583/0.5593, allocations: 2.509 MB / 0.6368 GB, free: 5.969 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003576/0.5629, allocations: 287.6 kB / 0.6371 GB, free: 5.688 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006998/0.5636, allocations: 335.9 kB / 0.6374 GB, free: 5.359 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (668): * Single equations (assignments): 664 * Array equations: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002945/0.5666, allocations: 1.795 MB / 0.6392 GB, free: 3.551 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007137/0.5673, allocations: 329.8 kB / 0.6395 GB, free: 3.227 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005014/0.5723, allocations: 2.355 MB / 0.6418 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.552e-05/0.5724, allocations: 16 kB / 0.6418 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.5724, allocations: 11.98 kB / 0.6418 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/0.5724, allocations: 11.95 kB / 0.6418 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/0.5841, allocations: 5.918 MB / 0.6476 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.5841, allocations: 0 / 0.6476 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008137/0.5849, allocations: 171.6 kB / 0.6478 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002146/0.5871, allocations: 0.7187 MB / 0.6485 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.5872, allocations: 28 kB / 0.6485 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00609/0.5933, allocations: 4.811 MB / 0.6532 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5933, allocations: 0 / 0.6532 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007104/0.6005, allocations: 4.347 MB / 0.6574 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/0.6017, allocations: 0.5378 MB / 0.658 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007676/0.6025, allocations: 24.16 kB / 0.658 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/0.6042, allocations: 75.92 kB / 0.6581 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/0.6044, allocations: 68.5 kB / 0.6581 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.657e-05/0.6045, allocations: 39.91 kB / 0.6582 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00426/0.6088, allocations: 2.331 MB / 0.6604 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6088, allocations: 0 / 0.6604 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004081/0.6129, allocations: 0.8202 MB / 0.6612 GB, free: 12.68 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * Array equations: 3 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003377/0.6132, allocations: 151 kB / 0.6614 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006317/0.6195, allocations: 4.053 MB / 0.6653 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6196, allocations: 0 / 0.6653 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.621, allocations: 1.108 MB / 0.6664 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/0.6237, allocations: 392.6 kB / 0.6668 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/0.6365, allocations: 7.398 MB / 0.674 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003483/0.6401, allocations: 2.797 MB / 0.6767 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004493/0.6446, allocations: 1.652 MB / 0.6784 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000908/0.6455, allocations: 215.4 kB / 0.6786 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of SimCode: time 8.81e-07/0.6455, allocations: 0 / 0.6786 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of Templates: time 0.05866/0.7042, allocations: 28 MB / 0.7059 GB, free: 14.88 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches