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.001007/0.001007, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00105/0.00105, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.2914/0.2914, allocations: 39.99 MB / 310.4 MB, free: 10.01 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.0005105/0.0005107, allocations: 12 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1094, allocations: 57.96 MB / 436.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.2043/0.3137, allocations: 29.71 MB / 466.5 MB, free: 33.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01546/0.3293, allocations: 7.713 MB / 474.2 MB, free: 31.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004552/0.3339, allocations: 144.8 kB / 474.3 MB, free: 31.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003453/0.3373, allocations: 1.431 MB / 475.8 MB, free: 30.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01171/0.3491, allocations: 4.352 MB / 480.1 MB, free: 29.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.351, allocations: 0.4992 MB / 480.6 MB, free: 29.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002909/0.3539, allocations: 1.9 MB / 482.5 MB, free: 28.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002948/0.3569, allocations: 2.937 MB / 485.4 MB, free: 27.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000975/0.3579, allocations: 0.8722 MB / 486.3 MB, free: 27.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.3589, allocations: 1.131 MB / 487.4 MB, free: 27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000239/0.3592, allocations: 111.6 kB / 487.6 MB, free: 27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.3603, allocations: 0.7728 MB / 488.3 MB, free: 26.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008832/0.3612, allocations: 1.297 MB / 489.6 MB, free: 26.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004643/0.3617, allocations: 0.7018 MB / 490.3 MB, free: 25.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003878/0.3656, allocations: 4.449 MB / 494.8 MB, free: 25.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.3656, allocations: 0 / 494.8 MB, free: 25.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3656, allocations: 3.094 kB / 494.8 MB, free: 25.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000141/0.3657, allocations: 0 / 494.8 MB, free: 25.02 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.006507/0.3723, allocations: 3.415 MB / 498.2 MB, free: 23.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.3723, allocations: 9.031 kB / 498.2 MB, free: 23.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008509/0.3808, allocations: 2.112 MB / 0.4886 GB, free: 22.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006015/0.3869, allocations: 2.153 MB / 0.4907 GB, free: 21.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/0.3871, allocations: 188.9 kB / 0.4909 GB, free: 21.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009231/0.388, allocations: 258 kB / 0.4911 GB, free: 21.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01503/0.4031, allocations: 8.495 MB / 0.4994 GB, free: 16.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/0.4032, allocations: 39.66 kB / 0.4995 GB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000439/0.4037, allocations: 123.1 kB / 0.4996 GB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002768/0.4065, allocations: 1.707 MB / 0.5012 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01404/0.4205, allocations: 7.15 MB / 0.5082 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03828/0.4588, allocations: 34.25 MB / 0.5417 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007145/0.466, allocations: 3.283 MB / 0.5449 GB, free: 7.176 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007218/0.4733, allocations: 4.416 MB / 0.5492 GB, free: 2.555 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.4733, allocations: 43.12 kB / 0.5492 GB, free: 2.504 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 3.958e-06/0.4733, allocations: 0 / 0.5492 GB, free: 2.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.02817/0.5015, allocations: 11.82 MB / 0.5608 GB, free: 6.473 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.838e-05/0.5016, allocations: 166.9 kB / 0.5609 GB, free: 6.273 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005031/0.5067, allocations: 3.855 MB / 0.5647 GB, free: 2.426 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002271/0.5069, allocations: 41.7 kB / 0.5647 GB, free: 2.379 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001966/0.5089, allocations: 2.752 MB / 0.5674 GB, free: 15.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006233/0.5095, allocations: 0.5171 MB / 0.5679 GB, free: 15.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.5097, allocations: 104 kB / 0.568 GB, free: 14.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003217/0.5101, allocations: 0.5331 MB / 0.5685 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002418/0.5125, allocations: 1.67 MB / 0.5702 GB, free: 12.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004523/0.517, allocations: 5.08 MB / 0.5751 GB, free: 5.934 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003829/0.5209, allocations: 2.871 MB / 0.5779 GB, free: 3.062 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.942e-05/0.521, allocations: 32 kB / 0.578 GB, free: 3.031 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.009797/0.5308, allocations: 6.66 MB / 0.5845 GB, free: 12.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.754e-05/0.5308, allocations: 60.25 kB / 0.5845 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001098/0.531, allocations: 124 kB / 0.5847 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005832/0.5316, allocations: 332.7 kB / 0.585 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00344/0.535, allocations: 1.24 MB / 0.5862 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/0.5375, allocations: 2.326 MB / 0.5885 GB, free: 8.152 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003516/0.541, allocations: 291.5 kB / 0.5887 GB, free: 7.867 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004439/0.5414, allocations: 336 kB / 0.5891 GB, free: 7.539 MB / 462.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 (664): * Single equations (assignments): 660 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002687/0.5441, allocations: 1.803 MB / 0.5908 GB, free: 5.727 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005082/0.5447, allocations: 311.9 kB / 0.5911 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004326/0.549, allocations: 2.351 MB / 0.5934 GB, free: 3.059 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.721e-05/0.549, allocations: 16 kB / 0.5934 GB, free: 3.043 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.5491, allocations: 11.94 kB / 0.5934 GB, free: 3.031 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.5491, allocations: 7.969 kB / 0.5934 GB, free: 3.023 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.5599, allocations: 5.927 MB / 0.5992 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.5599, allocations: 4 kB / 0.5992 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008183/0.5607, allocations: 175.8 kB / 0.5994 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002108/0.5628, allocations: 0.7107 MB / 0.6001 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.563, allocations: 27.98 kB / 0.6001 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005542/0.5685, allocations: 4.578 MB / 0.6046 GB, free: 7.395 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5685, allocations: 4 kB / 0.6046 GB, free: 7.391 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00645/0.575, allocations: 4.436 MB / 0.6089 GB, free: 2.895 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001491/0.5765, allocations: 0.5399 MB / 0.6095 GB, free: 2.332 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003815/0.5769, allocations: 23.98 kB / 0.6095 GB, free: 2.309 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.5781, allocations: 79.95 kB / 0.6096 GB, free: 2.23 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.5783, allocations: 64.56 kB / 0.6096 GB, free: 2.168 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.822e-05/0.5784, allocations: 39.98 kB / 0.6097 GB, free: 2.129 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003688/0.5821, allocations: 2.413 MB / 0.612 GB, free: 15.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5821, allocations: 0 / 0.612 GB, free: 15.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004062/0.5861, allocations: 0.8398 MB / 0.6128 GB, free: 14.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003883/0.5865, allocations: 174.8 kB / 0.613 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005443/0.592, allocations: 3.991 MB / 0.6169 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.592, allocations: 0 / 0.6169 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.5934, allocations: 1.108 MB / 0.618 GB, free: 9.617 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.5949, allocations: 364 kB / 0.6183 GB, free: 9.262 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.6063, allocations: 8.603 MB / 0.6267 GB, free: 0.625 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1876/0.794, allocations: 2.861 MB / 0.6295 GB, free: 122 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00393/0.7979, allocations: 1.654 MB / 0.6311 GB, free: 121.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006355/0.7986, allocations: 212.9 kB / 0.6313 GB, free: 121.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.192e-06/0.7986, allocations: 0 / 0.6313 GB, free: 121.9 MB / 494.1 MB Notification: Performance of Templates: time 0.05787/0.8565, allocations: 29.56 MB / 0.6602 GB, free: 114.5 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: