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.0009311/0.0009311, allocations: 184.7 kB / 7.653 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.517/1.517, allocations: 194.3 MB / 202.4 MB, free: 8.547 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.001748/0.001748, allocations: 112.7 kB / 247.4 MB, free: 6.215 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.2082/0.2082, allocations: 39.93 MB / 332.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.522e-05/1.525e-05, allocations: 3.984 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1093, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.404/0.5134, allocations: 99.5 MB / 0.5349 GB, free: 0.793 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.5137, allocations: 70.97 kB / 0.5349 GB, free: 0.7578 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2429/0.7566, allocations: 92.92 MB / 0.6257 GB, free: 11.61 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.7567, allocations: 0 / 0.6257 GB, free: 11.61 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002364/0.7569, allocations: 88 kB / 0.6257 GB, free: 11.52 MB / 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.01468/0.7716, allocations: 4.601 MB / 0.6302 GB, free: 6.848 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.7717, allocations: 12.03 kB / 0.6302 GB, free: 6.836 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02867/0.8003, allocations: 6.729 MB / 0.6368 GB, free: 92 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01625/0.8166, allocations: 6.29 MB / 0.643 GB, free: 9.738 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002132/0.8169, allocations: 140 kB / 0.6431 GB, free: 9.602 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001449/0.8183, allocations: 267.8 kB / 0.6434 GB, free: 9.34 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01168/0.83, allocations: 6.58 MB / 0.6498 GB, free: 2.75 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01497/0.845, allocations: 9.566 MB / 0.6591 GB, free: 8.164 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001631/0.8453, allocations: 59.41 kB / 0.6592 GB, free: 8.105 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004509/0.8457, allocations: 32 kB / 0.6592 GB, free: 8.074 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001357/0.8471, allocations: 1.019 MB / 0.6602 GB, free: 7.051 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2829/1.13, allocations: 45.91 MB / 0.705 GB, free: 80.75 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003852/1.134, allocations: 3.08 MB / 0.708 GB, free: 80.07 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002048/1.136, allocations: 1.718 MB / 0.7097 GB, free: 80.04 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001732/1.138, allocations: 1.932 MB / 0.7116 GB, free: 78.42 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/1.138, allocations: 55.09 kB / 0.7117 GB, free: 78.38 MB / 474.7 MB Notification: Performance of pre-optimization done (n=186): time 4.849e-06/1.138, allocations: 0 / 0.7117 GB, free: 78.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=242): time 0.06092/1.199, allocations: 26.24 MB / 0.7373 GB, free: 74.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/1.199, allocations: 209.1 kB / 0.7375 GB, free: 74.08 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00459/1.203, allocations: 3.269 MB / 0.7407 GB, free: 72.88 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005861/1.204, allocations: 25.7 kB / 0.7407 GB, free: 72.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001702/1.206, allocations: 3.273 MB / 0.7439 GB, free: 70.65 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001017/1.207, allocations: 0.8728 MB / 0.7448 GB, free: 70 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003123/1.207, allocations: 0 / 0.7448 GB, free: 70 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002804/1.207, allocations: 0.5841 MB / 0.7453 GB, free: 69.58 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003574/1.211, allocations: 3.302 MB / 0.7485 GB, free: 68.27 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004965/1.216, allocations: 7.04 MB / 0.7554 GB, free: 61.92 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00516/1.221, allocations: 4.712 MB / 0.76 GB, free: 60.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.332e-05/1.221, allocations: 40.94 kB / 0.7601 GB, free: 60.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=852) (initialization): time 0.03346/1.255, allocations: 14.68 MB / 0.7744 GB, free: 55.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.738e-05/1.255, allocations: 60.94 kB / 0.7745 GB, free: 55.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001144/1.255, allocations: 132 kB / 0.7746 GB, free: 55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02127/1.276, allocations: 5.923 MB / 0.7804 GB, free: 51.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005597/1.282, allocations: 1.486 MB / 0.7818 GB, free: 50.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02663/1.308, allocations: 22.91 MB / 0.8042 GB, free: 30.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005874/1.314, allocations: 280.4 kB / 0.8045 GB, free: 30.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001051/1.315, allocations: 391.6 kB / 0.8048 GB, free: 29.65 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * 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 (775): * Single equations (assignments): 770 * 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.001087/1.317, allocations: 442.6 kB / 0.8052 GB, free: 29.21 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006959/1.317, allocations: 367.2 kB / 0.8056 GB, free: 28.85 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02536/1.343, allocations: 10.57 MB / 0.8159 GB, free: 18.89 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.163e-05/1.343, allocations: 28 kB / 0.8159 GB, free: 18.87 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-05/1.343, allocations: 19.36 kB / 0.816 GB, free: 18.86 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.614e-05/1.343, allocations: 15.91 kB / 0.816 GB, free: 18.84 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03786/1.381, allocations: 19.44 MB / 0.835 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-05/1.381, allocations: 8 kB / 0.835 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002336/1.383, allocations: 391.9 kB / 0.8353 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02001/1.403, allocations: 4.977 MB / 0.8402 GB, free: 9.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004819/1.404, allocations: 12 kB / 0.8402 GB, free: 9.578 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3348/1.738, allocations: 18.42 MB / 0.8582 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.325e-05/1.739, allocations: 9.375 kB / 0.8582 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03144/1.77, allocations: 14.37 MB / 0.8723 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003019/1.773, allocations: 0.9293 MB / 0.8732 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006004/1.774, allocations: 7.688 kB / 0.8732 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002127/1.776, allocations: 136.5 kB / 0.8733 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006352/1.776, allocations: 163.5 kB / 0.8735 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001995/1.777, allocations: 62.38 kB / 0.8735 GB, free: 113.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00331/1.78, allocations: 2.208 MB / 0.8757 GB, free: 113 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.78, allocations: 0 / 0.8757 GB, free: 113 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006122/1.786, allocations: 1.156 MB / 0.8768 GB, free: 113 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 (173): * Single equations (assignments): 168 * 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.0005158/1.787, allocations: 163.6 kB / 0.877 GB, free: 112.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009862/1.796, allocations: 7.623 MB / 0.8844 GB, free: 112.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.797, allocations: 0.875 kB / 0.8844 GB, free: 112.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003619/1.8, allocations: 3.02 MB / 0.8873 GB, free: 111.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/1.803, allocations: 400.7 kB / 0.8877 GB, free: 111 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/1.817, allocations: 9.837 MB / 0.8973 GB, free: 107.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003265/1.821, allocations: 3.604 MB / 0.9009 GB, free: 106 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004872/1.826, allocations: 2.044 MB / 0.9029 GB, free: 105.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008197/1.826, allocations: 250.2 kB / 0.9031 GB, free: 105.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/1.826, allocations: 0 / 0.9031 GB, free: 105.9 MB / 490.7 MB Notification: Performance of Templates: time 0.0838/1.91, allocations: 59.24 MB / 0.9609 GB, free: 70.05 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)