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.001158/0.001158, allocations: 165.8 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.379/1.379, allocations: 170.6 MB / 178.7 MB, free: 15.66 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.001628/0.001628, allocations: 111.5 kB / 218 MB, free: 8.422 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.184/0.184, allocations: 37.97 MB / 295.1 MB, free: 9.531 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.973e-05/1.976e-05, allocations: 1.469 kB / 350 MB, free: 37.04 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1008, allocations: 48.72 MB / 398.7 MB, free: 5.391 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4427/0.5435, allocations: 93.57 MB / 492.3 MB, free: 17.81 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.5438, allocations: 74.84 kB / 492.4 MB, free: 17.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2481/0.7919, allocations: 100.8 MB / 0.5793 GB, free: 10.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.792, allocations: 0 / 0.5793 GB, free: 10.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003265/0.7923, allocations: 104 kB / 0.5794 GB, free: 9.941 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: 1723 * Number of variables: 1723 Notification: Performance of Generate backend data structure: time 0.01886/0.8112, allocations: 5.194 MB / 0.5845 GB, free: 4.676 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.8113, allocations: 15.97 kB / 0.5845 GB, free: 4.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02815/0.8394, allocations: 6.885 MB / 0.5912 GB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01916/0.8586, allocations: 7.465 MB / 0.5985 GB, free: 6.207 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/0.8589, allocations: 160 kB / 0.5987 GB, free: 6.051 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002425/0.8614, allocations: 295.8 kB / 0.5989 GB, free: 5.762 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0153/0.8767, allocations: 7.036 MB / 0.6058 GB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02329/0.9, allocations: 10.79 MB / 0.6164 GB, free: 2.805 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002566/0.9003, allocations: 71.34 kB / 0.6164 GB, free: 2.734 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009141/0.9013, allocations: 36 kB / 0.6165 GB, free: 2.699 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001572/0.9028, allocations: 1.137 MB / 0.6176 GB, free: 1.562 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3355/1.238, allocations: 53.92 MB / 0.6702 GB, free: 51.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005265/1.244, allocations: 4.332 MB / 0.6744 GB, free: 51.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003048/1.247, allocations: 2.736 MB / 0.6771 GB, free: 51.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006196/1.247, allocations: 0.567 MB / 0.6777 GB, free: 50.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/1.247, allocations: 56.84 kB / 0.6777 GB, free: 50.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=213): time 5.039e-06/1.247, allocations: 0 / 0.6777 GB, free: 50.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=272): time 0.06219/1.31, allocations: 27.01 MB / 0.7041 GB, free: 42.56 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.649e-05/1.31, allocations: 209.2 kB / 0.7043 GB, free: 42.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005785/1.316, allocations: 3.592 MB / 0.7078 GB, free: 41.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007369/1.316, allocations: 29.08 kB / 0.7078 GB, free: 41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002294/1.319, allocations: 3.637 MB / 0.7114 GB, free: 38.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001351/1.32, allocations: 0.9713 MB / 0.7123 GB, free: 37.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003371/1.32, allocations: 0 / 0.7123 GB, free: 37.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003624/1.321, allocations: 0.6023 MB / 0.7129 GB, free: 37.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003511/1.324, allocations: 2.874 MB / 0.7157 GB, free: 36.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005443/1.33, allocations: 6.78 MB / 0.7224 GB, free: 29.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005924/1.336, allocations: 4.374 MB / 0.7266 GB, free: 28.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.896e-05/1.336, allocations: 39.34 kB / 0.7267 GB, free: 28.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=907) (initialization): time 0.0221/1.358, allocations: 12.13 MB / 0.7385 GB, free: 21.44 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.252e-05/1.358, allocations: 71.94 kB / 0.7386 GB, free: 21.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/1.358, allocations: 136 kB / 0.7387 GB, free: 21.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009901/1.368, allocations: 3.968 MB / 0.7426 GB, free: 18.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004588/1.373, allocations: 1.467 MB / 0.744 GB, free: 17.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02961/1.402, allocations: 24.36 MB / 0.7678 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006308/1.409, allocations: 273.2 kB / 0.7681 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001495/1.41, allocations: 410.6 kB / 0.7685 GB, free: 11.21 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (791): * Single equations (assignments): 785 * 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.001603/1.412, allocations: 470.3 kB / 0.7689 GB, free: 10.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001208/1.413, allocations: 410.6 kB / 0.7693 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01627/1.429, allocations: 7.747 MB / 0.7769 GB, free: 4.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-05/1.429, allocations: 28.55 kB / 0.7769 GB, free: 4.312 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.563e-05/1.429, allocations: 12 kB / 0.7769 GB, free: 4.301 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.785e-05/1.429, allocations: 17.92 kB / 0.7769 GB, free: 4.297 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3211/1.751, allocations: 15.75 MB / 0.7923 GB, free: 90.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.771e-05/1.751, allocations: 6.391 kB / 0.7923 GB, free: 90.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001723/1.752, allocations: 307.8 kB / 0.7926 GB, free: 90.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01192/1.764, allocations: 3.671 MB / 0.7962 GB, free: 90.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001253/1.766, allocations: 8.594 kB / 0.7962 GB, free: 90.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03084/1.797, allocations: 23.08 MB / 0.8187 GB, free: 86.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/1.797, allocations: 10.44 kB / 0.8187 GB, free: 86.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01865/1.815, allocations: 12.3 MB / 0.8308 GB, free: 82.03 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002679/1.818, allocations: 0.9111 MB / 0.8316 GB, free: 81.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007363/1.819, allocations: 14.83 kB / 0.8317 GB, free: 81.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00227/1.821, allocations: 122.6 kB / 0.8318 GB, free: 81.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007316/1.822, allocations: 200.8 kB / 0.832 GB, free: 81.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/1.822, allocations: 77.75 kB / 0.832 GB, free: 81.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004487/1.826, allocations: 2.44 MB / 0.8344 GB, free: 80.78 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.61e-07/1.826, allocations: 0 / 0.8344 GB, free: 80.78 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008025/1.835, allocations: 1.238 MB / 0.8356 GB, free: 80.78 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 (168): * 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): 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.0005746/1.835, allocations: 150 kB / 0.8358 GB, free: 80.69 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.012/1.847, allocations: 7.764 MB / 0.8434 GB, free: 77.94 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-05/1.847, allocations: 0 / 0.8434 GB, free: 77.94 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00595/1.853, allocations: 3.354 MB / 0.8466 GB, free: 76.42 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003294/1.857, allocations: 469.6 kB / 0.8471 GB, free: 76.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02009/1.877, allocations: 10.26 MB / 0.8571 GB, free: 72.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00534/1.882, allocations: 4.033 MB / 0.861 GB, free: 71.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005311/1.887, allocations: 2.087 MB / 0.8631 GB, free: 70.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007855/1.888, allocations: 267.8 kB / 0.8633 GB, free: 70.96 MB / 442.7 MB Notification: Performance of SimCode: time 1.463e-06/1.888, allocations: 0 / 0.8633 GB, free: 70.96 MB / 442.7 MB Notification: Performance of Templates: time 0.09798/1.986, allocations: 60.23 MB / 0.9222 GB, free: 21.86 MB / 442.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)