Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR") translateModel(ModelicaTest.MultiBody.Joints.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009424/0.0009426, allocations: 170.2 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.152/1.152, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001558/0.001558, allocations: 107.5 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1804/0.1804, allocations: 37.98 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.789e-05/2.791e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08915/0.0892, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3613/0.4506, allocations: 93.44 MB / 499.1 MB, free: 17.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.4509, allocations: 78.36 kB / 499.2 MB, free: 17.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1324/0.5833, allocations: 56.31 MB / 0.5425 GB, free: 13.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.5833, allocations: 4 kB / 0.5425 GB, free: 13.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001432/0.5835, allocations: 48 kB / 0.5426 GB, free: 13.32 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.007743/0.5912, allocations: 2.58 MB / 0.5451 GB, free: 10.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.5913, allocations: 8.031 kB / 0.5451 GB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002976/0.5943, allocations: 479.8 kB / 0.5455 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004677/0.599, allocations: 1.55 MB / 0.547 GB, free: 9.156 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002619/0.5993, allocations: 213.6 kB / 0.5473 GB, free: 8.945 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001242/0.6005, allocations: 275.9 kB / 0.5475 GB, free: 8.676 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01872/0.6193, allocations: 6.635 MB / 0.554 GB, free: 1.719 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001384/0.6194, allocations: 11.88 kB / 0.554 GB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008573/0.6203, allocations: 124 kB / 0.5541 GB, free: 1.586 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001151/0.6215, allocations: 0.5278 MB / 0.5546 GB, free: 1.051 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01358/0.6351, allocations: 5.44 MB / 0.56 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03399/0.6692, allocations: 21.29 MB / 0.5807 GB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00755/0.6768, allocations: 1.799 MB / 0.5825 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.678, allocations: 0.6516 MB / 0.5831 GB, free: 3.215 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007743/0.6857, allocations: 4.887 MB / 0.5879 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.136e-05/0.6858, allocations: 47.06 kB / 0.588 GB, free: 13.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 3.997e-06/0.6858, allocations: 0 / 0.588 GB, free: 13.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=110): time 0.02955/0.7154, allocations: 7.484 MB / 0.5953 GB, free: 6.367 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.7155, allocations: 98.08 kB / 0.5954 GB, free: 6.254 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00352/0.719, allocations: 1.71 MB / 0.597 GB, free: 4.547 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.7192, allocations: 41.7 kB / 0.5971 GB, free: 4.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001507/0.7207, allocations: 1.664 MB / 0.5987 GB, free: 2.812 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005515/0.7213, allocations: 410.5 kB / 0.5991 GB, free: 2.406 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.7215, allocations: 56 kB / 0.5991 GB, free: 2.352 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002875/0.7218, allocations: 428 kB / 0.5995 GB, free: 1.926 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.7236, allocations: 0.9976 MB / 0.6005 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003107/0.7267, allocations: 2.596 MB / 0.6031 GB, free: 13.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002667/0.7294, allocations: 1.57 MB / 0.6046 GB, free: 11.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.386e-05/0.7294, allocations: 16 kB / 0.6046 GB, free: 11.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=371) (initialization): time 0.006304/0.7357, allocations: 3.586 MB / 0.6081 GB, free: 8.352 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.626e-05/0.7358, allocations: 28 kB / 0.6081 GB, free: 8.324 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.287e-05/0.7359, allocations: 56 kB / 0.6082 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001091/0.736, allocations: 84 kB / 0.6083 GB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002526/0.7385, allocations: 0.7252 MB / 0.609 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001304/0.7387, allocations: 111.6 kB / 0.6091 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/0.7408, allocations: 164 kB / 0.6092 GB, free: 7.191 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003116/0.7411, allocations: 168 kB / 0.6094 GB, free: 7.027 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 31 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (371): * Single equations (assignments): 371 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005375/0.7417, allocations: 338.3 kB / 0.6097 GB, free: 6.688 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005461/0.7422, allocations: 177.7 kB / 0.6099 GB, free: 6.512 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00307/0.7453, allocations: 1.699 MB / 0.6115 GB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.7454, allocations: 12 kB / 0.6116 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.7454, allocations: 3.953 kB / 0.6116 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.7454, allocations: 7.984 kB / 0.6116 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2745/1.02, allocations: 5.88 MB / 0.6173 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.908e-05/1.02, allocations: 15.56 kB / 0.6173 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/1.021, allocations: 247.3 kB / 0.6176 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.928e-05/1.021, allocations: 17.94 kB / 0.6176 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.369e-05/1.021, allocations: 38.52 kB / 0.6176 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.427e-05/1.021, allocations: 24 kB / 0.6176 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.799e-05/1.021, allocations: 21.34 kB / 0.6177 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002516/1.024, allocations: 2.612 MB / 0.6202 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000583/1.024, allocations: 265.4 kB / 0.6205 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/1.025, allocations: 39.11 kB / 0.6205 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007656/1.025, allocations: 60.84 kB / 0.6206 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/1.025, allocations: 100.3 kB / 0.6207 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.958e-05/1.026, allocations: 42.44 kB / 0.6207 GB, free: 109 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002046/1.028, allocations: 1.242 MB / 0.6219 GB, free: 108.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.028, allocations: 0 / 0.6219 GB, free: 108.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002758/1.03, allocations: 0.5338 MB / 0.6224 GB, free: 108.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005388/1.031, allocations: 195.8 kB / 0.6226 GB, free: 108.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003861/1.035, allocations: 2.212 MB / 0.6248 GB, free: 108.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/1.035, allocations: 6.188 kB / 0.6248 GB, free: 108.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008861/1.036, allocations: 0.5988 MB / 0.6254 GB, free: 108.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/1.037, allocations: 235.1 kB / 0.6256 GB, free: 108.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008804/1.046, allocations: 4.17 MB / 0.6297 GB, free: 107.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002624/1.048, allocations: 2.229 MB / 0.6318 GB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002676/1.051, allocations: 0.7759 MB / 0.6326 GB, free: 106.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004026/1.052, allocations: 135 kB / 0.6327 GB, free: 106.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.282e-06/1.052, allocations: 0 / 0.6327 GB, free: 106.7 MB / 426.7 MB Notification: Performance of Templates: time 0.03167/1.083, allocations: 18.04 MB / 0.6503 GB, free: 106.1 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1)