Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001728/0.001728, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002873/0.002873, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.63/1.63, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3465/0.3465, allocations: 39.95 MB / 309.7 MB, free: 9.266 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 66.41 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1316, allocations: 56.89 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.0117/0.1434, allocations: 10.28 MB / 444.8 MB, free: 9.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008243/0.1517, allocations: 3.795 MB / 448.6 MB, free: 5.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002039/0.1538, allocations: 59.81 kB / 448.6 MB, free: 5.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003997/0.1578, allocations: 1.939 MB / 450.6 MB, free: 3.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005218/0.1631, allocations: 1.65 MB / 452.2 MB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.1647, allocations: 0.6277 MB / 452.8 MB, free: 1.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2253/0.3901, allocations: 3.325 MB / 456.2 MB, free: 36.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003379/0.3935, allocations: 2.585 MB / 458.8 MB, free: 36.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002172/0.3957, allocations: 1.246 MB / 460 MB, free: 36.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002726/0.3985, allocations: 1.671 MB / 461.7 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.3995, allocations: 253.4 kB / 461.9 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002166/0.4017, allocations: 1.031 MB / 463 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001411/0.4032, allocations: 1.561 MB / 464.5 MB, free: 35.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00166/0.4048, allocations: 1.831 MB / 466.3 MB, free: 35.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004992/0.4098, allocations: 5.632 MB / 472 MB, free: 33.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.4099, allocations: 0 / 472 MB, free: 33.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4099, allocations: 0 / 472 MB, free: 33.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.253e-05/0.41, allocations: 0 / 472 MB, free: 33.63 MB / 382.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.005952/0.4159, allocations: 4.013 MB / 476 MB, free: 31.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.416, allocations: 13.17 kB / 476 MB, free: 31.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0055/0.4215, allocations: 1.777 MB / 477.8 MB, free: 31.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002948/0.4244, allocations: 1.972 MB / 479.8 MB, free: 30.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.4246, allocations: 191.3 kB / 479.9 MB, free: 30.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004759/0.4251, allocations: 252.4 kB / 480.2 MB, free: 30.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01644/0.4415, allocations: 8.433 MB / 488.6 MB, free: 26.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001541/0.4417, allocations: 44.5 kB / 488.7 MB, free: 26.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004334/0.4422, allocations: 124.9 kB / 488.8 MB, free: 26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003531/0.4457, allocations: 1.695 MB / 490.5 MB, free: 25.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0142/0.4599, allocations: 7.098 MB / 497.6 MB, free: 23.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03917/0.4991, allocations: 34.17 MB / 0.5193 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007123/0.5063, allocations: 3.275 MB / 0.5225 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002099/0.5084, allocations: 1.465 MB / 0.5239 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007051/0.5155, allocations: 4.363 MB / 0.5282 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/0.5155, allocations: 44.06 kB / 0.5282 GB, free: 4.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=121): time 3.808e-06/0.5156, allocations: 0 / 0.5282 GB, free: 4.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.02836/0.5439, allocations: 11.54 MB / 0.5395 GB, free: 8.785 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.5441, allocations: 173.6 kB / 0.5397 GB, free: 8.582 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005018/0.5491, allocations: 3.73 MB / 0.5433 GB, free: 4.859 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002384/0.5493, allocations: 45.7 kB / 0.5433 GB, free: 4.809 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001965/0.5513, allocations: 2.748 MB / 0.546 GB, free: 2.062 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007907/0.5521, allocations: 0.5292 MB / 0.5465 GB, free: 1.543 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00158/0.5537, allocations: 1.075 MB / 0.5476 GB, free: 468 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.5539, allocations: 313.1 kB / 0.5479 GB, free: 152 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002822/0.5567, allocations: 1.701 MB / 0.5495 GB, free: 14.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004791/0.5615, allocations: 5.13 MB / 0.5546 GB, free: 7.645 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008006/0.5696, allocations: 7.421 MB / 0.5618 GB, free: 14.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.427e-05/0.5697, allocations: 39.94 kB / 0.5618 GB, free: 14.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01088/0.5805, allocations: 6.721 MB / 0.5684 GB, free: 7.832 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.26e-05/0.5806, allocations: 60 kB / 0.5685 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001233/0.5808, allocations: 120 kB / 0.5686 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006154/0.5814, allocations: 329.3 kB / 0.5689 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00384/0.5852, allocations: 1.244 MB / 0.5701 GB, free: 6.086 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002877/0.5881, allocations: 2.503 MB / 0.5726 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003877/0.592, allocations: 283.6 kB / 0.5728 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005531/0.5926, allocations: 336 kB / 0.5731 GB, free: 2.836 MB / 446.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.002715/0.5953, allocations: 1.794 MB / 0.5749 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005994/0.5959, allocations: 315.9 kB / 0.5752 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004527/0.6005, allocations: 2.358 MB / 0.5775 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/0.6005, allocations: 20 kB / 0.5775 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.6005, allocations: 0 / 0.5775 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/0.6006, allocations: 11.97 kB / 0.5775 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/0.6116, allocations: 5.926 MB / 0.5833 GB, free: 8.348 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.6116, allocations: 4.062 kB / 0.5833 GB, free: 8.344 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008199/0.6124, allocations: 175.8 kB / 0.5835 GB, free: 8.172 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002308/0.6147, allocations: 0.7146 MB / 0.5842 GB, free: 7.453 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.6149, allocations: 16 kB / 0.5842 GB, free: 7.438 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00597/0.6208, allocations: 4.825 MB / 0.5889 GB, free: 2.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.6209, allocations: 0 / 0.5889 GB, free: 2.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007017/0.6279, allocations: 4.328 MB / 0.5931 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/0.6295, allocations: 0.5281 MB / 0.5937 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003974/0.6299, allocations: 20 kB / 0.5937 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.631, allocations: 71.91 kB / 0.5937 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/0.6312, allocations: 72.56 kB / 0.5938 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.615e-05/0.6313, allocations: 36 kB / 0.5938 GB, free: 13.38 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003855/0.6352, allocations: 2.327 MB / 0.5961 GB, free: 11.06 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6352, allocations: 0 / 0.5961 GB, free: 11.06 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004798/0.64, allocations: 0.8228 MB / 0.5969 GB, free: 10.24 MB / 478.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.0003927/0.6404, allocations: 153.7 kB / 0.5971 GB, free: 10.08 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007431/0.6479, allocations: 4.424 MB / 0.6014 GB, free: 5.684 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/0.6479, allocations: 0 / 0.6014 GB, free: 5.684 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001591/0.6495, allocations: 1.107 MB / 0.6025 GB, free: 4.559 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002557/0.6521, allocations: 386.5 kB / 0.6028 GB, free: 4.191 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/0.6681, allocations: 7.377 MB / 0.61 GB, free: 12.78 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003543/0.6717, allocations: 2.789 MB / 0.6128 GB, free: 9.965 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004228/0.676, allocations: 1.656 MB / 0.6144 GB, free: 8.305 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006738/0.6767, allocations: 211.4 kB / 0.6146 GB, free: 8.098 MB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6767, allocations: 0 / 0.6146 GB, free: 8.098 MB / 494.1 MB Notification: Performance of Templates: time 0.3047/0.9814, allocations: 31.09 MB / 0.6449 GB, free: 143.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1)