Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005264/0.005264, allocations: 369.4 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.953/3.953, allocations: 388.9 MB / 405.6 MB, free: 10.33 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.004965/0.004965, allocations: 226.9 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.555/0.555, allocations: 80.03 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.000473, allocations: 12 kB / 0.6265 GB, free: 96.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09844/0.09894, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.4705/0.5695, allocations: 54.23 MB / 0.7331 GB, free: 11.84 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03313/0.6027, allocations: 11.89 MB / 0.7447 GB, free: 10.31 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01283/0.6156, allocations: 263.5 kB / 0.7449 GB, free: 10.27 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01029/0.6259, allocations: 2.638 MB / 0.7475 GB, free: 9.734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03196/0.658, allocations: 9.16 MB / 0.7564 GB, free: 5.445 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006709/0.6647, allocations: 0.9156 MB / 0.7573 GB, free: 5.055 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.1028/0.7676, allocations: 29.27 MB / 0.7859 GB, free: 13.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01467/0.7824, allocations: 5.573 MB / 0.7914 GB, free: 7.535 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004518/0.787, allocations: 1.611 MB / 0.7929 GB, free: 5.918 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00611/0.7931, allocations: 2.555 MB / 0.7954 GB, free: 3.355 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00134/0.7945, allocations: 172 kB / 0.7956 GB, free: 3.188 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004295/0.7988, allocations: 1.131 MB / 0.7967 GB, free: 2.055 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004137/0.803, allocations: 2.154 MB / 0.7988 GB, free: 15.89 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002453/0.8055, allocations: 1.022 MB / 0.7998 GB, free: 14.86 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01204/0.8176, allocations: 6.796 MB / 0.8064 GB, free: 8.051 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/0.8177, allocations: 3.938 kB / 0.8064 GB, free: 8.047 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.8177, allocations: 0 / 0.8064 GB, free: 8.047 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003251/0.8181, allocations: 0 / 0.8064 GB, free: 8.047 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.02412/0.8422, allocations: 5.415 MB / 0.8117 GB, free: 2.562 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.25e-05/0.8423, allocations: 8.828 kB / 0.8117 GB, free: 2.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03176/0.8741, allocations: 3.027 MB / 0.8147 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01401/0.8881, allocations: 3.957 MB / 0.8186 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004154/0.8886, allocations: 287.3 kB / 0.8188 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002009/0.8906, allocations: 387.6 kB / 0.8192 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03859/0.9293, allocations: 12.18 MB / 0.8311 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000379/0.9297, allocations: 63.42 kB / 0.8312 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002264/0.932, allocations: 179.8 kB / 0.8313 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008002/0.9401, allocations: 2.077 MB / 0.8334 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05136/0.9915, allocations: 10.52 MB / 0.8436 GB, free: 1.031 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1142/1.106, allocations: 47.41 MB / 0.8899 GB, free: 288 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03353/1.139, allocations: 5.913 MB / 0.8957 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006773/1.146, allocations: 2.955 MB / 0.8986 GB, free: 7.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3474/1.494, allocations: 8.876 MB / 0.9073 GB, free: 172 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.861e-05/1.494, allocations: 56.56 kB / 0.9073 GB, free: 171.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=206): time 7.003e-06/1.494, allocations: 0 / 0.9073 GB, free: 171.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=262): time 0.2494/1.743, allocations: 35.56 MB / 0.942 GB, free: 159.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.403e-05/1.743, allocations: 209.9 kB / 0.9422 GB, free: 158.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01043/1.754, allocations: 4.737 MB / 0.9469 GB, free: 154.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009382/1.755, allocations: 66.25 kB / 0.9469 GB, free: 154.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004479/1.759, allocations: 3.538 MB / 0.9504 GB, free: 150.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002249/1.762, allocations: 0.9759 MB / 0.9513 GB, free: 149.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001623/1.763, allocations: 137 kB / 0.9515 GB, free: 149.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00108/1.765, allocations: 0.5956 MB / 0.952 GB, free: 148.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01193/1.777, allocations: 3.145 MB / 0.9551 GB, free: 145.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01535/1.792, allocations: 6.992 MB / 0.9619 GB, free: 136.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01605/1.808, allocations: 4.584 MB / 0.9664 GB, free: 132.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001634/1.808, allocations: 36 kB / 0.9665 GB, free: 132.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=911) (initialization): time 0.05617/1.865, allocations: 13.67 MB / 0.9798 GB, free: 118.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/1.865, allocations: 68.25 kB / 0.9799 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001816/1.865, allocations: 135.9 kB / 0.98 GB, free: 118.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02228/1.887, allocations: 4.41 MB / 0.9843 GB, free: 113.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008737/1.896, allocations: 1.478 MB / 0.9857 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.058/1.954, allocations: 26.82 MB / 1.012 GB, free: 85.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008524/1.963, allocations: 411.3 kB / 1.012 GB, free: 84.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002002/1.965, allocations: 411.9 kB / 1.013 GB, free: 84.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 609 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (795): * Single equations (assignments): 789 * 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.008464/1.973, allocations: 2.464 MB / 1.015 GB, free: 81.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001695/1.975, allocations: 434.5 kB / 1.016 GB, free: 81.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04091/2.016, allocations: 8.467 MB / 1.024 GB, free: 73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.38e-05/2.016, allocations: 11.95 kB / 1.024 GB, free: 72.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/2.016, allocations: 8 kB / 1.024 GB, free: 72.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004301/2.02, allocations: 0.96 MB / 1.025 GB, free: 72 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002271/2.023, allocations: 44 kB / 1.025 GB, free: 71.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006285/2.029, allocations: 176.8 kB / 1.025 GB, free: 71.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001383/2.03, allocations: 241.5 kB / 1.025 GB, free: 71.55 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03374/2.064, allocations: 8.47 MB / 1.033 GB, free: 63.12 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01827/2.083, allocations: 8.209 MB / 1.042 GB, free: 54.85 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004988/2.088, allocations: 2.426 MB / 1.044 GB, free: 52.42 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006611/2.094, allocations: 2.986 MB / 1.047 GB, free: 49.44 MB / 490.7 MB Notification: Performance of Backend: time 1.593e-06/2.094, allocations: 4 kB / 1.047 GB, free: 49.44 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02079/2.115, allocations: 6.492 MB / 1.053 GB, free: 42.96 MB / 490.7 MB Notification: Performance of SimCode: time 0.02886/2.144, allocations: 13.88 MB / 1.067 GB, free: 29.04 MB / 490.7 MB Notification: Performance of Templates: time 0.5323/2.676, allocations: 70.81 MB / 1.136 GB, free: 127.6 MB / 490.7 MB