Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00107/0.00107, allocations: 182.1 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.568/1.568, allocations: 194.3 MB / 207.5 MB, free: 3.395 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.001648/0.001648, allocations: 101.8 kB / 252.6 MB, free: 4.832 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.2265/0.2265, allocations: 39.93 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.878e-05/4.878e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1513, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4853/0.6367, allocations: 100.2 MB / 0.5423 GB, free: 7.719 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.6371, allocations: 72.09 kB / 0.5424 GB, free: 7.684 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2535/0.8905, allocations: 94.75 MB / 0.6349 GB, free: 0.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.8906, allocations: 0 / 0.6349 GB, free: 0.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003695/0.891, allocations: 88 kB / 0.635 GB, free: 424 kB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01869/0.9097, allocations: 4.616 MB / 0.6395 GB, free: 11.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.9098, allocations: 12.03 kB / 0.6395 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02838/0.9382, allocations: 6.729 MB / 0.6461 GB, free: 4.969 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01861/0.9569, allocations: 6.294 MB / 0.6522 GB, free: 14.61 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004563/0.9574, allocations: 328.6 kB / 0.6525 GB, free: 14.29 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002845/0.9603, allocations: 447.7 kB / 0.653 GB, free: 13.85 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02917/0.9894, allocations: 10.96 MB / 0.6637 GB, free: 1.863 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003085/0.9898, allocations: 67.38 kB / 0.6637 GB, free: 1.797 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001445/0.9913, allocations: 207.9 kB / 0.6639 GB, free: 1.594 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001554/0.9928, allocations: 1.019 MB / 0.6649 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.382/1.375, allocations: 9.147 MB / 0.6738 GB, free: 103.1 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07312/1.448, allocations: 47.56 MB / 0.7203 GB, free: 74.84 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01153/1.46, allocations: 4.104 MB / 0.7243 GB, free: 73.73 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00338/1.463, allocations: 1.784 MB / 0.726 GB, free: 72.98 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01382/1.477, allocations: 7.512 MB / 0.7334 GB, free: 68.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.724e-05/1.477, allocations: 54.94 kB / 0.7334 GB, free: 68.65 MB / 474.7 MB Notification: Performance of pre-optimization done (n=180): time 6.563e-06/1.477, allocations: 3.562 kB / 0.7334 GB, free: 68.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=236): time 0.07941/1.556, allocations: 25.68 MB / 0.7585 GB, free: 61.93 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.993e-05/1.557, allocations: 208.7 kB / 0.7587 GB, free: 61.71 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006516/1.563, allocations: 3.758 MB / 0.7624 GB, free: 60.38 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009614/1.564, allocations: 58.55 kB / 0.7624 GB, free: 60.32 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003637/1.568, allocations: 3.222 MB / 0.7656 GB, free: 57.87 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002142/1.57, allocations: 0.8795 MB / 0.7664 GB, free: 57.23 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005647/1.571, allocations: 127.8 kB / 0.7666 GB, free: 57.13 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004771/1.571, allocations: 0.573 MB / 0.7671 GB, free: 56.71 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005691/1.577, allocations: 3.366 MB / 0.7704 GB, free: 54.72 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006162/1.583, allocations: 6.96 MB / 0.7772 GB, free: 46.51 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006478/1.589, allocations: 4.745 MB / 0.7818 GB, free: 42.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.485e-05/1.59, allocations: 36 kB / 0.7819 GB, free: 42.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.03701/1.627, allocations: 15.32 MB / 0.7968 GB, free: 30.57 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.159e-05/1.627, allocations: 59.66 kB / 0.7969 GB, free: 30.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001572/1.627, allocations: 128.8 kB / 0.797 GB, free: 30.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02091/1.648, allocations: 5.93 MB / 0.8028 GB, free: 26.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005218/1.653, allocations: 1.427 MB / 0.8042 GB, free: 24.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02839/1.682, allocations: 24.95 MB / 0.8286 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00668/1.688, allocations: 399.3 kB / 0.829 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001611/1.69, allocations: 372 kB / 0.8293 GB, free: 14.62 MB / 490.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 () * 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.001339/1.691, allocations: 0.5742 MB / 0.8299 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001095/1.692, allocations: 398.8 kB / 0.8302 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02847/1.721, allocations: 10.77 MB / 0.8408 GB, free: 2.852 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.897e-05/1.721, allocations: 24 kB / 0.8408 GB, free: 2.828 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-05/1.721, allocations: 8 kB / 0.8408 GB, free: 2.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.487e-05/1.721, allocations: 23.83 kB / 0.8408 GB, free: 2.797 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4069/2.128, allocations: 20.13 MB / 0.8605 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.404e-05/2.128, allocations: 8.719 kB / 0.8605 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002351/2.13, allocations: 380.4 kB / 0.8608 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0188/2.149, allocations: 4.991 MB / 0.8657 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006994/2.15, allocations: 42.94 kB / 0.8658 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02451/2.175, allocations: 20.14 MB / 0.8854 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.924e-06/2.175, allocations: 11.19 kB / 0.8854 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02988/2.204, allocations: 14.49 MB / 0.8996 GB, free: 98.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003249/2.208, allocations: 0.9589 MB / 0.9005 GB, free: 98.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000726/2.209, allocations: 45.08 kB / 0.9006 GB, free: 98.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0024/2.211, allocations: 166.9 kB / 0.9007 GB, free: 98.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006594/2.212, allocations: 150.9 kB / 0.9009 GB, free: 98.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002074/2.212, allocations: 69.56 kB / 0.9009 GB, free: 98.12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004188/2.216, allocations: 2.645 MB / 0.9035 GB, free: 97.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.4e-07/2.216, allocations: 0 / 0.9035 GB, free: 97.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007234/2.223, allocations: 1.32 MB / 0.9048 GB, free: 97.05 MB / 490.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 () * 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.0007689/2.224, allocations: 187 kB / 0.905 GB, free: 96.94 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01311/2.237, allocations: 7.856 MB / 0.9127 GB, free: 94.15 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.692e-05/2.237, allocations: 0 / 0.9127 GB, free: 94.15 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004936/2.242, allocations: 3.077 MB / 0.9157 GB, free: 92.81 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00354/2.246, allocations: 499.2 kB / 0.9161 GB, free: 92.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01874/2.265, allocations: 9.903 MB / 0.9258 GB, free: 87.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00337/2.268, allocations: 3.597 MB / 0.9293 GB, free: 84.67 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00512/2.273, allocations: 1.968 MB / 0.9312 GB, free: 83.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/2.274, allocations: 266.8 kB / 0.9315 GB, free: 83.27 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/2.274, allocations: 0 / 0.9315 GB, free: 83.27 MB / 490.7 MB Notification: Performance of Templates: time 0.1/2.374, allocations: 63.63 MB / 0.9936 GB, free: 26.27 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1)