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.001422/0.001422, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.347/1.347, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001744/0.001744, allocations: 107.5 kB / 223.2 MB, free: 4.043 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.2082/0.2082, allocations: 37.99 MB / 300.4 MB, free: 5.336 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.433e-05/5.437e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1272, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3579/0.4851, allocations: 93.35 MB / 499 MB, free: 17.58 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001818/0.4853, allocations: 70.56 kB / 499.1 MB, free: 17.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2357/0.721, allocations: 94.7 MB / 0.5799 GB, free: 7.406 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.7211, allocations: 0 / 0.5799 GB, free: 7.406 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003991/0.7215, allocations: 91.98 kB / 0.58 GB, free: 7.316 MB / 394.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.01453/0.736, allocations: 4.604 MB / 0.5845 GB, free: 2.645 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.7361, allocations: 12.03 kB / 0.5845 GB, free: 2.633 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02739/0.7635, allocations: 6.737 MB / 0.5911 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01656/0.7801, allocations: 6.305 MB / 0.5972 GB, free: 5.512 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003554/0.7805, allocations: 328.6 kB / 0.5975 GB, free: 5.188 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002001/0.7825, allocations: 435.8 kB / 0.598 GB, free: 4.762 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02268/0.8052, allocations: 10.96 MB / 0.6087 GB, free: 8.805 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002771/0.8056, allocations: 67.38 kB / 0.6087 GB, free: 8.738 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001422/0.807, allocations: 207.9 kB / 0.6089 GB, free: 8.535 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001815/0.8088, allocations: 1.019 MB / 0.6099 GB, free: 7.512 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2589/1.068, allocations: 9.154 MB / 0.6189 GB, free: 83.44 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04658/1.114, allocations: 47.55 MB / 0.6653 GB, free: 55.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009491/1.124, allocations: 4.097 MB / 0.6693 GB, free: 54.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002029/1.126, allocations: 1.785 MB / 0.671 GB, free: 54.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009779/1.136, allocations: 7.515 MB / 0.6784 GB, free: 51.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/1.136, allocations: 54.56 kB / 0.6784 GB, free: 51.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=180): time 4.618e-06/1.136, allocations: 4.688 kB / 0.6784 GB, free: 51.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=236): time 0.07595/1.212, allocations: 25.69 MB / 0.7035 GB, free: 44.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.812e-05/1.212, allocations: 212 kB / 0.7037 GB, free: 44.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006003/1.218, allocations: 3.753 MB / 0.7074 GB, free: 42.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006369/1.219, allocations: 64.89 kB / 0.7074 GB, free: 42.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001918/1.221, allocations: 3.226 MB / 0.7106 GB, free: 40.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001159/1.222, allocations: 0.8712 MB / 0.7114 GB, free: 39.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003885/1.222, allocations: 125.6 kB / 0.7116 GB, free: 39.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003349/1.222, allocations: 0.5766 MB / 0.7121 GB, free: 39.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004464/1.227, allocations: 3.359 MB / 0.7154 GB, free: 38.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005701/1.233, allocations: 6.968 MB / 0.7222 GB, free: 31.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005329/1.238, allocations: 4.734 MB / 0.7268 GB, free: 30.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.983e-05/1.238, allocations: 37.5 kB / 0.7269 GB, free: 30.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.03284/1.271, allocations: 15.33 MB / 0.7418 GB, free: 18.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.996e-05/1.271, allocations: 56 kB / 0.7419 GB, free: 18.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/1.271, allocations: 128 kB / 0.742 GB, free: 18.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02108/1.292, allocations: 5.928 MB / 0.7478 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005006/1.297, allocations: 1.435 MB / 0.7492 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03072/1.328, allocations: 24.96 MB / 0.7736 GB, free: 4.605 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00618/1.334, allocations: 387.3 kB / 0.774 GB, free: 4.227 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001479/1.336, allocations: 375.4 kB / 0.7743 GB, free: 3.863 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 () * 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.001376/1.337, allocations: 0.572 MB / 0.7749 GB, free: 3.281 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009147/1.338, allocations: 402.8 kB / 0.7753 GB, free: 2.883 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2737/1.612, allocations: 10.76 MB / 0.7858 GB, free: 95.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.18e-05/1.612, allocations: 23.91 kB / 0.7858 GB, free: 95.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.616e-05/1.612, allocations: 15.38 kB / 0.7858 GB, free: 95.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.226e-05/1.612, allocations: 14.95 kB / 0.7858 GB, free: 95.15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04608/1.658, allocations: 20.13 MB / 0.8055 GB, free: 92.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.886e-05/1.658, allocations: 6.438 kB / 0.8055 GB, free: 92.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/1.66, allocations: 383.7 kB / 0.8058 GB, free: 92.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01913/1.68, allocations: 4.997 MB / 0.8107 GB, free: 92.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005564/1.68, allocations: 39.47 kB / 0.8108 GB, free: 92.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02318/1.703, allocations: 20.16 MB / 0.8304 GB, free: 85.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/1.703, allocations: 6.625 kB / 0.8304 GB, free: 85.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02801/1.731, allocations: 14.5 MB / 0.8446 GB, free: 80.03 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003321/1.735, allocations: 0.9605 MB / 0.8455 GB, free: 79.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008372/1.736, allocations: 49.7 kB / 0.8456 GB, free: 79.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00233/1.738, allocations: 167.1 kB / 0.8458 GB, free: 79.65 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005562/1.739, allocations: 156.3 kB / 0.8459 GB, free: 79.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002051/1.739, allocations: 66 kB / 0.846 GB, free: 79.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004126/1.743, allocations: 2.642 MB / 0.8485 GB, free: 78.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.01e-07/1.743, allocations: 0 / 0.8485 GB, free: 78.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00632/1.749, allocations: 1.319 MB / 0.8498 GB, free: 78.54 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 () * 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.0006009/1.75, allocations: 191.8 kB / 0.85 GB, free: 78.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.011/1.761, allocations: 7.845 MB / 0.8577 GB, free: 75.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/1.761, allocations: 4 kB / 0.8577 GB, free: 75.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003964/1.765, allocations: 3.067 MB / 0.8607 GB, free: 72.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002761/1.768, allocations: 492.2 kB / 0.8611 GB, free: 72.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01686/1.785, allocations: 9.894 MB / 0.8708 GB, free: 63.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003369/1.788, allocations: 3.606 MB / 0.8743 GB, free: 60.81 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004894/1.793, allocations: 1.964 MB / 0.8762 GB, free: 59.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/1.794, allocations: 263 kB / 0.8765 GB, free: 59.41 MB / 442.7 MB Notification: Performance of SimCode: time 1.563e-06/1.794, allocations: 3.844 kB / 0.8765 GB, free: 59.41 MB / 442.7 MB Notification: Performance of Templates: time 0.08469/1.879, allocations: 63.66 MB / 0.9387 GB, free: 14.37 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)