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.001579/0.001579, allocations: 100.6 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.0019/0.0019, allocations: 191.4 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.421/1.421, 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.2047/0.2047, allocations: 43.51 MB / 314.6 MB, free: 0.5312 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.001512/0.001512, allocations: 61.14 kB / 383.4 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08677/0.08829, allocations: 57.8 MB / 441.2 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.009182/0.09751, allocations: 10.28 MB / 451.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007273/0.1048, allocations: 3.776 MB / 455.2 MB, free: 8.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.1065, allocations: 59.81 kB / 455.3 MB, free: 8.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003775/0.1104, allocations: 1.958 MB / 457.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004163/0.1146, allocations: 1.646 MB / 458.9 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.1161, allocations: 0.616 MB / 459.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004352/0.1205, allocations: 3.349 MB / 462.9 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003026/0.1235, allocations: 2.58 MB / 465.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001974/0.1255, allocations: 1.25 MB / 466.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00242/0.128, allocations: 1.67 MB / 468.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006601/0.1287, allocations: 252 kB / 468.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.1307, allocations: 1.026 MB / 469.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001519/0.1322, allocations: 1.57 MB / 471.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00223/0.1345, allocations: 1.833 MB / 473 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00598/0.1405, allocations: 5.619 MB / 478.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.1405, allocations: 0 / 478.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1405, allocations: 0 / 478.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000182/0.1407, allocations: 0 / 478.7 MB, free: 1.223 MB / 350.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.00805/0.1488, allocations: 4.026 MB / 482.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.1488, allocations: 11.89 kB / 482.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00653/0.1554, allocations: 1.782 MB / 484.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004007/0.1594, allocations: 1.959 MB / 486.4 MB, free: 9.305 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.1596, allocations: 189.2 kB / 486.6 MB, free: 9.117 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007921/0.1604, allocations: 251.8 kB / 486.9 MB, free: 8.871 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0143/0.1747, allocations: 8.436 MB / 495.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.1749, allocations: 43.66 kB / 495.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004464/0.1753, allocations: 131.8 kB / 495.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002785/0.1781, allocations: 1.699 MB / 497.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01352/0.1917, allocations: 7.102 MB / 0.4925 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03893/0.2307, allocations: 34.15 MB / 0.5258 GB, free: 3.645 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007619/0.2383, allocations: 3.29 MB / 0.529 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1937/0.4321, allocations: 1.451 MB / 0.5304 GB, free: 87.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006485/0.4386, allocations: 4.364 MB / 0.5347 GB, free: 86.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.4387, allocations: 46.84 kB / 0.5348 GB, free: 85.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 4.739e-06/0.4388, allocations: 2.625 kB / 0.5348 GB, free: 85.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.02898/0.4677, allocations: 11.54 MB / 0.546 GB, free: 82.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.4679, allocations: 172 kB / 0.5462 GB, free: 81.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004864/0.4727, allocations: 3.734 MB / 0.5498 GB, free: 80.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002929/0.4731, allocations: 47.53 kB / 0.5499 GB, free: 80.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001299/0.4744, allocations: 2.749 MB / 0.5526 GB, free: 78.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004936/0.4749, allocations: 0.5191 MB / 0.5531 GB, free: 77.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/0.4759, allocations: 1.079 MB / 0.5541 GB, free: 77.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.228e-05/0.476, allocations: 305 kB / 0.5544 GB, free: 77.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001907/0.4779, allocations: 1.71 MB / 0.5561 GB, free: 76.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002941/0.4809, allocations: 5.132 MB / 0.5611 GB, free: 71.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005623/0.4865, allocations: 7.414 MB / 0.5683 GB, free: 62.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.689e-05/0.4866, allocations: 32 kB / 0.5684 GB, free: 61.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.0101/0.4967, allocations: 6.731 MB / 0.5749 GB, free: 55.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.961e-05/0.4969, allocations: 56 kB / 0.575 GB, free: 55.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001282/0.497, allocations: 126.7 kB / 0.5751 GB, free: 55.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005751/0.4976, allocations: 321.5 kB / 0.5754 GB, free: 54.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003487/0.5011, allocations: 1.244 MB / 0.5766 GB, free: 53.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.5031, allocations: 2.502 MB / 0.5791 GB, free: 50.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003959/0.5071, allocations: 291.5 kB / 0.5794 GB, free: 50.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007291/0.5079, allocations: 328 kB / 0.5797 GB, free: 50.26 MB / 414.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.00246/0.5104, allocations: 1.795 MB / 0.5814 GB, free: 48.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006637/0.511, allocations: 311.9 kB / 0.5817 GB, free: 48.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00393/0.515, allocations: 2.371 MB / 0.584 GB, free: 45.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.072e-05/0.515, allocations: 12.88 kB / 0.584 GB, free: 45.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.515, allocations: 4 kB / 0.5841 GB, free: 45.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.5151, allocations: 3.984 kB / 0.5841 GB, free: 45.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/0.5251, allocations: 5.928 MB / 0.5898 GB, free: 39.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/0.5252, allocations: 7.938 kB / 0.5899 GB, free: 39.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008034/0.526, allocations: 167.8 kB / 0.59 GB, free: 39.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00197/0.5279, allocations: 0.7172 MB / 0.5907 GB, free: 38.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001481/0.5281, allocations: 27.98 kB / 0.5907 GB, free: 38.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004684/0.5328, allocations: 4.815 MB / 0.5954 GB, free: 33.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5328, allocations: 7.969 kB / 0.5954 GB, free: 33.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005688/0.5385, allocations: 4.32 MB / 0.5997 GB, free: 29.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/0.5399, allocations: 0.5281 MB / 0.6002 GB, free: 29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005785/0.5405, allocations: 23.44 kB / 0.6002 GB, free: 28.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.5418, allocations: 71.91 kB / 0.6003 GB, free: 28.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/0.542, allocations: 72.56 kB / 0.6003 GB, free: 28.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.932e-05/0.5421, allocations: 40.06 kB / 0.6004 GB, free: 28.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003083/0.5452, allocations: 2.331 MB / 0.6027 GB, free: 26.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5452, allocations: 0 / 0.6027 GB, free: 26.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004926/0.5501, allocations: 0.8251 MB / 0.6035 GB, free: 25.66 MB / 414.1 MB 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.0003944/0.5505, allocations: 145.5 kB / 0.6036 GB, free: 25.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005958/0.5565, allocations: 4.423 MB / 0.6079 GB, free: 21.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.5566, allocations: 4 kB / 0.6079 GB, free: 21.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.5578, allocations: 1.107 MB / 0.609 GB, free: 20 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/0.5602, allocations: 392.8 kB / 0.6094 GB, free: 19.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.5703, allocations: 7.749 MB / 0.6169 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002065/0.5724, allocations: 2.786 MB / 0.6197 GB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008159/0.5733, allocations: 251.4 kB / 0.6199 GB, free: 8.809 MB / 414.1 MB Notification: Performance of SimCode: time 8.51e-07/0.5733, allocations: 0 / 0.6199 GB, free: 8.809 MB / 414.1 MB Notification: Performance of Templates: time 0.08448/0.6577, allocations: 64.02 MB / 0.6824 GB, free: 8.777 MB / 478.1 MB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/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