Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01052/0.01052, allocations: 164.9 kB / 15.11 MB, free: 5.973 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.627/1.627, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001663/0.001663, allocations: 118.6 kB / 226.2 MB, free: 10.11 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.4425/0.4425, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004769/0.0004769, allocations: 8 kB / 362.9 MB, free: 5.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.133, allocations: 48.7 MB / 411.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4247/0.5578, allocations: 93.45 MB / 0.4932 GB, free: 10.63 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.5581, allocations: 82.45 kB / 0.4933 GB, free: 10.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2568/0.8149, allocations: 94.64 MB / 0.5857 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.8149, allocations: 0 / 0.5857 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004565/0.8154, allocations: 91.94 kB / 0.5858 GB, free: 452 kB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1534 * Number of variables: 1534 Notification: Performance of Generate backend data structure: time 0.3156/1.131, allocations: 5.012 MB / 0.5907 GB, free: 76.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/1.131, allocations: 10.09 kB / 0.5907 GB, free: 76.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02749/1.159, allocations: 6.739 MB / 0.5972 GB, free: 76.06 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02158/1.18, allocations: 6.326 MB / 0.6034 GB, free: 75.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005162/1.181, allocations: 326.9 kB / 0.6037 GB, free: 75.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002832/1.184, allocations: 438.2 kB / 0.6042 GB, free: 75.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02522/1.209, allocations: 11.04 MB / 0.6149 GB, free: 72.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002451/1.209, allocations: 69.38 kB / 0.615 GB, free: 72.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008566/1.21, allocations: 209.2 kB / 0.6152 GB, free: 72.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00168/1.212, allocations: 1.013 MB / 0.6162 GB, free: 72.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02481/1.237, allocations: 9.29 MB / 0.6253 GB, free: 72.81 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05725/1.294, allocations: 47.56 MB / 0.6717 GB, free: 39.33 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/1.304, allocations: 4.134 MB / 0.6757 GB, free: 37.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/1.316, allocations: 7.511 MB / 0.6831 GB, free: 33.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/1.316, allocations: 60.88 kB / 0.6831 GB, free: 33.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=180): time 6.242e-06/1.316, allocations: 0 / 0.6831 GB, free: 33.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=236): time 0.1517/1.467, allocations: 41.04 MB / 0.7232 GB, free: 14.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/1.468, allocations: 201.9 kB / 0.7234 GB, free: 14.51 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006439/1.474, allocations: 3.801 MB / 0.7271 GB, free: 10.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008848/1.475, allocations: 61.7 kB / 0.7272 GB, free: 10.63 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00212/1.477, allocations: 3.217 MB / 0.7303 GB, free: 7.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001293/1.478, allocations: 0.8759 MB / 0.7312 GB, free: 6.543 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003458/1.479, allocations: 124 kB / 0.7313 GB, free: 6.422 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003133/1.479, allocations: 0.5783 MB / 0.7319 GB, free: 5.836 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004198/1.483, allocations: 3.417 MB / 0.7352 GB, free: 2.414 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007688/1.491, allocations: 7.026 MB / 0.7421 GB, free: 9.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008063/1.499, allocations: 4.763 MB / 0.7467 GB, free: 4.832 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.545e-05/1.499, allocations: 43.94 kB / 0.7467 GB, free: 4.789 MB / 442.7 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.3949/1.894, allocations: 15.42 MB / 0.7618 GB, free: 79.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001626/1.894, allocations: 63.28 kB / 0.7619 GB, free: 79.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003651/1.895, allocations: 126.3 kB / 0.762 GB, free: 79.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0236/1.918, allocations: 5.938 MB / 0.7678 GB, free: 79.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006474/1.925, allocations: 1.429 MB / 0.7692 GB, free: 79.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04151/1.966, allocations: 25.7 MB / 0.7943 GB, free: 75.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007949/1.974, allocations: 397.4 kB / 0.7947 GB, free: 75.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001852/1.976, allocations: 377.8 kB / 0.795 GB, free: 75.82 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 39 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (743): * Single equations (assignments): 738 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006736/1.983, allocations: 2.218 MB / 0.7972 GB, free: 74.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001343/1.984, allocations: 398.5 kB / 0.7976 GB, free: 74.99 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02714/2.012, allocations: 10.82 MB / 0.8081 GB, free: 71.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-05/2.012, allocations: 28.47 kB / 0.8082 GB, free: 71.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.163e-05/2.012, allocations: 14.95 kB / 0.8082 GB, free: 71.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.779e-05/2.012, allocations: 11.81 kB / 0.8082 GB, free: 71.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04524/2.057, allocations: 20.2 MB / 0.8279 GB, free: 63.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.166e-05/2.057, allocations: 7.562 kB / 0.8279 GB, free: 63.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002171/2.059, allocations: 382.4 kB / 0.8283 GB, free: 63.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01831/2.078, allocations: 4.998 MB / 0.8332 GB, free: 63.03 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000643/2.078, allocations: 43.22 kB / 0.8332 GB, free: 63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02823/2.107, allocations: 20.89 MB / 0.8536 GB, free: 53.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/2.107, allocations: 5.188 kB / 0.8536 GB, free: 53.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03142/2.138, allocations: 14.59 MB / 0.8678 GB, free: 42.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003937/2.142, allocations: 0.9632 MB / 0.8688 GB, free: 41.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002156/2.144, allocations: 47.61 kB / 0.8688 GB, free: 41.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004174/2.148, allocations: 168.9 kB / 0.869 GB, free: 41.15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009711/2.149, allocations: 153.5 kB / 0.8691 GB, free: 41.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004463/2.15, allocations: 64.92 kB / 0.8692 GB, free: 40.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006711/2.157, allocations: 2.68 MB / 0.8718 GB, free: 38.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.91e-07/2.157, allocations: 0 / 0.8718 GB, free: 38.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009223/2.166, allocations: 1.319 MB / 0.8731 GB, free: 36.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (167): * Single equations (assignments): 162 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 45} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009845/2.167, allocations: 191.2 kB / 0.8733 GB, free: 36.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01397/2.181, allocations: 7.953 MB / 0.8811 GB, free: 29.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/2.181, allocations: 0 / 0.8811 GB, free: 29.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004833/2.186, allocations: 3.122 MB / 0.8841 GB, free: 25.92 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004051/2.19, allocations: 483.8 kB / 0.8846 GB, free: 25.46 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02703/2.217, allocations: 13.4 MB / 0.8977 GB, free: 12.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00825/2.225, allocations: 3.601 MB / 0.9012 GB, free: 8.598 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006864/2.232, allocations: 1.968 MB / 0.9031 GB, free: 6.664 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001699/2.234, allocations: 267.4 kB / 0.9033 GB, free: 6.402 MB / 442.7 MB Notification: Performance of SimCode: time 1.803e-06/2.234, allocations: 0 / 0.9033 GB, free: 6.402 MB / 442.7 MB Notification: Performance of Templates: time 0.4193/2.653, allocations: 63.66 MB / 0.9655 GB, free: 87.81 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1)