Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001504/0.001504, allocations: 114.9 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001851/0.001851, allocations: 210.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2128/0.2128, allocations: 46.09 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 75.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3373, allocations: 62.43 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01637/0.3537, allocations: 13.39 MB / 0.5447 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.3651, allocations: 4.8 MB / 0.5494 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002923/0.368, allocations: 94.62 kB / 0.5495 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007027/0.3751, allocations: 3.725 MB / 0.5531 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005847/0.381, allocations: 2.166 MB / 0.5552 GB, free: 9.477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002623/0.3836, allocations: 1.076 MB / 0.5563 GB, free: 8.398 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009295/0.393, allocations: 6.659 MB / 0.5628 GB, free: 1.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006685/0.3997, allocations: 4.502 MB / 0.5672 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003819/0.4035, allocations: 2.025 MB / 0.5692 GB, free: 11.13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00494/0.4085, allocations: 2.742 MB / 0.5719 GB, free: 8.379 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001792/0.4103, allocations: 428 kB / 0.5723 GB, free: 7.961 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004323/0.4147, allocations: 1.443 MB / 0.5737 GB, free: 6.516 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003572/0.4183, allocations: 2.482 MB / 0.5761 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005163/0.4235, allocations: 2.762 MB / 0.5788 GB, free: 1.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.4354, allocations: 8.758 MB / 0.5873 GB, free: 8.465 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4354, allocations: 0 / 0.5873 GB, free: 8.465 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4354, allocations: 0 / 0.5873 GB, free: 8.465 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002917/0.4357, allocations: 0 / 0.5873 GB, free: 8.465 MB / 446.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.01561/0.4513, allocations: 6.242 MB / 0.5934 GB, free: 2.148 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.4514, allocations: 8.031 kB / 0.5934 GB, free: 2.141 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/0.4627, allocations: 2.525 MB / 0.5959 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009435/0.4721, allocations: 3.937 MB / 0.5998 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003147/0.4725, allocations: 287.7 kB / 0.6 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001962/0.4745, allocations: 399.5 kB / 0.6004 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02533/0.4998, allocations: 12 MB / 0.6121 GB, free: 14.15 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002137/0.5, allocations: 55.5 kB / 0.6122 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001188/0.5013, allocations: 179.8 kB / 0.6124 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003143/0.5044, allocations: 2.14 MB / 0.6144 GB, free: 11.78 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02073/0.5252, allocations: 10.37 MB / 0.6246 GB, free: 1.398 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0623/0.5875, allocations: 47.27 MB / 0.6707 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01459/0.6021, allocations: 5.826 MB / 0.6764 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003855/0.606, allocations: 2.978 MB / 0.6793 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0152/0.6213, allocations: 8.865 MB / 0.688 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.019e-05/0.6214, allocations: 59.81 kB / 0.688 GB, free: 14.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=206): time 6.452e-06/0.6214, allocations: 0 / 0.688 GB, free: 14.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.3665/0.9879, allocations: 34.93 MB / 0.7222 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.1e-05/0.988, allocations: 208.9 kB / 0.7224 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006552/0.9946, allocations: 4.764 MB / 0.727 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005583/0.9952, allocations: 67.23 kB / 0.7271 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001863/0.9971, allocations: 3.535 MB / 0.7305 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009741/0.9981, allocations: 0.9758 MB / 0.7315 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001611/0.9997, allocations: 1.419 MB / 0.7329 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.538e-05/0.9997, allocations: 301.1 kB / 0.7331 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003559/1.003, allocations: 3.173 MB / 0.7362 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004673/1.008, allocations: 7.052 MB / 0.7431 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009504/1.017, allocations: 10.96 MB / 0.7538 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001088/1.018, allocations: 34.81 kB / 0.7539 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.0213/1.039, allocations: 13.74 MB / 0.7673 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.346e-05/1.039, allocations: 67.98 kB / 0.7673 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/1.039, allocations: 132 kB / 0.7675 GB, free: 128.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/1.05, allocations: 4.394 MB / 0.7718 GB, free: 124 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004229/1.054, allocations: 1.474 MB / 0.7732 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02982/1.084, allocations: 29.02 MB / 0.8015 GB, free: 93.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005217/1.089, allocations: 411.2 kB / 0.8019 GB, free: 92.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006764/1.09, allocations: 411.9 kB / 0.8023 GB, free: 92.3 MB / 0.5606 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.002919/1.093, allocations: 2.473 MB / 0.8047 GB, free: 89.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000647/1.093, allocations: 438.4 kB / 0.8052 GB, free: 89.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/1.107, allocations: 8.482 MB / 0.8134 GB, free: 80.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.72e-05/1.107, allocations: 11.95 kB / 0.8135 GB, free: 80.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.107, allocations: 4 kB / 0.8135 GB, free: 80.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009338/1.108, allocations: 491.3 kB / 0.8139 GB, free: 80.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005791/1.109, allocations: 44 kB / 0.814 GB, free: 80.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/1.111, allocations: 160.6 kB / 0.8141 GB, free: 80.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004861/1.111, allocations: 237.6 kB / 0.8143 GB, free: 79.93 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01343/1.124, allocations: 8.491 MB / 0.8226 GB, free: 71.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008181/1.133, allocations: 8.252 MB / 0.8307 GB, free: 63.17 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0023/1.135, allocations: 2.428 MB / 0.8331 GB, free: 60.74 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003504/1.139, allocations: 3.009 MB / 0.836 GB, free: 57.73 MB / 0.5606 GB Notification: Performance of Backend: time 3.5e-07/1.139, allocations: 0 / 0.836 GB, free: 57.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01174/1.15, allocations: 6.581 MB / 0.8424 GB, free: 51.18 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01542/1.166, allocations: 11.87 MB / 0.854 GB, free: 39.28 MB / 0.5606 GB Notification: Performance of Templates: time 0.1171/1.283, allocations: 76.34 MB / 0.9286 GB, free: 11.23 MB / 0.6075 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1)