Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR") translateModel(ModelicaTest.MultiBody.Joints.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001597/0.001597, allocations: 180.3 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.389/1.389, allocations: 194.3 MB / 202.4 MB, free: 8.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001581/0.001581, allocations: 115.8 kB / 247.4 MB, free: 6.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1748/0.1748, allocations: 39.95 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.301e-05/1.302e-05, allocations: 4 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09987/0.0999, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.361/0.4609, allocations: 99.31 MB / 0.5347 GB, free: 0.8945 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.4612, allocations: 73.78 kB / 0.5347 GB, free: 0.8594 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1384/0.5996, allocations: 54.89 MB / 0.5883 GB, free: 2.008 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5997, allocations: 0 / 0.5883 GB, free: 2.008 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001484/0.5998, allocations: 51.98 kB / 0.5884 GB, free: 1.957 MB / 394.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.008916/0.6087, allocations: 2.576 MB / 0.5909 GB, free: 15.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.6088, allocations: 8.031 kB / 0.5909 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003489/0.6123, allocations: 483.8 kB / 0.5914 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004884/0.6172, allocations: 1.536 MB / 0.5929 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.6174, allocations: 96 kB / 0.593 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00103/0.6185, allocations: 160 kB / 0.5931 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008354/0.6268, allocations: 3.808 MB / 0.5968 GB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01206/0.6389, allocations: 4.956 MB / 0.6017 GB, free: 3.934 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001198/0.6391, allocations: 15.88 kB / 0.6017 GB, free: 3.918 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008622/0.64, allocations: 8 kB / 0.6017 GB, free: 3.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001152/0.6411, allocations: 0.5241 MB / 0.6022 GB, free: 3.379 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02792/0.6691, allocations: 20.03 MB / 0.6218 GB, free: 14.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.6706, allocations: 0.8541 MB / 0.6226 GB, free: 13.92 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009165/0.6716, allocations: 0.6176 MB / 0.6232 GB, free: 13.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006221/0.6778, allocations: 4.568 MB / 0.6277 GB, free: 8.383 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.6779, allocations: 43.12 kB / 0.6277 GB, free: 8.332 MB / 442.7 MB Notification: Performance of pre-optimization done (n=64): time 2.985e-06/0.6779, allocations: 0 / 0.6277 GB, free: 8.332 MB / 442.7 MB Notification: Performance of matching and sorting (n=88): time 0.0162/0.6941, allocations: 5.243 MB / 0.6328 GB, free: 3.074 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.6942, allocations: 85.89 kB / 0.6329 GB, free: 2.973 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002812/0.6971, allocations: 1.413 MB / 0.6343 GB, free: 1.555 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001299/0.6972, allocations: 25.7 kB / 0.6343 GB, free: 1.523 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001224/0.6984, allocations: 1.725 MB / 0.636 GB, free: 15.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000351/0.6988, allocations: 331.6 kB / 0.6363 GB, free: 15.44 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.699, allocations: 4.031 kB / 0.6363 GB, free: 15.44 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000257/0.6992, allocations: 472.6 kB / 0.6368 GB, free: 14.96 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.7005, allocations: 0.8296 MB / 0.6376 GB, free: 14.13 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00247/0.7029, allocations: 2.453 MB / 0.64 GB, free: 10.86 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00337/0.7063, allocations: 1.538 MB / 0.6415 GB, free: 9.316 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.621e-05/0.7064, allocations: 16 kB / 0.6415 GB, free: 9.301 MB / 458.7 MB Notification: Performance of matching and sorting (n=366) (initialization): time 0.006484/0.7129, allocations: 3.126 MB / 0.6446 GB, free: 6.168 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/0.713, allocations: 28 kB / 0.6446 GB, free: 6.141 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.718e-05/0.713, allocations: 60 kB / 0.6446 GB, free: 6.082 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.936e-05/0.7131, allocations: 84 kB / 0.6447 GB, free: 6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002376/0.7155, allocations: 0.6979 MB / 0.6454 GB, free: 5.301 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.913e-05/0.7156, allocations: 115.6 kB / 0.6455 GB, free: 5.188 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.7173, allocations: 103.9 kB / 0.6456 GB, free: 5.086 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002493/0.7176, allocations: 168 kB / 0.6458 GB, free: 4.922 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * 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 (366): * Single equations (assignments): 366 * 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.0003708/0.718, allocations: 270.5 kB / 0.646 GB, free: 4.648 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.7182, allocations: 150.1 kB / 0.6462 GB, free: 4.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/0.7203, allocations: 1.26 MB / 0.6474 GB, free: 3.215 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.7203, allocations: 12.08 kB / 0.6474 GB, free: 3.203 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.7204, allocations: 3.984 kB / 0.6474 GB, free: 3.199 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.7204, allocations: 3.984 kB / 0.6474 GB, free: 3.195 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007046/0.7274, allocations: 3.78 MB / 0.6511 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.7275, allocations: 4 kB / 0.6511 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009665/0.7285, allocations: 200.3 kB / 0.6513 GB, free: 15.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.047e-05/0.7285, allocations: 12 kB / 0.6513 GB, free: 15.08 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.97e-05/0.7286, allocations: 7.953 kB / 0.6513 GB, free: 15.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-05/0.7286, allocations: 15.92 kB / 0.6513 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.969e-05/0.7286, allocations: 8 kB / 0.6513 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.7307, allocations: 1.587 MB / 0.6529 GB, free: 13.25 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/0.7312, allocations: 227 kB / 0.6531 GB, free: 13.01 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.7313, allocations: 4 kB / 0.6531 GB, free: 13.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007142/0.7321, allocations: 43.92 kB / 0.6532 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.7322, allocations: 64.39 kB / 0.6532 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.143e-05/0.7323, allocations: 24 kB / 0.6532 GB, free: 12.88 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001531/0.7338, allocations: 0.9484 MB / 0.6542 GB, free: 11.93 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7338, allocations: 0 / 0.6542 GB, free: 11.93 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002538/0.7364, allocations: 455.8 kB / 0.6546 GB, free: 11.49 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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.0003662/0.7367, allocations: 167 kB / 0.6548 GB, free: 11.32 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003073/0.7398, allocations: 1.888 MB / 0.6566 GB, free: 9.445 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.7398, allocations: 4 kB / 0.6566 GB, free: 9.441 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007033/0.7406, allocations: 0.5185 MB / 0.6571 GB, free: 8.918 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008068/0.7414, allocations: 160.1 kB / 0.6573 GB, free: 8.762 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007646/0.749, allocations: 3.809 MB / 0.661 GB, free: 4.859 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00227/0.7514, allocations: 2.197 MB / 0.6631 GB, free: 2.633 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002393/0.7538, allocations: 0.717 MB / 0.6638 GB, free: 1.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004006/0.7542, allocations: 123.4 kB / 0.664 GB, free: 1.789 MB / 474.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7542, allocations: 0 / 0.664 GB, free: 1.789 MB / 474.7 MB Notification: Performance of Templates: time 0.2544/1.009, allocations: 14.71 MB / 0.6783 GB, free: 132.7 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1)