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.001617/0.001617, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 198 kB / 16.54 MB, free: 6.672 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.641/1.641, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3825/0.3825, allocations: 39.95 MB / 309.7 MB, free: 9.301 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.001849/0.001849, allocations: 75.02 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1441, allocations: 56.88 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.0166/0.1607, allocations: 13.47 MB / 448 MB, free: 6.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01373/0.1745, allocations: 4.809 MB / 452.8 MB, free: 1.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004392/0.179, allocations: 91.69 kB / 452.9 MB, free: 1.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3247/0.5038, allocations: 3.736 MB / 456.6 MB, free: 36.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008523/0.5124, allocations: 2.194 MB / 458.8 MB, free: 36.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003174/0.5156, allocations: 1.084 MB / 459.9 MB, free: 36.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01029/0.5259, allocations: 6.197 MB / 466.1 MB, free: 36.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005337/0.5313, allocations: 4.528 MB / 470.6 MB, free: 34.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004357/0.5357, allocations: 2.04 MB / 472.6 MB, free: 34.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004816/0.5405, allocations: 2.753 MB / 475.4 MB, free: 33.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001393/0.542, allocations: 430.4 kB / 475.8 MB, free: 33.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004006/0.546, allocations: 1.441 MB / 477.3 MB, free: 33.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003388/0.5494, allocations: 2.469 MB / 479.7 MB, free: 32.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006036/0.5554, allocations: 2.799 MB / 482.5 MB, free: 30.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01891/0.5744, allocations: 8.571 MB / 491.1 MB, free: 27.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.315e-05/0.5744, allocations: 6.688 kB / 491.1 MB, free: 27.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.5745, allocations: 0 / 491.1 MB, free: 27.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005884/0.5751, allocations: 0 / 491.1 MB, free: 27.33 MB / 382.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.02966/0.6047, allocations: 6.261 MB / 497.4 MB, free: 24.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.111e-05/0.6048, allocations: 12.64 kB / 497.4 MB, free: 24.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01391/0.6187, allocations: 2.521 MB / 499.9 MB, free: 23.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01228/0.6311, allocations: 4.045 MB / 0.4921 GB, free: 21.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003597/0.6315, allocations: 283.2 kB / 0.4924 GB, free: 20.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00243/0.6339, allocations: 386.2 kB / 0.4928 GB, free: 20.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03577/0.6697, allocations: 12 MB / 0.5045 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00041/0.6702, allocations: 63.44 kB / 0.5045 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002309/0.6725, allocations: 176.6 kB / 0.5047 GB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003605/0.6761, allocations: 2.142 MB / 0.5068 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02291/0.699, allocations: 10.37 MB / 0.5169 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0856/0.7847, allocations: 47.52 MB / 0.5633 GB, free: 192 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01618/0.8009, allocations: 5.831 MB / 0.569 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004556/0.8055, allocations: 2.962 MB / 0.5719 GB, free: 7.242 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01808/0.8236, allocations: 8.874 MB / 0.5806 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.536e-05/0.8238, allocations: 51.88 kB / 0.5806 GB, free: 14.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=206): time 5.491e-06/0.8238, allocations: 0 / 0.5806 GB, free: 14.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=262): time 0.1452/0.969, allocations: 34.99 MB / 0.6148 GB, free: 11.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001836/0.9692, allocations: 217.8 kB / 0.615 GB, free: 10.94 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0118/0.981, allocations: 4.805 MB / 0.6197 GB, free: 6.129 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009985/0.9821, allocations: 64.2 kB / 0.6198 GB, free: 6.062 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003603/0.9857, allocations: 3.54 MB / 0.6232 GB, free: 2.523 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002023/0.9877, allocations: 0.9731 MB / 0.6242 GB, free: 1.559 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002865/0.9906, allocations: 1.424 MB / 0.6256 GB, free: 128 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.2825/1.273, allocations: 301.1 kB / 0.6259 GB, free: 146 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008039/1.281, allocations: 3.175 MB / 0.629 GB, free: 146 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00909/1.29, allocations: 7.04 MB / 0.6358 GB, free: 140.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01438/1.305, allocations: 10.95 MB / 0.6465 GB, free: 132.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001794/1.305, allocations: 39.09 kB / 0.6466 GB, free: 132.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.03675/1.342, allocations: 13.75 MB / 0.66 GB, free: 127.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004517/1.342, allocations: 62.59 kB / 0.66 GB, free: 127.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006426/1.343, allocations: 133.3 kB / 0.6602 GB, free: 127.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01642/1.359, allocations: 4.404 MB / 0.6645 GB, free: 126.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006646/1.366, allocations: 1.477 MB / 0.6659 GB, free: 126.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04342/1.409, allocations: 29.06 MB / 0.6943 GB, free: 110.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01009/1.42, allocations: 403.5 kB / 0.6947 GB, free: 110.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002738/1.422, allocations: 411.3 kB / 0.6951 GB, free: 110.2 MB / 494.1 MB 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.009273/1.432, allocations: 2.473 MB / 0.6975 GB, free: 107.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001707/1.433, allocations: 438.4 kB / 0.6979 GB, free: 107.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01819/1.452, allocations: 8.488 MB / 0.7062 GB, free: 99.22 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.003e-05/1.452, allocations: 31.66 kB / 0.7062 GB, free: 99.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-05/1.452, allocations: 13.09 kB / 0.7062 GB, free: 99.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.413e-05/1.452, allocations: 11.95 kB / 0.7062 GB, free: 99.17 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04098/1.493, allocations: 17.08 MB / 0.7229 GB, free: 82.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.262e-05/1.493, allocations: 7.938 kB / 0.7229 GB, free: 82.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001855/1.495, allocations: 299.5 kB / 0.7232 GB, free: 81.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01048/1.505, allocations: 3.977 MB / 0.7271 GB, free: 77.81 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007693/1.506, allocations: 51.44 kB / 0.7272 GB, free: 77.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03495/1.541, allocations: 27.75 MB / 0.7542 GB, free: 49.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/1.541, allocations: 9.734 kB / 0.7543 GB, free: 49.65 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02244/1.564, allocations: 12.43 MB / 0.7664 GB, free: 37.08 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003638/1.567, allocations: 0.96 MB / 0.7673 GB, free: 36.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002246/1.57, allocations: 47.98 kB / 0.7674 GB, free: 36.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003736/1.573, allocations: 177 kB / 0.7675 GB, free: 35.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001073/1.574, allocations: 194 kB / 0.7677 GB, free: 35.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003841/1.575, allocations: 72 kB / 0.7678 GB, free: 35.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007902/1.583, allocations: 3.03 MB / 0.7708 GB, free: 32.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.22e-07/1.583, allocations: 0 / 0.7708 GB, free: 32.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01155/1.594, allocations: 1.468 MB / 0.7722 GB, free: 31.13 MB / 494.1 MB 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.001204/1.596, allocations: 193 kB / 0.7724 GB, free: 30.94 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01904/1.615, allocations: 10.01 MB / 0.7822 GB, free: 20.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/1.615, allocations: 4 kB / 0.7822 GB, free: 20.92 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006372/1.621, allocations: 3.524 MB / 0.7856 GB, free: 17.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007906/1.629, allocations: 0.5907 MB / 0.7862 GB, free: 16.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03063/1.66, allocations: 12.59 MB / 0.7985 GB, free: 4.117 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009865/1.67, allocations: 3.933 MB / 0.8023 GB, free: 156 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007274/1.677, allocations: 2.003 MB / 0.8043 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001412/1.678, allocations: 283.4 kB / 0.8045 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of SimCode: time 9.11e-07/1.678, allocations: 0 / 0.8045 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of Templates: time 0.4568/2.135, allocations: 72.67 MB / 0.8755 GB, free: 117 MB / 0.4981 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)