Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008097/0.008097, allocations: 174.9 kB / 15.12 MB, free: 5.973 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.509/1.509, allocations: 194.5 MB / 210.3 MB, free: 7.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.001781/0.001781, allocations: 132.5 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1892/0.1892, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.0004229, allocations: 13.25 kB / 406.2 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1229, allocations: 54.87 MB / 461 MB, free: 3.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4384/0.5614, allocations: 103 MB / 0.5508 GB, free: 21.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.5617, allocations: 80.75 kB / 0.5509 GB, free: 21.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3078/0.8695, allocations: 126.4 MB / 0.6743 GB, free: 244 kB / 442.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.8696, allocations: 4 kB / 0.6743 GB, free: 240 kB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003904/0.87, allocations: 120 kB / 0.6744 GB, free: 120 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: 2239 * Number of variables: 2239 Notification: Performance of Generate backend data structure: time 0.02643/0.8964, allocations: 6.775 MB / 0.681 GB, free: 9.258 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.281e-05/0.8965, allocations: 11.97 kB / 0.681 GB, free: 9.246 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03321/0.9297, allocations: 8.31 MB / 0.6891 GB, free: 0.9141 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02303/0.9528, allocations: 7.392 MB / 0.6963 GB, free: 9.461 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005836/0.9534, allocations: 451.8 kB / 0.6968 GB, free: 9.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004015/0.9575, allocations: 0.5857 MB / 0.6973 GB, free: 8.434 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04313/1.001, allocations: 15.71 MB / 0.7127 GB, free: 7.559 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003657/1.001, allocations: 75.25 kB / 0.7128 GB, free: 7.484 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002544/1.004, allocations: 287.8 kB / 0.713 GB, free: 7.203 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002441/1.006, allocations: 1.616 MB / 0.7146 GB, free: 5.586 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3085/1.315, allocations: 13.99 MB / 0.7283 GB, free: 93.12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08109/1.396, allocations: 64 MB / 0.7908 GB, free: 59.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01346/1.409, allocations: 6.471 MB / 0.7971 GB, free: 57.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02158/1.431, allocations: 14.43 MB / 0.8112 GB, free: 50.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.093e-05/1.431, allocations: 63.06 kB / 0.8112 GB, free: 50.06 MB / 490.7 MB Notification: Performance of pre-optimization done (n=289): time 7.263e-06/1.431, allocations: 3.281 kB / 0.8112 GB, free: 50.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=339): time 0.1403/1.571, allocations: 42.34 MB / 0.8526 GB, free: 35.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/1.571, allocations: 217.5 kB / 0.8528 GB, free: 35.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01192/1.583, allocations: 4.819 MB / 0.8575 GB, free: 31.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001027/1.584, allocations: 73.7 kB / 0.8576 GB, free: 31.53 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003557/1.588, allocations: 4.416 MB / 0.8619 GB, free: 27.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002052/1.59, allocations: 1.248 MB / 0.8631 GB, free: 26.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001508/1.592, allocations: 172 kB / 0.8633 GB, free: 26.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001221/1.593, allocations: 0.6777 MB / 0.8639 GB, free: 25.74 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007577/1.6, allocations: 4.569 MB / 0.8684 GB, free: 21.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01286/1.613, allocations: 9.497 MB / 0.8777 GB, free: 10.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01071/1.624, allocations: 6.443 MB / 0.884 GB, free: 5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002476/1.624, allocations: 52 kB / 0.884 GB, free: 4.949 MB / 490.7 MB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.04927/1.674, allocations: 18.7 MB / 0.9023 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003303/1.674, allocations: 76 kB / 0.9024 GB, free: 5.816 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004385/1.675, allocations: 179.9 kB / 0.9025 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02205/1.697, allocations: 5.629 MB / 0.908 GB, free: 8 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2435/1.94, allocations: 2.058 MB / 0.91 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03125/1.971, allocations: 24.29 MB / 0.9337 GB, free: 99.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007742/1.979, allocations: 0.5397 MB / 0.9343 GB, free: 99.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001764/1.981, allocations: 0.5042 MB / 0.9348 GB, free: 99.37 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 790 * Number of states: 0 () * Number of discrete variables: 42 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1058): * Single equations (assignments): 1050 * Array equations: 6 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006131/1.987, allocations: 3.094 MB / 0.9378 GB, free: 99.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001193/1.988, allocations: 0.4948 MB / 0.9383 GB, free: 99.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02854/2.017, allocations: 12.42 MB / 0.9504 GB, free: 98.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.018e-05/2.017, allocations: 56.02 kB / 0.9505 GB, free: 98.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.111e-05/2.017, allocations: 9.344 kB / 0.9505 GB, free: 98.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.947e-05/2.017, allocations: 15.17 kB / 0.9505 GB, free: 98.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05333/2.07, allocations: 24.04 MB / 0.974 GB, free: 89.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-05/2.071, allocations: 4.156 kB / 0.974 GB, free: 89.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003209/2.074, allocations: 0.5782 MB / 0.9745 GB, free: 89.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0178/2.092, allocations: 4.65 MB / 0.9791 GB, free: 88.78 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009308/2.093, allocations: 57.38 kB / 0.9791 GB, free: 88.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02372/2.116, allocations: 19.58 MB / 0.9982 GB, free: 79.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/2.116, allocations: 5.812 kB / 0.9983 GB, free: 79.31 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0358/2.152, allocations: 17.49 MB / 1.015 GB, free: 71.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004669/2.157, allocations: 1.226 MB / 1.017 GB, free: 70.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001984/2.159, allocations: 55.38 kB / 1.017 GB, free: 69.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004468/2.163, allocations: 249.2 kB / 1.017 GB, free: 69.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001163/2.165, allocations: 190.9 kB / 1.017 GB, free: 69.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007125/2.165, allocations: 87.89 kB / 1.017 GB, free: 69.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007918/2.173, allocations: 3.355 MB / 1.02 GB, free: 66.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.21e-07/2.173, allocations: 0 / 1.02 GB, free: 66.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01097/2.184, allocations: 1.707 MB / 1.022 GB, free: 65.19 MB / 0.4948 GB 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 (254): * Single equations (assignments): 246 * Array equations: 6 * 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 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001245/2.186, allocations: 209.1 kB / 1.022 GB, free: 65.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01734/2.203, allocations: 10.5 MB / 1.032 GB, free: 56.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/2.203, allocations: 0 / 1.032 GB, free: 56.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005813/2.209, allocations: 3.991 MB / 1.036 GB, free: 52.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004241/2.213, allocations: 0.5845 MB / 1.037 GB, free: 52.06 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03339/2.246, allocations: 18.34 MB / 1.055 GB, free: 35.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007758/2.254, allocations: 4.751 MB / 1.06 GB, free: 31.98 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007891/2.262, allocations: 2.991 MB / 1.062 GB, free: 30.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001466/2.264, allocations: 346.4 kB / 1.063 GB, free: 29.89 MB / 0.4948 GB Notification: Performance of SimCode: time 1.523e-06/2.264, allocations: 0 / 1.063 GB, free: 29.89 MB / 0.4948 GB Notification: Performance of Templates: time 0.3656/2.629, allocations: 73.51 MB / 1.135 GB, free: 89.83 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1)