Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0109/0.0109, allocations: 101.7 kB / 15.73 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002299/0.002299, allocations: 191.3 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2069/0.2069, allocations: 39.97 MB / 309.9 MB, free: 4.016 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 68.12 kB / 435.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1338, allocations: 56.87 MB / 492.6 MB, free: 2.785 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01368/0.1475, allocations: 13.49 MB / 0.4943 GB, free: 5.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01157/0.1592, allocations: 4.798 MB / 0.499 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002868/0.1621, allocations: 91.69 kB / 0.499 GB, free: 328 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006703/0.1688, allocations: 3.738 MB / 0.5027 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00635/0.1752, allocations: 2.19 MB / 0.5048 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002642/0.1779, allocations: 1.088 MB / 0.5059 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01076/0.1886, allocations: 6.191 MB / 0.5119 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3426/0.5313, allocations: 4.528 MB / 0.5164 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006579/0.538, allocations: 2.043 MB / 0.5184 GB, free: 7.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007023/0.545, allocations: 2.754 MB / 0.521 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002375/0.5474, allocations: 428.9 kB / 0.5215 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004952/0.5524, allocations: 1.447 MB / 0.5229 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005651/0.5581, allocations: 2.469 MB / 0.5253 GB, free: 6.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008955/0.567, allocations: 2.787 MB / 0.528 GB, free: 5.672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01657/0.5836, allocations: 8.822 MB / 0.5366 GB, free: 3.383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.5837, allocations: 4 kB / 0.5366 GB, free: 3.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5837, allocations: 0 / 0.5366 GB, free: 3.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004146/0.5841, allocations: 1.062 kB / 0.5366 GB, free: 3.379 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02466/0.6088, allocations: 6.262 MB / 0.5427 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.685e-05/0.6089, allocations: 12.45 kB / 0.5428 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01345/0.6223, allocations: 2.526 MB / 0.5452 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01216/0.6345, allocations: 4.114 MB / 0.5492 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000275/0.6348, allocations: 288.5 kB / 0.5495 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00208/0.6369, allocations: 389 kB / 0.5499 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02521/0.6621, allocations: 12.01 MB / 0.5616 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002222/0.6624, allocations: 59.14 kB / 0.5617 GB, free: 2.332 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006221/0.663, allocations: 177.4 kB / 0.5618 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0035/0.6665, allocations: 2.143 MB / 0.5639 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02605/0.6926, allocations: 10.37 MB / 0.5741 GB, free: 5.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08338/0.7761, allocations: 47.3 MB / 0.6203 GB, free: 5.922 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01681/0.793, allocations: 5.814 MB / 0.6259 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005046/0.7981, allocations: 2.982 MB / 0.6288 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01942/0.8175, allocations: 8.864 MB / 0.6375 GB, free: 4.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.864e-05/0.8177, allocations: 58.59 kB / 0.6376 GB, free: 3.957 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 7.665e-06/0.8177, allocations: 0 / 0.6376 GB, free: 3.957 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1328/0.9505, allocations: 35 MB / 0.6717 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/0.9507, allocations: 213.8 kB / 0.6719 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009521/0.9602, allocations: 4.793 MB / 0.6766 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001171/0.9615, allocations: 61.7 kB / 0.6767 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003231/0.9647, allocations: 3.546 MB / 0.6801 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002096/0.9668, allocations: 0.9798 MB / 0.6811 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002774/0.9696, allocations: 1.427 MB / 0.6825 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.9698, allocations: 303.8 kB / 0.6828 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006144/0.9759, allocations: 3.176 MB / 0.6859 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009299/0.9853, allocations: 7.039 MB / 0.6928 GB, free: 9.629 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01451/0.9998, allocations: 10.94 MB / 0.7034 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001343/1, allocations: 40 kB / 0.7035 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.03342/1.033, allocations: 13.75 MB / 0.7169 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000226/1.034, allocations: 67.56 kB / 0.717 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003315/1.034, allocations: 132 kB / 0.7171 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01335/1.047, allocations: 4.396 MB / 0.7214 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005993/1.053, allocations: 1.474 MB / 0.7228 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4/1.454, allocations: 29.02 MB / 0.7512 GB, free: 185.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006919/1.46, allocations: 415.2 kB / 0.7516 GB, free: 185.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001128/1.462, allocations: 406.2 kB / 0.752 GB, free: 185.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 42 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (798): * Single equations (assignments): 792 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.004981/1.467, allocations: 2.474 MB / 0.7544 GB, free: 184.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009554/1.468, allocations: 436 kB / 0.7548 GB, free: 184.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01645/1.484, allocations: 8.487 MB / 0.7631 GB, free: 181.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.451e-05/1.484, allocations: 33.72 kB / 0.7631 GB, free: 181.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.866e-05/1.484, allocations: 11.75 kB / 0.7631 GB, free: 181.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-05/1.484, allocations: 11.16 kB / 0.7631 GB, free: 181.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.032/1.516, allocations: 16.93 MB / 0.7797 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.02e-05/1.516, allocations: 4 kB / 0.7797 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/1.518, allocations: 306.5 kB / 0.78 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009882/1.528, allocations: 3.955 MB / 0.7838 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005016/1.528, allocations: 55.94 kB / 0.7839 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03173/1.56, allocations: 27.79 MB / 0.811 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.074e-05/1.56, allocations: 11.94 kB / 0.811 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03045/1.591, allocations: 12.44 MB / 0.8232 GB, free: 130.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004922/1.596, allocations: 0.9619 MB / 0.8241 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002263/1.598, allocations: 54.61 kB / 0.8242 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004504/1.602, allocations: 173.3 kB / 0.8243 GB, free: 128.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001129/1.604, allocations: 190 kB / 0.8245 GB, free: 128.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002941/1.604, allocations: 72 kB / 0.8246 GB, free: 128.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.007084/1.611, allocations: 3.03 MB / 0.8275 GB, free: 125.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.91e-07/1.611, allocations: 0 / 0.8275 GB, free: 125.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01341/1.624, allocations: 1.465 MB / 0.829 GB, free: 124.2 MB / 0.5762 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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001088/1.626, allocations: 190 kB / 0.8291 GB, free: 124 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02038/1.646, allocations: 8.473 MB / 0.8374 GB, free: 115.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-05/1.646, allocations: 0 / 0.8374 GB, free: 115.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.008408/1.655, allocations: 3.536 MB / 0.8409 GB, free: 112 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006624/1.661, allocations: 0.5838 MB / 0.8414 GB, free: 111.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03176/1.693, allocations: 12.46 MB / 0.8536 GB, free: 98.85 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007868/1.701, allocations: 3.937 MB / 0.8575 GB, free: 94.89 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005884/1.707, allocations: 1.999 MB / 0.8594 GB, free: 92.88 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/1.708, allocations: 283.4 kB / 0.8597 GB, free: 92.61 MB / 0.5762 GB Notification: Performance of SimCode: time 1.252e-06/1.708, allocations: 0 / 0.8597 GB, free: 92.61 MB / 0.5762 GB Notification: Performance of Templates: time 0.112/1.82, allocations: 69.35 MB / 0.9274 GB, free: 23.32 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1)