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.0009368/0.000937, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001128/0.001129, allocations: 172.7 kB / 15.95 MB, free: 208 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.707/1.707, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.3754/0.3754, allocations: 40 MB / 310.4 MB, free: 10.12 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.0005835/0.0005836, allocations: 19.98 kB / 378.8 MB, free: 12.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1419, allocations: 57.96 MB / 436.8 MB, free: 2.875 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.282/0.424, allocations: 31.42 MB / 468.2 MB, free: 33.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01653/0.4406, allocations: 7.448 MB / 475.7 MB, free: 31.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006214/0.4468, allocations: 146.5 kB / 475.8 MB, free: 31.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004358/0.4512, allocations: 1.563 MB / 477.4 MB, free: 31.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01273/0.464, allocations: 4.852 MB / 482.2 MB, free: 29.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.466, allocations: 0.5089 MB / 482.7 MB, free: 29.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004285/0.4703, allocations: 3.791 MB / 486.5 MB, free: 27.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003996/0.4743, allocations: 2.953 MB / 489.5 MB, free: 26.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.4761, allocations: 1.052 MB / 490.5 MB, free: 26.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.4784, allocations: 1.6 MB / 492.1 MB, free: 25.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004437/0.4788, allocations: 113.5 kB / 492.2 MB, free: 25.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.4805, allocations: 0.7945 MB / 493 MB, free: 25.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001428/0.482, allocations: 1.396 MB / 494.4 MB, free: 25.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008211/0.4828, allocations: 0.7012 MB / 495.1 MB, free: 24.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005967/0.4888, allocations: 4.429 MB / 499.6 MB, free: 24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.4888, allocations: 4 kB / 499.6 MB, free: 24 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4888, allocations: 0 / 499.6 MB, free: 24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001758/0.489, allocations: 1.031 kB / 499.6 MB, free: 24 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.006874/0.4959, allocations: 3.362 MB / 0.4911 GB, free: 22.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.4959, allocations: 8.562 kB / 0.4912 GB, free: 22.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00582/0.5018, allocations: 1.821 MB / 0.4929 GB, free: 21.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004055/0.5058, allocations: 1.921 MB / 0.4948 GB, free: 20.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.506, allocations: 195.8 kB / 0.495 GB, free: 20.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005305/0.5065, allocations: 261.5 kB / 0.4952 GB, free: 19.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0173/0.5238, allocations: 8.43 MB / 0.5035 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.524, allocations: 36.22 kB / 0.5035 GB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003409/0.5243, allocations: 123.1 kB / 0.5036 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002672/0.527, allocations: 1.699 MB / 0.5053 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01273/0.5397, allocations: 7.072 MB / 0.5122 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04065/0.5804, allocations: 34.15 MB / 0.5455 GB, free: 7.207 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008299/0.5887, allocations: 3.263 MB / 0.5487 GB, free: 3.785 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002394/0.5912, allocations: 1.463 MB / 0.5502 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007774/0.599, allocations: 4.369 MB / 0.5544 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/0.5991, allocations: 47.06 kB / 0.5545 GB, free: 13.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 4.82e-06/0.5991, allocations: 0 / 0.5545 GB, free: 13.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02961/0.6287, allocations: 11.5 MB / 0.5657 GB, free: 2.027 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.6289, allocations: 174.8 kB / 0.5659 GB, free: 1.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00629/0.6352, allocations: 3.714 MB / 0.5695 GB, free: 14.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003721/0.6356, allocations: 41.7 kB / 0.5695 GB, free: 14.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002164/0.6378, allocations: 2.748 MB / 0.5722 GB, free: 11.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008161/0.6386, allocations: 0.5287 MB / 0.5727 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/0.6389, allocations: 104 kB / 0.5728 GB, free: 10.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003776/0.6393, allocations: 0.5256 MB / 0.5733 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002778/0.642, allocations: 1.685 MB / 0.575 GB, free: 8.418 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00538/0.6474, allocations: 5.104 MB / 0.58 GB, free: 1.586 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004804/0.6523, allocations: 2.882 MB / 0.5828 GB, free: 14.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.348e-05/0.6524, allocations: 39.95 kB / 0.5828 GB, free: 14.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01362/0.666, allocations: 6.675 MB / 0.5893 GB, free: 7.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.881e-05/0.6661, allocations: 60.06 kB / 0.5894 GB, free: 7.922 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001558/0.6663, allocations: 124 kB / 0.5895 GB, free: 7.801 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000661/0.667, allocations: 336.7 kB / 0.5898 GB, free: 7.469 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004047/0.671, allocations: 1.248 MB / 0.5911 GB, free: 6.219 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/0.6738, allocations: 2.29 MB / 0.5933 GB, free: 3.793 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004275/0.6781, allocations: 287.5 kB / 0.5936 GB, free: 3.512 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006817/0.6788, allocations: 332 kB / 0.5939 GB, free: 3.188 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 (668): * Single equations (assignments): 664 * 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.00403/0.6828, allocations: 1.803 MB / 0.5956 GB, free: 1.371 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006912/0.6835, allocations: 308 kB / 0.5959 GB, free: 1.066 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00474/0.6883, allocations: 2.356 MB / 0.5982 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.087e-05/0.6883, allocations: 23.94 kB / 0.5983 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.6883, allocations: 4 kB / 0.5983 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.6883, allocations: 7.969 kB / 0.5983 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/0.7011, allocations: 5.919 MB / 0.6041 GB, free: 8.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/0.7011, allocations: 0 / 0.6041 GB, free: 8.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008722/0.702, allocations: 179.8 kB / 0.6042 GB, free: 8.504 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002045/0.7041, allocations: 0.7068 MB / 0.6049 GB, free: 7.793 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/0.7043, allocations: 28 kB / 0.6049 GB, free: 7.766 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005993/0.7103, allocations: 4.461 MB / 0.6093 GB, free: 3.168 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.7103, allocations: 0 / 0.6093 GB, free: 3.168 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00729/0.7176, allocations: 4.325 MB / 0.6135 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001667/0.7193, allocations: 0.5359 MB / 0.614 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004575/0.7198, allocations: 20 kB / 0.6141 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.7209, allocations: 67.91 kB / 0.6141 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/0.7211, allocations: 80.45 kB / 0.6142 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.675e-05/0.7212, allocations: 28.06 kB / 0.6142 GB, free: 14.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004587/0.7258, allocations: 2.323 MB / 0.6165 GB, free: 11.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.12e-07/0.7258, allocations: 0 / 0.6165 GB, free: 11.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007043/0.7329, allocations: 0.8125 MB / 0.6173 GB, free: 10.93 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.000571/0.7335, allocations: 153.2 kB / 0.6174 GB, free: 10.78 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008598/0.7421, allocations: 4.007 MB / 0.6214 GB, free: 6.789 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.7421, allocations: 4.75 kB / 0.6214 GB, free: 6.785 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001859/0.744, allocations: 1.111 MB / 0.6224 GB, free: 5.664 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003081/0.7471, allocations: 369.8 kB / 0.6228 GB, free: 5.301 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2855/1.033, allocations: 8.638 MB / 0.6312 GB, free: 122.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003007/1.036, allocations: 2.796 MB / 0.634 GB, free: 122 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003894/1.04, allocations: 1.656 MB / 0.6356 GB, free: 121.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006105/1.04, allocations: 207.4 kB / 0.6358 GB, free: 121.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.002e-06/1.04, allocations: 0 / 0.6358 GB, free: 121.9 MB / 494.1 MB Notification: Performance of Templates: time 0.06001/1.1, allocations: 28.96 MB / 0.6641 GB, free: 115 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: