Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008727/0.008727, allocations: 166.5 kB / 15.11 MB, free: 5.969 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.578/1.578, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001629/0.001629, allocations: 106.6 kB / 226.2 MB, free: 10.1 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.3857/0.3857, allocations: 38.05 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.000396, allocations: 8 kB / 362.9 MB, free: 5.625 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1408, allocations: 48.7 MB / 411.6 MB, free: 4.848 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4409/0.5817, allocations: 94.33 MB / 0.494 GB, free: 9.641 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.582, allocations: 74.72 kB / 0.4941 GB, free: 9.602 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5796/1.162, allocations: 103.1 MB / 0.5948 GB, free: 72.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.495e-06/1.162, allocations: 3.281 kB / 0.5948 GB, free: 72.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003435/1.162, allocations: 101.8 kB / 0.5949 GB, free: 72.93 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1723 * Number of variables: 1723 Notification: Performance of Generate backend data structure: time 0.02242/1.184, allocations: 5.681 MB / 0.6004 GB, free: 70.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/1.185, allocations: 8.969 kB / 0.6004 GB, free: 70.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02716/1.212, allocations: 6.88 MB / 0.6072 GB, free: 70.37 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02379/1.236, allocations: 7.515 MB / 0.6145 GB, free: 69.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005486/1.236, allocations: 371.6 kB / 0.6149 GB, free: 69.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003542/1.24, allocations: 0.49 MB / 0.6153 GB, free: 69.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03625/1.276, allocations: 12.32 MB / 0.6274 GB, free: 66.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003969/1.276, allocations: 81.83 kB / 0.6274 GB, free: 66.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001378/1.278, allocations: 234.5 kB / 0.6277 GB, free: 66.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001956/1.28, allocations: 1.139 MB / 0.6288 GB, free: 66.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02445/1.304, allocations: 10.26 MB / 0.6388 GB, free: 66.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07298/1.377, allocations: 55.56 MB / 0.6931 GB, free: 25.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01432/1.392, allocations: 5.72 MB / 0.6986 GB, free: 23.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01806/1.41, allocations: 8.791 MB / 0.7072 GB, free: 19.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.761e-05/1.41, allocations: 68.81 kB / 0.7073 GB, free: 19.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=206): time 8.396e-06/1.41, allocations: 0 / 0.7073 GB, free: 19.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.1281/1.538, allocations: 35.99 MB / 0.7424 GB, free: 11.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/1.538, allocations: 205.9 kB / 0.7426 GB, free: 11.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01162/1.55, allocations: 4.212 MB / 0.7467 GB, free: 7.168 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008758/1.551, allocations: 63.03 kB / 0.7468 GB, free: 7.102 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004377/1.555, allocations: 3.578 MB / 0.7503 GB, free: 3.523 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002063/1.557, allocations: 0.9814 MB / 0.7513 GB, free: 2.551 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001251/1.559, allocations: 132 kB / 0.7514 GB, free: 2.422 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008124/1.56, allocations: 0.5949 MB / 0.752 GB, free: 1.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3473/1.907, allocations: 2.994 MB / 0.7549 GB, free: 82.08 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01074/1.918, allocations: 6.792 MB / 0.7615 GB, free: 77.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009092/1.927, allocations: 4.424 MB / 0.7658 GB, free: 77.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002547/1.927, allocations: 37.41 kB / 0.7659 GB, free: 77.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.03411/1.961, allocations: 13.05 MB / 0.7786 GB, free: 76.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001471/1.961, allocations: 60.38 kB / 0.7787 GB, free: 76.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002469/1.962, allocations: 134.8 kB / 0.7788 GB, free: 76.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01283/1.975, allocations: 4.082 MB / 0.7828 GB, free: 76.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006759/1.981, allocations: 1.413 MB / 0.7842 GB, free: 76.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04425/2.026, allocations: 26.9 MB / 0.8104 GB, free: 66.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008569/2.034, allocations: 397.3 kB / 0.8108 GB, free: 66.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002314/2.037, allocations: 398.3 kB / 0.8112 GB, free: 66.36 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * Number of states: 0 () * Number of discrete variables: 39 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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],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 (760): * Single equations (assignments): 754 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.007561/2.044, allocations: 2.472 MB / 0.8136 GB, free: 65.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00165/2.046, allocations: 445.2 kB / 0.814 GB, free: 65.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01647/2.062, allocations: 8.117 MB / 0.822 GB, free: 62.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.466e-05/2.063, allocations: 32 kB / 0.822 GB, free: 62.47 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.921e-05/2.063, allocations: 13.38 kB / 0.822 GB, free: 62.47 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.558e-05/2.063, allocations: 13.64 kB / 0.822 GB, free: 62.47 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03534/2.098, allocations: 16.69 MB / 0.8383 GB, free: 56.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.256e-05/2.098, allocations: 6.922 kB / 0.8383 GB, free: 56.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/2.1, allocations: 301.2 kB / 0.8386 GB, free: 56.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01082/2.111, allocations: 3.772 MB / 0.8423 GB, free: 55.37 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006165/2.111, allocations: 57.52 kB / 0.8424 GB, free: 55.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03365/2.145, allocations: 25.63 MB / 0.8674 GB, free: 41.35 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.384e-05/2.145, allocations: 8.688 kB / 0.8674 GB, free: 41.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02438/2.17, allocations: 12.63 MB / 0.8797 GB, free: 30.51 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004242/2.174, allocations: 0.9483 MB / 0.8807 GB, free: 29.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002361/2.176, allocations: 44 kB / 0.8807 GB, free: 29.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004022/2.18, allocations: 169.9 kB / 0.8809 GB, free: 29.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001277/2.182, allocations: 195.6 kB / 0.881 GB, free: 29.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005047/2.182, allocations: 71.94 kB / 0.8811 GB, free: 29.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008041/2.19, allocations: 2.991 MB / 0.884 GB, free: 26.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.81e-07/2.19, allocations: 0 / 0.884 GB, free: 26.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01158/2.202, allocations: 1.419 MB / 0.8854 GB, free: 25.43 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 (161): * Single equations (assignments): 155 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001287/2.203, allocations: 193.6 kB / 0.8856 GB, free: 25.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01663/2.22, allocations: 8.123 MB / 0.8935 GB, free: 18.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/2.22, allocations: 0 / 0.8935 GB, free: 18.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006949/2.227, allocations: 3.481 MB / 0.8969 GB, free: 15.01 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005403/2.232, allocations: 0.5478 MB / 0.8975 GB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0306/2.263, allocations: 14.35 MB / 0.9115 GB, free: 1.383 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3037/2.567, allocations: 4.115 MB / 0.9155 GB, free: 84.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008319/2.575, allocations: 2.025 MB / 0.9175 GB, free: 84.55 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/2.576, allocations: 280.8 kB / 0.9178 GB, free: 84.55 MB / 458.7 MB Notification: Performance of SimCode: time 1.192e-06/2.576, allocations: 1.094 kB / 0.9178 GB, free: 84.55 MB / 458.7 MB Notification: Performance of Templates: time 0.1402/2.716, allocations: 66.05 MB / 0.9823 GB, free: 77 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1)