Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.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.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006832/0.006832, allocations: 102.3 kB / 15.73 MB, free: 6.039 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.001341/0.001341, allocations: 189.1 kB / 16.67 MB, free: 5.973 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.595/1.595, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.3704/0.3704, allocations: 39.95 MB / 309.8 MB, free: 9.379 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.001469/0.001469, allocations: 67.91 kB / 435.8 MB, free: 2.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3541, allocations: 56.89 MB / 492.7 MB, free: 19.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01763/0.3718, allocations: 17.62 MB / 0.4983 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01603/0.3878, allocations: 5.207 MB / 0.5034 GB, free: 3.074 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005308/0.3932, allocations: 104.1 kB / 0.5035 GB, free: 3.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0103/0.4036, allocations: 5.237 MB / 0.5086 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.414, allocations: 2.733 MB / 0.5113 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004918/0.419, allocations: 1.194 MB / 0.5125 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01436/0.4334, allocations: 7.029 MB / 0.5193 GB, free: 8.992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01036/0.4438, allocations: 6.543 MB / 0.5257 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007746/0.4516, allocations: 2.792 MB / 0.5285 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007891/0.4595, allocations: 3.984 MB / 0.5323 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003352/0.4629, allocations: 0.625 MB / 0.533 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005721/0.4687, allocations: 1.327 MB / 0.5342 GB, free: 9.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006071/0.4748, allocations: 3.507 MB / 0.5377 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008389/0.4832, allocations: 4.008 MB / 0.5416 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02001/0.5032, allocations: 12.23 MB / 0.5535 GB, free: 5.945 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.5033, allocations: 0 / 0.5535 GB, free: 5.945 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5033, allocations: 0 / 0.5535 GB, free: 5.945 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007553/0.504, allocations: 0 / 0.5535 GB, free: 5.945 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02642/0.5305, allocations: 8.202 MB / 0.5615 GB, free: 13.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.5305, allocations: 11.89 kB / 0.5616 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01282/0.5434, allocations: 2.717 MB / 0.5642 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/0.5536, allocations: 4.002 MB / 0.5681 GB, free: 6.855 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000462/0.5541, allocations: 464 kB / 0.5686 GB, free: 6.402 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002391/0.5565, allocations: 0.5932 MB / 0.5691 GB, free: 5.809 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04349/0.6, allocations: 21.21 MB / 0.5899 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000203/0.6002, allocations: 71.28 kB / 0.5899 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001012/0.6013, allocations: 283.7 kB / 0.5902 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006185/0.6075, allocations: 3.545 MB / 0.5937 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04378/0.6513, allocations: 17.2 MB / 0.6104 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6319/1.283, allocations: 67.51 MB / 0.6764 GB, free: 77.35 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01868/1.302, allocations: 6.67 MB / 0.6829 GB, free: 75.36 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004272/1.306, allocations: 2.321 MB / 0.6852 GB, free: 74.53 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02048/1.327, allocations: 9.779 MB / 0.6947 GB, free: 69.45 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/1.327, allocations: 70.31 kB / 0.6948 GB, free: 69.38 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=296): time 5.891e-06/1.327, allocations: 1.438 kB / 0.6948 GB, free: 69.38 MB / 0.4982 GB Notification: Performance of matching and sorting (n=330): time 0.05693/1.384, allocations: 22.77 MB / 0.717 GB, free: 57.17 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/1.384, allocations: 168.6 kB / 0.7172 GB, free: 57 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007033/1.391, allocations: 6.034 MB / 0.7231 GB, free: 51.81 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0005444/1.392, allocations: 69.7 kB / 0.7231 GB, free: 51.74 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002284/1.394, allocations: 5.189 MB / 0.7282 GB, free: 46.55 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001172/1.395, allocations: 1.246 MB / 0.7294 GB, free: 45.31 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001983/1.397, allocations: 1.936 MB / 0.7313 GB, free: 43.37 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 4.566e-05/1.397, allocations: 305.1 kB / 0.7316 GB, free: 43.07 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003789/1.401, allocations: 2.85 MB / 0.7344 GB, free: 40.21 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005784/1.407, allocations: 8.683 MB / 0.7429 GB, free: 28.7 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01212/1.419, allocations: 12.52 MB / 0.7551 GB, free: 13.27 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001562/1.419, allocations: 60 kB / 0.7551 GB, free: 13.21 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.01911/1.438, allocations: 11.26 MB / 0.7661 GB, free: 1.91 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.000112/1.438, allocations: 92.94 kB / 0.7662 GB, free: 1.82 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001921/1.438, allocations: 204 kB / 0.7664 GB, free: 1.621 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001976/1.439, allocations: 272 kB / 0.7667 GB, free: 1.355 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007932/1.447, allocations: 2.359 MB / 0.769 GB, free: 14.99 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005021/1.447, allocations: 410.4 kB / 0.7694 GB, free: 14.59 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007735/1.455, allocations: 467.5 kB / 0.7698 GB, free: 14.13 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001491/1.456, allocations: 0.5776 MB / 0.7704 GB, free: 13.56 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 72 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.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 (1267): * Single equations (assignments): 1264 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006237/1.463, allocations: 3.397 MB / 0.7737 GB, free: 10.14 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001193/1.464, allocations: 0.5437 MB / 0.7742 GB, free: 9.594 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00606/1.47, allocations: 3.439 MB / 0.7776 GB, free: 6.102 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.111e-05/1.47, allocations: 36 kB / 0.7776 GB, free: 6.066 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/1.47, allocations: 3.938 kB / 0.7776 GB, free: 6.062 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.556e-05/1.47, allocations: 19.95 kB / 0.7776 GB, free: 6.043 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02461/1.495, allocations: 13.75 MB / 0.7911 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.213e-05/1.495, allocations: 32 kB / 0.7911 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002309/1.497, allocations: 0.6123 MB / 0.7917 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.773e-05/1.497, allocations: 51.98 kB / 0.7918 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001975/1.497, allocations: 99.98 kB / 0.7918 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.088e-05/1.497, allocations: 70.11 kB / 0.7919 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.565e-05/1.497, allocations: 51.8 kB / 0.792 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008244/1.506, allocations: 6.306 MB / 0.7981 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002478/1.508, allocations: 0.8412 MB / 0.7989 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000749/1.509, allocations: 107.9 kB / 0.799 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002073/1.511, allocations: 139.9 kB / 0.7992 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003828/1.511, allocations: 304.2 kB / 0.7995 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001858/1.512, allocations: 128 kB / 0.7996 GB, free: 14.44 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006039/1.518, allocations: 3.752 MB / 0.8033 GB, free: 10.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.7e-07/1.518, allocations: 0 / 0.8033 GB, free: 10.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009845/1.527, allocations: 1.57 MB / 0.8048 GB, free: 9.129 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.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 (317): * Single equations (assignments): 314 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001166/1.529, allocations: 283.5 kB / 0.8051 GB, free: 8.848 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01281/1.542, allocations: 6.59 MB / 0.8115 GB, free: 2.309 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.148e-05/1.542, allocations: 12.25 kB / 0.8115 GB, free: 2.297 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002872/1.544, allocations: 1.576 MB / 0.813 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005523/1.55, allocations: 0.7892 MB / 0.8138 GB, free: 15.94 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.033/1.583, allocations: 15.61 MB / 0.8291 GB, free: 15.84 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009041/1.592, allocations: 5.143 MB / 0.8341 GB, free: 10.66 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007737/1.6, allocations: 2.75 MB / 0.8368 GB, free: 7.898 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/1.601, allocations: 415.4 kB / 0.8372 GB, free: 7.492 MB / 0.5763 GB Notification: Performance of SimCode: time 7.11e-07/1.601, allocations: 0 / 0.8372 GB, free: 7.492 MB / 0.5763 GB Notification: Performance of Templates: time 0.3839/1.985, allocations: 45.36 MB / 0.8815 GB, free: 189.4 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1)