Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.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.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001231/0.001231, allocations: 181.5 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.602/1.602, allocations: 194.3 MB / 207.5 MB, free: 3.445 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.001624/0.001624, allocations: 112 kB / 252.6 MB, free: 4.809 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.268/0.268, allocations: 39.94 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.225e-05/4.227e-05, allocations: 0 / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1179, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.537/0.655, allocations: 109.5 MB / 0.5514 GB, free: 14.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.6553, allocations: 76.41 kB / 0.5514 GB, free: 14.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7315/1.387, allocations: 154.3 MB / 0.7021 GB, free: 92.46 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.906e-06/1.387, allocations: 0 / 0.7021 GB, free: 92.46 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003641/1.387, allocations: 128 kB / 0.7023 GB, free: 92.46 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.02629/1.414, allocations: 6.551 MB / 0.7087 GB, free: 89.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/1.414, allocations: 7.562 kB / 0.7087 GB, free: 89.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03006/1.444, allocations: 6.683 MB / 0.7152 GB, free: 89.32 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02376/1.468, allocations: 8.368 MB / 0.7234 GB, free: 88.46 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008224/1.468, allocations: 0.5243 MB / 0.7239 GB, free: 88.44 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006079/1.475, allocations: 0.7101 MB / 0.7246 GB, free: 88.43 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0481/1.523, allocations: 18.67 MB / 0.7428 GB, free: 83.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004116/1.523, allocations: 83.7 kB / 0.7429 GB, free: 83.27 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002432/1.526, allocations: 338.9 kB / 0.7432 GB, free: 83.08 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002388/1.528, allocations: 1.717 MB / 0.7449 GB, free: 82.77 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03497/1.563, allocations: 16.21 MB / 0.7607 GB, free: 72.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1009/1.664, allocations: 74.11 MB / 0.8331 GB, free: 1.383 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01722/1.681, allocations: 6.111 MB / 0.8391 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00571/1.687, allocations: 2.701 MB / 0.8417 GB, free: 8.312 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3985/2.085, allocations: 13.89 MB / 0.8553 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.214e-05/2.086, allocations: 62.8 kB / 0.8553 GB, free: 101.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=284): time 5.891e-06/2.086, allocations: 0 / 0.8553 GB, free: 101.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=344): time 0.06047/2.146, allocations: 19.3 MB / 0.8742 GB, free: 97.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.805e-05/2.146, allocations: 197 kB / 0.8744 GB, free: 97.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008995/2.155, allocations: 5.149 MB / 0.8794 GB, free: 96.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007429/2.156, allocations: 73.14 kB / 0.8795 GB, free: 96.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003257/2.159, allocations: 4.999 MB / 0.8843 GB, free: 94.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001587/2.161, allocations: 1.279 MB / 0.8856 GB, free: 93.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004816/2.161, allocations: 187.5 kB / 0.8858 GB, free: 93.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000451/2.162, allocations: 0.7095 MB / 0.8865 GB, free: 93.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004428/2.166, allocations: 3.138 MB / 0.8895 GB, free: 93.22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007922/2.174, allocations: 8.586 MB / 0.8979 GB, free: 86.24 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007848/2.182, allocations: 5.185 MB / 0.903 GB, free: 86.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001917/2.182, allocations: 54.62 kB / 0.903 GB, free: 86.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02776/2.21, allocations: 12.5 MB / 0.9152 GB, free: 82.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004086/2.211, allocations: 91.56 kB / 0.9153 GB, free: 82.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005582/2.211, allocations: 193.3 kB / 0.9155 GB, free: 82.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004559/2.216, allocations: 1.314 MB / 0.9168 GB, free: 81.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008274/2.224, allocations: 2.177 MB / 0.9189 GB, free: 81.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/2.236, allocations: 7.103 MB / 0.9258 GB, free: 77.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009961/2.246, allocations: 0.5611 MB / 0.9264 GB, free: 77.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003061/2.249, allocations: 0.5419 MB / 0.9269 GB, free: 77.63 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 876 * Number of states: 0 () * Number of discrete variables: 43 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[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],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1152): * Single equations (assignments): 1145 * Array equations: 6 * 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 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004442/2.254, allocations: 0.8099 MB / 0.9277 GB, free: 76.97 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001968/2.256, allocations: 0.5256 MB / 0.9282 GB, free: 76.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.014/2.27, allocations: 5.263 MB / 0.9334 GB, free: 74.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.131e-05/2.27, allocations: 36.02 kB / 0.9334 GB, free: 74.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.906e-05/2.27, allocations: 13.45 kB / 0.9334 GB, free: 74.74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-05/2.27, allocations: 16.33 kB / 0.9334 GB, free: 74.74 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03709/2.307, allocations: 14.05 MB / 0.9471 GB, free: 67.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.375e-05/2.307, allocations: 12 kB / 0.9472 GB, free: 67.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002688/2.31, allocations: 0.5277 MB / 0.9477 GB, free: 66.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003327/2.313, allocations: 0.9186 MB / 0.9486 GB, free: 66.31 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007085/2.314, allocations: 66.66 kB / 0.9486 GB, free: 66.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008233/2.322, allocations: 5.406 MB / 0.9539 GB, free: 61.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.449e-05/2.322, allocations: 15.94 kB / 0.9539 GB, free: 61.34 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01814/2.34, allocations: 10.13 MB / 0.9638 GB, free: 51.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003553/2.344, allocations: 0.9489 MB / 0.9648 GB, free: 50.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001668/2.346, allocations: 66.91 kB / 0.9648 GB, free: 50.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003512/2.349, allocations: 187.9 kB / 0.965 GB, free: 50.49 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008534/2.35, allocations: 229.4 kB / 0.9652 GB, free: 50.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000508/2.351, allocations: 99.05 kB / 0.9653 GB, free: 50.24 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009306/2.36, allocations: 3.56 MB / 0.9688 GB, free: 47.13 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.91e-07/2.36, allocations: 0 / 0.9688 GB, free: 47.13 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01216/2.372, allocations: 1.652 MB / 0.9704 GB, free: 45.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 260 * Array equations: 6 * 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 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00145/2.374, allocations: 261.2 kB / 0.9706 GB, free: 45.26 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01467/2.388, allocations: 7.618 MB / 0.9781 GB, free: 38.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.146e-05/2.388, allocations: 8.125 kB / 0.9781 GB, free: 38.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004449/2.393, allocations: 2.358 MB / 0.9804 GB, free: 36.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004995/2.398, allocations: 0.6449 MB / 0.981 GB, free: 35.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03133/2.429, allocations: 12.66 MB / 0.9934 GB, free: 23.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01194/2.441, allocations: 5.316 MB / 0.9986 GB, free: 20.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01055/2.452, allocations: 3.039 MB / 1.002 GB, free: 18.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002032/2.454, allocations: 373.7 kB / 1.002 GB, free: 17.74 MB / 490.7 MB Notification: Performance of SimCode: time 1.352e-06/2.454, allocations: 0 / 1.002 GB, free: 17.74 MB / 490.7 MB Notification: Performance of Templates: time 0.4281/2.882, allocations: 55.26 MB / 1.056 GB, free: 93.09 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1)