Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006392/0.006392, allocations: 100.7 kB / 15.73 MB, free: 6.48 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.001149/0.00115, allocations: 196.1 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.599/1.599, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.3508/0.3508, allocations: 39.94 MB / 309.8 MB, free: 9.297 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.001476/0.001476, allocations: 67.91 kB / 435.8 MB, free: 2.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3346, allocations: 56.87 MB / 492.7 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.0106/0.3453, allocations: 10.57 MB / 0.4914 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008506/0.3538, allocations: 3.25 MB / 0.4946 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003405/0.3573, allocations: 53.25 kB / 0.4947 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005291/0.3626, allocations: 2.364 MB / 0.497 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004764/0.3674, allocations: 1.217 MB / 0.4981 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.3689, allocations: 0.5154 MB / 0.4987 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004596/0.3735, allocations: 2.979 MB / 0.5016 GB, free: 5.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003229/0.3768, allocations: 3.031 MB / 0.5045 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002026/0.3788, allocations: 1.282 MB / 0.5058 GB, free: 3.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002145/0.381, allocations: 1.733 MB / 0.5075 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000521/0.3815, allocations: 293.8 kB / 0.5077 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.3831, allocations: 0.9804 MB / 0.5087 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001194/0.3843, allocations: 1.607 MB / 0.5103 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002319/0.3866, allocations: 1.981 MB / 0.5122 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008918/0.3956, allocations: 6.281 MB / 0.5183 GB, free: 10.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3956, allocations: 0 / 0.5183 GB, free: 10.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3956, allocations: 0 / 0.5183 GB, free: 10.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001646/0.3958, allocations: 0 / 0.5183 GB, free: 10.14 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.009106/0.4049, allocations: 4.261 MB / 0.5225 GB, free: 5.809 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.405, allocations: 15.89 kB / 0.5225 GB, free: 5.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006105/0.4111, allocations: 1.805 MB / 0.5243 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00356/0.4147, allocations: 1.778 MB / 0.526 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.4148, allocations: 229.7 kB / 0.5262 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006299/0.4155, allocations: 299.8 kB / 0.5265 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02005/0.4355, allocations: 10.62 MB / 0.5369 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001166/0.4357, allocations: 43.66 kB / 0.5369 GB, free: 6.348 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003946/0.4361, allocations: 143.9 kB / 0.5371 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003418/0.4395, allocations: 2.04 MB / 0.5391 GB, free: 4.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01944/0.459, allocations: 9.328 MB / 0.5482 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05436/0.5134, allocations: 37.84 MB / 0.5851 GB, free: 3.949 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01133/0.5248, allocations: 4.172 MB / 0.5892 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003225/0.528, allocations: 2.317 MB / 0.5915 GB, free: 13.27 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01006/0.5381, allocations: 6.013 MB / 0.5973 GB, free: 6.996 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.414e-05/0.5382, allocations: 59.81 kB / 0.5974 GB, free: 6.93 MB / 478.1 MB Notification: Performance of pre-optimization done (n=181): time 5.621e-06/0.5382, allocations: 0 / 0.5974 GB, free: 6.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=210): time 0.06867/0.6069, allocations: 21.94 MB / 0.6188 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.607, allocations: 149.8 kB / 0.619 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004991/0.612, allocations: 3.387 MB / 0.6223 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004633/0.6125, allocations: 53.7 kB / 0.6223 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00197/0.6145, allocations: 2.801 MB / 0.6251 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001052/0.6155, allocations: 0.7943 MB / 0.6258 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001634/0.6172, allocations: 1.19 MB / 0.627 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.6173, allocations: 313.1 kB / 0.6273 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003507/0.6208, allocations: 2.334 MB / 0.6296 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2922/0.9131, allocations: 5.779 MB / 0.6352 GB, free: 123.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/0.9243, allocations: 8.803 MB / 0.6438 GB, free: 117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001989/0.9245, allocations: 34.16 kB / 0.6438 GB, free: 117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01877/0.9433, allocations: 8.671 MB / 0.6523 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.9434, allocations: 57.94 kB / 0.6524 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002004/0.9436, allocations: 121.2 kB / 0.6525 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003005/0.9466, allocations: 1.041 MB / 0.6535 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005448/0.9521, allocations: 1.377 MB / 0.6548 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007082/0.9592, allocations: 5.818 MB / 0.6605 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005798/0.9651, allocations: 328.2 kB / 0.6608 GB, free: 109.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001233/0.9663, allocations: 360.5 kB / 0.6612 GB, free: 109.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[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 (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004102/0.9704, allocations: 1.936 MB / 0.6631 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006714/0.9711, allocations: 314.2 kB / 0.6634 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006988/0.9781, allocations: 3.943 MB / 0.6672 GB, free: 106.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.705e-05/0.9782, allocations: 22 kB / 0.6672 GB, free: 106.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/0.9782, allocations: 4.125 kB / 0.6672 GB, free: 106.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.9782, allocations: 12.67 kB / 0.6673 GB, free: 106.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01365/0.9919, allocations: 8.807 MB / 0.6759 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.9919, allocations: 3.688 kB / 0.6759 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/0.9935, allocations: 355.9 kB / 0.6762 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002222/0.9957, allocations: 0.8697 MB / 0.6771 GB, free: 102.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001708/0.9959, allocations: 39.8 kB / 0.6771 GB, free: 102.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003832/0.9998, allocations: 5.132 MB / 0.6821 GB, free: 98.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.9998, allocations: 1.375 kB / 0.6821 GB, free: 98.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008091/1.008, allocations: 6.876 MB / 0.6888 GB, free: 93.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001702/1.01, allocations: 0.6726 MB / 0.6895 GB, free: 92.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004258/1.01, allocations: 32 kB / 0.6895 GB, free: 92.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/1.011, allocations: 123.3 kB / 0.6896 GB, free: 92.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003144/1.012, allocations: 121.1 kB / 0.6897 GB, free: 92.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/1.012, allocations: 56.36 kB / 0.6898 GB, free: 92.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002557/1.015, allocations: 2.081 MB / 0.6918 GB, free: 90.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.11e-07/1.015, allocations: 0 / 0.6918 GB, free: 90.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004743/1.019, allocations: 0.9669 MB / 0.6928 GB, free: 89.39 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * 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 (178): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004233/1.02, allocations: 181.2 kB / 0.6929 GB, free: 89.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00889/1.029, allocations: 6.14 MB / 0.6989 GB, free: 83.03 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.029, allocations: 0 / 0.6989 GB, free: 83.03 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003486/1.032, allocations: 2.472 MB / 0.7014 GB, free: 80.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/1.034, allocations: 358.4 kB / 0.7017 GB, free: 80.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/1.046, allocations: 9.042 MB / 0.7105 GB, free: 71.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002309/1.049, allocations: 3.025 MB / 0.7135 GB, free: 68.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003452/1.052, allocations: 1.857 MB / 0.7153 GB, free: 66.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006624/1.053, allocations: 243.4 kB / 0.7155 GB, free: 65.92 MB / 0.4981 GB Notification: Performance of SimCode: time 7.51e-07/1.053, allocations: 0 / 0.7155 GB, free: 65.92 MB / 0.4981 GB Notification: Performance of Templates: time 0.052/1.105, allocations: 34.12 MB / 0.7488 GB, free: 31.88 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1)