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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01096/0.01096, allocations: 104.1 kB / 15.74 MB, free: 6.047 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.002201/0.002201, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.742/1.742, 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.2109/0.2109, allocations: 39.96 MB / 309.9 MB, free: 4.008 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.001471/0.001471, allocations: 70.25 kB / 435.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1586, allocations: 56.88 MB / 492.6 MB, free: 2.781 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01775/0.1764, allocations: 15.1 MB / 0.4958 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01262/0.189, allocations: 4.839 MB / 0.5006 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00396/0.193, allocations: 91.75 kB / 0.5007 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006563/0.1997, allocations: 3.157 MB / 0.5037 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008374/0.2081, allocations: 2.552 MB / 0.5062 GB, free: 8.934 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002614/0.2107, allocations: 0.9905 MB / 0.5072 GB, free: 7.941 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01098/0.2217, allocations: 6.653 MB / 0.5137 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3543/0.576, allocations: 4.364 MB / 0.518 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006285/0.5824, allocations: 2.239 MB / 0.5201 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007516/0.5899, allocations: 3.269 MB / 0.5233 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002645/0.5926, allocations: 489.8 kB / 0.5238 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005906/0.5985, allocations: 1.494 MB / 0.5253 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005381/0.6039, allocations: 2.903 MB / 0.5281 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006783/0.6107, allocations: 3.256 MB / 0.5313 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01869/0.6294, allocations: 10.46 MB / 0.5415 GB, free: 68 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.341e-05/0.6295, allocations: 0 / 0.5415 GB, free: 68 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.6295, allocations: 0 / 0.5415 GB, free: 68 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007067/0.6303, allocations: 4 kB / 0.5415 GB, free: 64 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.03053/0.6608, allocations: 7.324 MB / 0.5486 GB, free: 11.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.804e-05/0.6609, allocations: 14.05 kB / 0.5487 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01734/0.6782, allocations: 3.923 MB / 0.5525 GB, free: 9.285 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01365/0.6919, allocations: 4.289 MB / 0.5567 GB, free: 6.918 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003746/0.6924, allocations: 317.2 kB / 0.557 GB, free: 6.824 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002781/0.6952, allocations: 437.9 kB / 0.5574 GB, free: 6.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03606/0.7312, allocations: 15.74 MB / 0.5728 GB, free: 6.098 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002166/0.7315, allocations: 54.25 kB / 0.5728 GB, free: 6.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007627/0.7323, allocations: 205.3 kB / 0.573 GB, free: 5.926 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005888/0.7382, allocations: 3.222 MB / 0.5762 GB, free: 2.734 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03331/0.7715, allocations: 14.16 MB / 0.59 GB, free: 4.793 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09401/0.8656, allocations: 57.51 MB / 0.6462 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01498/0.8806, allocations: 6.606 MB / 0.6526 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005684/0.8864, allocations: 3.757 MB / 0.6563 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03156/0.918, allocations: 14.77 MB / 0.6707 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.714e-05/0.9181, allocations: 66.25 kB / 0.6708 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=292): time 8.255e-06/0.9181, allocations: 0 / 0.6708 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of matching and sorting (n=342): time 0.1549/1.073, allocations: 42.55 MB / 0.7123 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/1.073, allocations: 218 kB / 0.7125 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01052/1.084, allocations: 5.486 MB / 0.7179 GB, free: 408 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001281/1.085, allocations: 77.55 kB / 0.718 GB, free: 328 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0045/1.09, allocations: 4.35 MB / 0.7222 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002744/1.092, allocations: 1.262 MB / 0.7234 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004358/1.097, allocations: 1.864 MB / 0.7253 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001511/1.097, allocations: 305.1 kB / 0.7255 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009139/1.106, allocations: 4.835 MB / 0.7303 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4346/1.541, allocations: 9.82 MB / 0.7399 GB, free: 190.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02805/1.569, allocations: 15.63 MB / 0.7551 GB, free: 180 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004726/1.569, allocations: 49.69 kB / 0.7552 GB, free: 180 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.05672/1.626, allocations: 19.61 MB / 0.7743 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000235/1.626, allocations: 79.09 kB / 0.7744 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003436/1.627, allocations: 170.5 kB / 0.7746 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02341/1.65, allocations: 5.939 MB / 0.7804 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008901/1.659, allocations: 2.124 MB / 0.7824 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03003/1.689, allocations: 26.17 MB / 0.808 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01067/1.7, allocations: 0.5554 MB / 0.8085 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002642/1.703, allocations: 0.514 MB / 0.809 GB, free: 146.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * Number of states: 0 () * Number of discrete variables: 45 (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.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 (1099): * Single equations (assignments): 1091 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0073/1.71, allocations: 3.1 MB / 0.8121 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001419/1.711, allocations: 498.9 kB / 0.8125 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02946/1.741, allocations: 13.01 MB / 0.8252 GB, free: 130.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-05/1.741, allocations: 62.02 kB / 0.8253 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.3e-05/1.741, allocations: 12 kB / 0.8253 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.221e-05/1.741, allocations: 12.83 kB / 0.8253 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05014/1.791, allocations: 24.61 MB / 0.8494 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.634e-05/1.791, allocations: 8 kB / 0.8494 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003407/1.795, allocations: 0.5834 MB / 0.8499 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0192/1.814, allocations: 4.965 MB / 0.8548 GB, free: 99.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001153/1.815, allocations: 62.91 kB / 0.8548 GB, free: 99.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02433/1.839, allocations: 21.36 MB / 0.8757 GB, free: 77.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.839, allocations: 11.94 kB / 0.8757 GB, free: 77.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03463/1.874, allocations: 17.6 MB / 0.8929 GB, free: 60.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004904/1.879, allocations: 1.252 MB / 0.8941 GB, free: 59.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001629/1.881, allocations: 55.94 kB / 0.8942 GB, free: 58.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003435/1.884, allocations: 265.1 kB / 0.8944 GB, free: 58.72 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008032/1.885, allocations: 193.7 kB / 0.8946 GB, free: 58.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002776/1.885, allocations: 92.31 kB / 0.8947 GB, free: 58.44 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005376/1.891, allocations: 3.418 MB / 0.898 GB, free: 55.04 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/1.891, allocations: 0 / 0.898 GB, free: 55.04 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01185/1.902, allocations: 1.765 MB / 0.8998 GB, free: 53.28 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 (257): * Single equations (assignments): 249 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001195/1.904, allocations: 206.9 kB / 0.9 GB, free: 53.08 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01664/1.92, allocations: 11.04 MB / 0.9107 GB, free: 42.05 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/1.92, allocations: 384 / 0.9107 GB, free: 42.05 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005868/1.926, allocations: 4.136 MB / 0.9148 GB, free: 37.89 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005202/1.932, allocations: 0.6198 MB / 0.9154 GB, free: 37.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02883/1.96, allocations: 16.11 MB / 0.9311 GB, free: 21.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004584/1.965, allocations: 4.632 MB / 0.9356 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006017/1.971, allocations: 2.978 MB / 0.9385 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/1.972, allocations: 347.4 kB / 0.9389 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of SimCode: time 1.062e-06/1.972, allocations: 0 / 0.9389 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of Templates: time 0.4312/2.404, allocations: 77.65 MB / 1.015 GB, free: 145 MB / 0.5762 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)