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.001221/0.001221, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001534/0.001534, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.598/1.598, allocations: 205.1 MB / 222 MB, free: 4.988 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.4031/0.4031, allocations: 39.93 MB / 309.3 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.001365/0.001365, allocations: 66.41 kB / 376.9 MB, free: 13.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1511, allocations: 56.88 MB / 433.8 MB, free: 4.188 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.3472/0.4984, allocations: 38.52 MB / 472.3 MB, free: 31.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02335/0.5218, allocations: 7.856 MB / 480.2 MB, free: 26.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01192/0.5337, allocations: 157.6 kB / 480.3 MB, free: 26.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004914/0.5387, allocations: 2.34 MB / 482.7 MB, free: 25.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004196/0.543, allocations: 1.149 MB / 483.8 MB, free: 25.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.5445, allocations: 474 kB / 484.3 MB, free: 24.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005349/0.5499, allocations: 4.345 MB / 488.6 MB, free: 23.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003598/0.5535, allocations: 3.011 MB / 491.6 MB, free: 22.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.5553, allocations: 1.121 MB / 492.8 MB, free: 21.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002024/0.5573, allocations: 1.839 MB / 494.6 MB, free: 21.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005244/0.5578, allocations: 212.7 kB / 494.8 MB, free: 21.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001936/0.5598, allocations: 0.9684 MB / 495.8 MB, free: 20.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001792/0.5616, allocations: 1.541 MB / 497.3 MB, free: 20.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002845/0.5645, allocations: 1.921 MB / 499.2 MB, free: 19.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.5746, allocations: 5.99 MB / 0.4934 GB, free: 16.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.5747, allocations: 0 / 0.4934 GB, free: 16.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.5747, allocations: 0 / 0.4934 GB, free: 16.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003634/0.5751, allocations: 1.438 kB / 0.4934 GB, free: 16.86 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: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.018/0.5931, allocations: 4.264 MB / 0.4976 GB, free: 14.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.5931, allocations: 13.16 kB / 0.4976 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008016/0.6012, allocations: 1.805 MB / 0.4993 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006288/0.6075, allocations: 1.749 MB / 0.501 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003607/0.6079, allocations: 231.8 kB / 0.5013 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002141/0.61, allocations: 299.1 kB / 0.5015 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02793/0.638, allocations: 10.63 MB / 0.5119 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002845/0.6383, allocations: 38.78 kB / 0.512 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001906/0.6402, allocations: 149.5 kB / 0.5121 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004105/0.6444, allocations: 2.037 MB / 0.5141 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02337/0.6678, allocations: 9.326 MB / 0.5232 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06272/0.7305, allocations: 38.03 MB / 0.5603 GB, free: 5.758 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01123/0.7418, allocations: 4.168 MB / 0.5644 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003287/0.7451, allocations: 2.309 MB / 0.5667 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01048/0.7557, allocations: 6.006 MB / 0.5725 GB, free: 8.832 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/0.7557, allocations: 51.88 kB / 0.5726 GB, free: 8.773 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 5.641e-06/0.7558, allocations: 0 / 0.5726 GB, free: 8.773 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.07042/0.8262, allocations: 21.96 MB / 0.594 GB, free: 2.648 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.407e-05/0.8263, allocations: 153.8 kB / 0.5942 GB, free: 2.465 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007525/0.8339, allocations: 3.387 MB / 0.5975 GB, free: 15.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000863/0.8348, allocations: 61.69 kB / 0.5975 GB, free: 15 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002864/0.8376, allocations: 2.786 MB / 0.6002 GB, free: 12.18 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001419/0.8391, allocations: 0.7981 MB / 0.601 GB, free: 11.37 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003771/0.8429, allocations: 1.19 MB / 0.6022 GB, free: 10.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.843, allocations: 313 kB / 0.6025 GB, free: 9.855 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004509/0.8475, allocations: 2.331 MB / 0.6048 GB, free: 7.52 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008684/0.8562, allocations: 5.784 MB / 0.6104 GB, free: 20 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01197/0.8683, allocations: 8.806 MB / 0.619 GB, free: 5.516 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001407/0.8684, allocations: 44 kB / 0.6191 GB, free: 5.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.3246/1.193, allocations: 8.664 MB / 0.6275 GB, free: 144.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/1.193, allocations: 62.16 kB / 0.6276 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002241/1.193, allocations: 121.8 kB / 0.6277 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003073/1.197, allocations: 1.039 MB / 0.6287 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005843/1.202, allocations: 1.377 MB / 0.63 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00502/1.207, allocations: 5.406 MB / 0.6353 GB, free: 141.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005837/1.213, allocations: 324.1 kB / 0.6356 GB, free: 141.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00127/1.215, allocations: 357.5 kB / 0.636 GB, free: 141.2 MB / 494.1 MB 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.004788/1.219, allocations: 1.946 MB / 0.6379 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000964/1.22, allocations: 307.8 kB / 0.6382 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006725/1.227, allocations: 3.952 MB / 0.642 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.061e-05/1.227, allocations: 25 kB / 0.6421 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.775e-05/1.227, allocations: 3.188 kB / 0.6421 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.398e-05/1.227, allocations: 11.06 kB / 0.6421 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01774/1.245, allocations: 8.883 MB / 0.6507 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-05/1.245, allocations: 3.156 kB / 0.6507 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001877/1.247, allocations: 346.2 kB / 0.6511 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002736/1.25, allocations: 0.877 MB / 0.6519 GB, free: 135.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002637/1.25, allocations: 34.41 kB / 0.652 GB, free: 135.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006701/1.257, allocations: 4.74 MB / 0.6566 GB, free: 131.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/1.257, allocations: 4.453 kB / 0.6566 GB, free: 131.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01422/1.271, allocations: 6.863 MB / 0.6633 GB, free: 128.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00219/1.273, allocations: 0.6792 MB / 0.664 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005501/1.274, allocations: 33.25 kB / 0.664 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/1.275, allocations: 119.2 kB / 0.6641 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004526/1.276, allocations: 121.7 kB / 0.6642 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001711/1.276, allocations: 53.78 kB / 0.6643 GB, free: 128.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004709/1.281, allocations: 2.084 MB / 0.6663 GB, free: 127.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.31e-07/1.281, allocations: 1.094 kB / 0.6663 GB, free: 127.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007021/1.288, allocations: 0.9711 MB / 0.6673 GB, free: 127.7 MB / 494.1 MB 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.0006547/1.288, allocations: 177.1 kB / 0.6674 GB, free: 127.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01214/1.3, allocations: 6.119 MB / 0.6734 GB, free: 125.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.894e-06/1.301, allocations: 0 / 0.6734 GB, free: 125.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003867/1.304, allocations: 2.476 MB / 0.6758 GB, free: 124 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002917/1.307, allocations: 345.4 kB / 0.6762 GB, free: 123.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02308/1.33, allocations: 11 MB / 0.6869 GB, free: 117.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004965/1.336, allocations: 3.024 MB / 0.6899 GB, free: 116.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005285/1.341, allocations: 1.86 MB / 0.6917 GB, free: 115 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009617/1.342, allocations: 237.8 kB / 0.6919 GB, free: 114.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.162e-06/1.342, allocations: 0 / 0.6919 GB, free: 114.7 MB / 494.1 MB Notification: Performance of Templates: time 0.05874/1.401, allocations: 35.79 MB / 0.7268 GB, free: 79.11 MB / 494.1 MB 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)