Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001216/0.001216, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001629/0.001629, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.8/1.8, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3499/0.3499, allocations: 38.04 MB / 308.4 MB, free: 10.45 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.1. 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.0005862/0.0005862, allocations: 20 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.151, allocations: 57.51 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3355/0.4866, allocations: 74.97 MB / 0.497 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05108/0.5377, allocations: 16.78 MB / 0.5133 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02361/0.5614, allocations: 368.2 kB / 0.5137 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01819/0.5796, allocations: 3.733 MB / 0.5173 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05318/0.6329, allocations: 10.55 MB / 0.5276 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007844/0.6407, allocations: 1.065 MB / 0.5287 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01258/0.6533, allocations: 3.921 MB / 0.5325 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01796/0.6713, allocations: 8.484 MB / 0.5408 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005571/0.677, allocations: 1.768 MB / 0.5425 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005701/0.6827, allocations: 2.543 MB / 0.545 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002695/0.6854, allocations: 276 kB / 0.5453 GB, free: 9.918 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004394/0.6898, allocations: 0.8622 MB / 0.5461 GB, free: 9.055 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005925/0.6958, allocations: 2.829 MB / 0.5489 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003977/0.6998, allocations: 1.427 MB / 0.5503 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01557/0.7154, allocations: 9.368 MB / 0.5594 GB, free: 11.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.752e-05/0.7155, allocations: 0 / 0.5594 GB, free: 11.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.7155, allocations: 0 / 0.5594 GB, free: 11.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006157/0.7161, allocations: 0 / 0.5594 GB, free: 11.39 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.01926/0.7354, allocations: 6.747 MB / 0.566 GB, free: 4.562 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.36e-05/0.7355, allocations: 12.03 kB / 0.566 GB, free: 4.551 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01483/0.7503, allocations: 3.275 MB / 0.5692 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01172/0.7621, allocations: 4.385 MB / 0.5735 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006211/0.7627, allocations: 471.5 kB / 0.574 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003659/0.7664, allocations: 0.5817 MB / 0.5745 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05498/0.8214, allocations: 21.44 MB / 0.5955 GB, free: 5.172 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004869/0.8219, allocations: 71.25 kB / 0.5955 GB, free: 5.102 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002947/0.8249, allocations: 287.7 kB / 0.5958 GB, free: 4.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006801/0.8317, allocations: 3.541 MB / 0.5993 GB, free: 1.277 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04692/0.8787, allocations: 17.45 MB / 0.6163 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5825/1.461, allocations: 70.41 MB / 0.6851 GB, free: 94.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04476/1.506, allocations: 14.47 MB / 0.6992 GB, free: 92.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02598/1.532, allocations: 14.5 MB / 0.7134 GB, free: 85.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.609e-05/1.532, allocations: 71.44 kB / 0.7134 GB, free: 85.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=300): time 5.12e-06/1.532, allocations: 0 / 0.7134 GB, free: 85.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=334): time 0.1154/1.648, allocations: 41.72 MB / 0.7542 GB, free: 51.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/1.648, allocations: 170.6 kB / 0.7543 GB, free: 51.51 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01257/1.66, allocations: 6.36 MB / 0.7605 GB, free: 45.13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001154/1.662, allocations: 77.7 kB / 0.7606 GB, free: 45.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004683/1.666, allocations: 5.189 MB / 0.7657 GB, free: 39.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002529/1.669, allocations: 1.262 MB / 0.7669 GB, free: 38.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/1.67, allocations: 200 kB / 0.7671 GB, free: 38.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0009316/1.671, allocations: 0.7195 MB / 0.7678 GB, free: 37.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006008/1.677, allocations: 3.193 MB / 0.7709 GB, free: 34.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009596/1.687, allocations: 8.971 MB / 0.7797 GB, free: 22.65 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009191/1.696, allocations: 5.168 MB / 0.7847 GB, free: 17.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002245/1.696, allocations: 60 kB / 0.7848 GB, free: 17.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=1283) (initialization): time 0.02647/1.723, allocations: 12.1 MB / 0.7966 GB, free: 5.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003061/1.723, allocations: 98.66 kB / 0.7967 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004739/1.724, allocations: 204 kB / 0.7969 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/1.725, allocations: 0.524 MB / 0.7974 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008721/1.733, allocations: 2.406 MB / 0.7997 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/1.736, allocations: 2.716 MB / 0.8024 GB, free: 15.18 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008828/1.745, allocations: 0.5346 MB / 0.8029 GB, free: 14.65 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002051/1.747, allocations: 0.5703 MB / 0.8035 GB, free: 14.08 MB / 0.4982 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 (1256): * Single equations (assignments): 1252 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009205/1.757, allocations: 3.401 MB / 0.8068 GB, free: 10.67 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001889/1.758, allocations: 0.5515 MB / 0.8073 GB, free: 10.11 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009936/1.768, allocations: 4.344 MB / 0.8116 GB, free: 5.715 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-05/1.768, allocations: 36 kB / 0.8116 GB, free: 5.68 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/1.768, allocations: 0 / 0.8116 GB, free: 5.68 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.792e-05/1.769, allocations: 19.94 kB / 0.8116 GB, free: 5.66 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3223/2.091, allocations: 13.66 MB / 0.825 GB, free: 141.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-05/2.091, allocations: 30.77 kB / 0.825 GB, free: 141.7 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002524/2.093, allocations: 0.635 MB / 0.8256 GB, free: 141.7 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.049e-05/2.094, allocations: 49.03 kB / 0.8257 GB, free: 141.7 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001864/2.094, allocations: 90.92 kB / 0.8258 GB, free: 141.7 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.031e-05/2.094, allocations: 60.7 kB / 0.8258 GB, free: 141.6 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.32e-05/2.094, allocations: 44.28 kB / 0.8259 GB, free: 141.6 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/2.104, allocations: 11.88 MB / 0.8375 GB, free: 132.9 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002994/2.107, allocations: 0.8897 MB / 0.8383 GB, free: 132.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001165/2.108, allocations: 94.14 kB / 0.8384 GB, free: 132.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002619/2.111, allocations: 166.9 kB / 0.8386 GB, free: 132.6 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00035/2.111, allocations: 282.4 kB / 0.8388 GB, free: 132.5 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002008/2.111, allocations: 127.7 kB / 0.839 GB, free: 132.5 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.006526/2.118, allocations: 3.994 MB / 0.8429 GB, free: 131.2 MB / 0.4982 GB Notification: Performance of sort global known variables: time 8.72e-07/2.118, allocations: 0 / 0.8429 GB, free: 131.2 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.008946/2.127, allocations: 1.616 MB / 0.8444 GB, free: 131 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 128 * 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 (319): * Single equations (assignments): 316 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007908/2.128, allocations: 283.4 kB / 0.8447 GB, free: 130.8 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01255/2.14, allocations: 7.184 MB / 0.8517 GB, free: 128.5 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 2.511e-05/2.14, allocations: 4.125 kB / 0.8517 GB, free: 128.5 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002928/2.143, allocations: 1.682 MB / 0.8534 GB, free: 127.9 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003867/2.147, allocations: 0.7047 MB / 0.8541 GB, free: 127.6 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03257/2.18, allocations: 18.78 MB / 0.8724 GB, free: 117.1 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009928/2.19, allocations: 5.286 MB / 0.8776 GB, free: 115.4 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.009786/2.199, allocations: 2.817 MB / 0.8803 GB, free: 115.1 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001665/2.201, allocations: 419.5 kB / 0.8807 GB, free: 115.1 MB / 0.4982 GB Notification: Performance of SimCode: time 1.112e-06/2.201, allocations: 3.938 kB / 0.8807 GB, free: 115.1 MB / 0.4982 GB Notification: Performance of Templates: time 0.0953/2.296, allocations: 51.5 MB / 0.931 GB, free: 70.75 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) Environment - environmentSimulation: