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.001251/0.001252, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.008622/0.008622, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.734/1.734, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3947/0.3947, allocations: 40 MB / 310.7 MB, free: 9.918 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.0005687/0.0005687, allocations: 16 kB / 379.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1445, allocations: 57.96 MB / 437.4 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.2692/0.4138, allocations: 33.74 MB / 471.1 MB, free: 32.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01754/0.4314, allocations: 7.843 MB / 479 MB, free: 29.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007076/0.4385, allocations: 145.8 kB / 479.1 MB, free: 29.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.44, allocations: 366 kB / 479.5 MB, free: 29.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004242/0.4443, allocations: 1.555 MB / 481 MB, free: 28.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.4457, allocations: 0.5665 MB / 481.6 MB, free: 28.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004761/0.4505, allocations: 4.751 MB / 486.4 MB, free: 26.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004194/0.4547, allocations: 3.279 MB / 489.6 MB, free: 25.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001761/0.4565, allocations: 0.9604 MB / 490.6 MB, free: 25.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002242/0.4588, allocations: 1.617 MB / 492.2 MB, free: 24.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005015/0.4593, allocations: 114 kB / 492.3 MB, free: 24.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001758/0.461, allocations: 0.9435 MB / 493.3 MB, free: 24.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001245/0.4623, allocations: 1.425 MB / 494.7 MB, free: 24.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001927/0.4642, allocations: 1.684 MB / 496.4 MB, free: 22.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00793/0.4722, allocations: 5.432 MB / 0.4901 GB, free: 21.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4722, allocations: 0 / 0.4901 GB, free: 21.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4722, allocations: 0 / 0.4901 GB, free: 21.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002218/0.4724, allocations: 4 kB / 0.4901 GB, free: 21.35 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.008225/0.4807, allocations: 3.304 MB / 0.4933 GB, free: 19.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.4807, allocations: 9.656 kB / 0.4933 GB, free: 19.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007273/0.488, allocations: 1.823 MB / 0.4951 GB, free: 19.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004735/0.4928, allocations: 1.963 MB / 0.497 GB, free: 18.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000172/0.493, allocations: 193.1 kB / 0.4972 GB, free: 17.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/0.4941, allocations: 263.2 kB / 0.4974 GB, free: 17.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01947/0.5135, allocations: 8.445 MB / 0.5057 GB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001812/0.5138, allocations: 39.56 kB / 0.5057 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005397/0.5143, allocations: 123.3 kB / 0.5058 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003154/0.5175, allocations: 1.7 MB / 0.5075 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01676/0.5343, allocations: 7.109 MB / 0.5144 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04749/0.5818, allocations: 34.17 MB / 0.5478 GB, free: 4.977 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008018/0.5899, allocations: 3.276 MB / 0.551 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002227/0.5922, allocations: 1.462 MB / 0.5524 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008674/0.6009, allocations: 4.365 MB / 0.5567 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.565e-05/0.601, allocations: 55 kB / 0.5567 GB, free: 11.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 6.021e-06/0.601, allocations: 4 kB / 0.5567 GB, free: 11.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.03455/0.6356, allocations: 11.51 MB / 0.568 GB, free: 15.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002064/0.6358, allocations: 170.9 kB / 0.5681 GB, free: 15.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009431/0.6453, allocations: 3.73 MB / 0.5718 GB, free: 11.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003519/0.6457, allocations: 41.7 kB / 0.5718 GB, free: 11.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002298/0.648, allocations: 2.76 MB / 0.5745 GB, free: 9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006937/0.6487, allocations: 0.5171 MB / 0.575 GB, free: 8.477 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007575/0.6495, allocations: 461.7 kB / 0.5755 GB, free: 8.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.6496, allocations: 305.1 kB / 0.5758 GB, free: 7.719 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002852/0.6524, allocations: 1.705 MB / 0.5774 GB, free: 6.008 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004855/0.6573, allocations: 5.131 MB / 0.5824 GB, free: 15.15 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008976/0.6663, allocations: 7.418 MB / 0.5897 GB, free: 6.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001151/0.6664, allocations: 36 kB / 0.5897 GB, free: 5.984 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01308/0.6795, allocations: 6.717 MB / 0.5963 GB, free: 15.26 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001712/0.6797, allocations: 63.98 kB / 0.5963 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002577/0.68, allocations: 123.9 kB / 0.5965 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007402/0.6808, allocations: 320.7 kB / 0.5968 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004259/0.685, allocations: 1.244 MB / 0.598 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002962/0.688, allocations: 2.288 MB / 0.6002 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005166/0.6932, allocations: 287.5 kB / 0.6005 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00147/0.6947, allocations: 335.9 kB / 0.6008 GB, free: 10.48 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.006994/0.7017, allocations: 1.795 MB / 0.6026 GB, free: 8.668 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001295/0.703, allocations: 312 kB / 0.6029 GB, free: 8.359 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006725/0.7098, allocations: 2.363 MB / 0.6052 GB, free: 5.98 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.482e-05/0.7099, allocations: 16 kB / 0.6052 GB, free: 5.965 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.438e-05/0.7099, allocations: 7.938 kB / 0.6052 GB, free: 5.957 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.281e-05/0.7099, allocations: 7.969 kB / 0.6052 GB, free: 5.949 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01742/0.7274, allocations: 5.934 MB / 0.611 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-05/0.7274, allocations: 8.125 kB / 0.611 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009235/0.7283, allocations: 171.7 kB / 0.6112 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002265/0.7306, allocations: 0.7108 MB / 0.6119 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001561/0.7308, allocations: 24 kB / 0.6119 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006077/0.7369, allocations: 4.473 MB / 0.6162 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.7369, allocations: 4 kB / 0.6162 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007874/0.7448, allocations: 4.329 MB / 0.6205 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001902/0.7467, allocations: 0.532 MB / 0.621 GB, free: 5.508 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009985/0.7477, allocations: 16 kB / 0.621 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001754/0.7495, allocations: 71.91 kB / 0.6211 GB, free: 5.422 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/0.7498, allocations: 72.56 kB / 0.6211 GB, free: 5.352 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.7499, allocations: 36 kB / 0.6212 GB, free: 5.316 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005981/0.7559, allocations: 2.331 MB / 0.6235 GB, free: 3 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.62e-07/0.7559, allocations: 0 / 0.6235 GB, free: 3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007975/0.7639, allocations: 0.828 MB / 0.6243 GB, free: 2.172 MB / 494.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.0007561/0.7647, allocations: 147 kB / 0.6244 GB, free: 2.016 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.3304/1.095, allocations: 4.025 MB / 0.6283 GB, free: 123 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/1.095, allocations: 0 / 0.6283 GB, free: 123 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001512/1.097, allocations: 1.111 MB / 0.6294 GB, free: 122.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003617/1.1, allocations: 370.8 kB / 0.6298 GB, free: 122.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/1.115, allocations: 9.036 MB / 0.6386 GB, free: 119.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002737/1.118, allocations: 2.795 MB / 0.6413 GB, free: 118.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004024/1.122, allocations: 1.66 MB / 0.6429 GB, free: 118.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006325/1.122, allocations: 213.1 kB / 0.6432 GB, free: 118.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.423e-06/1.122, allocations: 0 / 0.6432 GB, free: 118.2 MB / 494.1 MB Notification: Performance of Templates: time 0.0629/1.185, allocations: 29.52 MB / 0.672 GB, free: 109.6 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: