Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009641/0.009642, allocations: 100.2 kB / 15.73 MB, free: 6.469 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.001985/0.001985, allocations: 193.5 kB / 16.67 MB, free: 6.379 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.709/1.709, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.3713/0.3713, allocations: 39.95 MB / 309.8 MB, free: 9.266 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.002415/0.002415, allocations: 71.89 kB / 435.8 MB, free: 2.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.396, allocations: 56.88 MB / 492.6 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01364/0.4097, allocations: 12.11 MB / 0.4929 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.4209, allocations: 4.313 MB / 0.4971 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003379/0.4243, allocations: 76.53 kB / 0.4972 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005485/0.4298, allocations: 2.737 MB / 0.4999 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007069/0.4369, allocations: 2.011 MB / 0.5018 GB, free: 4.941 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00257/0.4395, allocations: 0.9131 MB / 0.5027 GB, free: 4.332 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00962/0.4491, allocations: 5.257 MB / 0.5079 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006185/0.4554, allocations: 3.364 MB / 0.5112 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004226/0.4596, allocations: 1.733 MB / 0.5128 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005436/0.4651, allocations: 2.533 MB / 0.5153 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002019/0.4671, allocations: 386.4 kB / 0.5157 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004288/0.4714, allocations: 1.412 MB / 0.5171 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003181/0.4746, allocations: 2.221 MB / 0.5192 GB, free: 9.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003056/0.4777, allocations: 2.451 MB / 0.5216 GB, free: 6.754 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.4882, allocations: 7.915 MB / 0.5294 GB, free: 14.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.16e-05/0.4882, allocations: 0 / 0.5294 GB, free: 14.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.449e-06/0.4882, allocations: 0 / 0.5294 GB, free: 14.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003629/0.4886, allocations: 0 / 0.5294 GB, free: 14.81 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01517/0.5038, allocations: 5.521 MB / 0.5347 GB, free: 9.215 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.5039, allocations: 11.89 kB / 0.5348 GB, free: 9.203 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.5149, allocations: 2.475 MB / 0.5372 GB, free: 6.719 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009886/0.5249, allocations: 3.539 MB / 0.5406 GB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.5251, allocations: 234.5 kB / 0.5409 GB, free: 2.891 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001175/0.5263, allocations: 339.6 kB / 0.5412 GB, free: 2.559 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02138/0.5477, allocations: 10.87 MB / 0.5518 GB, free: 6.949 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001438/0.5479, allocations: 59.44 kB / 0.5519 GB, free: 6.891 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004153/0.5483, allocations: 155.9 kB / 0.552 GB, free: 6.738 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003182/0.5515, allocations: 1.998 MB / 0.554 GB, free: 4.734 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02074/0.5722, allocations: 9.448 MB / 0.5632 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06374/0.636, allocations: 41.08 MB / 0.6033 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01269/0.6488, allocations: 4.262 MB / 0.6075 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003363/0.6522, allocations: 1.924 MB / 0.6093 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01608/0.6683, allocations: 7.622 MB / 0.6168 GB, free: 2.621 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.954e-05/0.6684, allocations: 51.5 kB / 0.6168 GB, free: 2.562 MB / 494.1 MB Notification: Performance of pre-optimization done (n=180): time 7.975e-06/0.6685, allocations: 0 / 0.6168 GB, free: 2.562 MB / 494.1 MB Notification: Performance of matching and sorting (n=236): time 0.5672/1.236, allocations: 40.96 MB / 0.6568 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/1.236, allocations: 219.6 kB / 0.657 GB, free: 121.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0108/1.247, allocations: 4.334 MB / 0.6613 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.00121/1.248, allocations: 56.61 kB / 0.6613 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002847/1.251, allocations: 3.167 MB / 0.6644 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001812/1.253, allocations: 0.878 MB / 0.6653 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002853/1.256, allocations: 1.359 MB / 0.6666 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.302e-05/1.256, allocations: 306.2 kB / 0.6669 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005997/1.262, allocations: 3.632 MB / 0.6704 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006563/1.268, allocations: 7.292 MB / 0.6776 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/1.28, allocations: 11.62 MB / 0.6889 GB, free: 95.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001038/1.28, allocations: 36 kB / 0.6889 GB, free: 95.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.03641/1.316, allocations: 16.21 MB / 0.7048 GB, free: 79.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.958e-05/1.316, allocations: 60 kB / 0.7048 GB, free: 79.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001204/1.317, allocations: 128 kB / 0.7049 GB, free: 79.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02369/1.34, allocations: 6.221 MB / 0.711 GB, free: 73.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006116/1.346, allocations: 1.493 MB / 0.7125 GB, free: 71.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03133/1.378, allocations: 27.63 MB / 0.7395 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007671/1.385, allocations: 415.3 kB / 0.7399 GB, free: 43.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001271/1.387, allocations: 387.3 kB / 0.7402 GB, free: 43.09 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.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 (779): * Single equations (assignments): 774 * Array equations: 3 * 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 {(3,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004332/1.391, allocations: 2.224 MB / 0.7424 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001217/1.392, allocations: 391.5 kB / 0.7428 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02834/1.421, allocations: 11.3 MB / 0.7538 GB, free: 29.13 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001013/1.421, allocations: 27.94 kB / 0.7538 GB, free: 29.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-05/1.421, allocations: 15.94 kB / 0.7539 GB, free: 29.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.04e-05/1.421, allocations: 7.969 kB / 0.7539 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04831/1.469, allocations: 20.67 MB / 0.774 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.703e-05/1.469, allocations: 5.5 kB / 0.774 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002218/1.472, allocations: 396 kB / 0.7744 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02054/1.492, allocations: 5.3 MB / 0.7796 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007821/1.493, allocations: 44 kB / 0.7796 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03315/1.526, allocations: 22.68 MB / 0.8018 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.416e-05/1.526, allocations: 8 kB / 0.8018 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03679/1.563, allocations: 14.61 MB / 0.8161 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004416/1.568, allocations: 0.98 MB / 0.817 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001684/1.569, allocations: 47.98 kB / 0.8171 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003639/1.573, allocations: 179.7 kB / 0.8172 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008285/1.574, allocations: 157 kB / 0.8174 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002432/1.574, allocations: 67.92 kB / 0.8175 GB, free: 11.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005655/1.58, allocations: 2.725 MB / 0.8201 GB, free: 8.383 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/1.58, allocations: 0 / 0.8201 GB, free: 8.383 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009237/1.589, allocations: 1.368 MB / 0.8215 GB, free: 7.02 MB / 0.545 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 (167): * Single equations (assignments): 162 * Array equations: 3 * 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 {(3,45,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009715/1.59, allocations: 185 kB / 0.8216 GB, free: 6.836 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01491/1.605, allocations: 8.36 MB / 0.8298 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/1.605, allocations: 0 / 0.8298 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005434/1.61, allocations: 3.21 MB / 0.8329 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00618/1.617, allocations: 0.5068 MB / 0.8334 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02766/1.644, allocations: 11.85 MB / 0.845 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.341/1.985, allocations: 3.511 MB / 0.8484 GB, free: 191.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006521/1.992, allocations: 1.958 MB / 0.8503 GB, free: 191.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/1.993, allocations: 264.4 kB / 0.8506 GB, free: 191.1 MB / 0.5762 GB Notification: Performance of SimCode: time 2.886e-06/1.993, allocations: 0.9688 kB / 0.8506 GB, free: 191.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.1185/2.112, allocations: 67.63 MB / 0.9166 GB, free: 150.4 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1)