Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.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) 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(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 96.92 kB / 16.3 MB, free: 5.562 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.001188/0.001188, allocations: 183.7 kB / 17.2 MB, free: 5.496 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.451/1.451, allocations: 205.4 MB / 223.3 MB, free: 13.16 MB / 190.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: Performance of FrontEnd - loaded program: time 0.000443/0.0004431, allocations: 12 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1007, allocations: 47.58 MB / 327.7 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002344/0.1031, allocations: 1.907 MB / 329.6 MB, free: 2.18 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004887/0.1036, allocations: 251.2 kB / 329.8 MB, free: 1.934 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.1037, allocations: 11.94 kB / 329.9 MB, free: 1.922 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.716e-05/0.1038, allocations: 27.77 kB / 329.9 MB, free: 1.895 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.104, allocations: 91.78 kB / 330 MB, free: 1.805 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.1041, allocations: 39.94 kB / 330 MB, free: 1.766 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.1044, allocations: 211.5 kB / 330.2 MB, free: 1.559 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.1046, allocations: 69.7 kB / 330.3 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.637e-05/0.1047, allocations: 87.7 kB / 330.4 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.1048, allocations: 107.5 kB / 330.5 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.496e-05/0.1049, allocations: 15.94 kB / 330.5 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.306e-05/0.1049, allocations: 12 kB / 330.5 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.868e-05/0.105, allocations: 39.84 kB / 330.5 MB, free: 1.234 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.936e-05/0.105, allocations: 73.58 kB / 330.6 MB, free: 1.156 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.1053, allocations: 215.6 kB / 330.8 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1053, allocations: 0 / 330.8 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1053, allocations: 0 / 330.8 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.1053, allocations: 0 / 330.8 MB, free: 0.9453 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007805/0.1061, allocations: 0.5028 MB / 331.3 MB, free: 404 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.1061, allocations: 8.031 kB / 331.3 MB, free: 396 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.751e-05/0.1062, allocations: 27.72 kB / 331.4 MB, free: 368 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.1065, allocations: 243.2 kB / 331.6 MB, free: 80 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.1065, allocations: 24.52 kB / 331.6 MB, free: 56 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.1066, allocations: 24 kB / 331.6 MB, free: 32 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003971/0.107, allocations: 235.4 kB / 331.9 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.107, allocations: 7.938 kB / 331.9 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.107, allocations: 12 kB / 331.9 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.1071, allocations: 4 kB / 331.9 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.1073, allocations: 163.8 kB / 332.1 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.1084, allocations: 0.801 MB / 332.9 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004802/0.1089, allocations: 287.8 kB / 333.1 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.1089, allocations: 4 kB / 333.1 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.109, allocations: 38.5 kB / 333.2 MB, free: 14.38 MB / 286.1 MB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.109, allocations: 0 / 333.2 MB, free: 14.38 MB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.002721/0.1117, allocations: 1.949 MB / 335.1 MB, free: 12.17 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/0.1118, allocations: 114.7 kB / 335.2 MB, free: 12.04 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.112, allocations: 191.5 kB / 335.4 MB, free: 11.83 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.112, allocations: 29.7 kB / 335.5 MB, free: 11.8 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.1121, allocations: 140.6 kB / 335.6 MB, free: 11.65 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.1122, allocations: 161.7 kB / 335.8 MB, free: 11.49 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.632e-05/0.1123, allocations: 12 kB / 335.8 MB, free: 11.48 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1124, allocations: 330.8 kB / 336.1 MB, free: 11.15 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.1126, allocations: 96.83 kB / 336.2 MB, free: 11.05 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.1128, allocations: 162.2 kB / 336.3 MB, free: 10.87 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.113, allocations: 114.8 kB / 336.5 MB, free: 10.76 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.113, allocations: 4 kB / 336.5 MB, free: 10.76 MB / 286.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004659/0.1135, allocations: 337 kB / 336.8 MB, free: 10.42 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.1135, allocations: 8 kB / 336.8 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1135, allocations: 0 / 336.8 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.1135, allocations: 4 kB / 336.8 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.1139, allocations: 103.8 kB / 336.9 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.1139, allocations: 4 kB / 336.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.114, allocations: 8 kB / 336.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.114, allocations: 16 kB / 336.9 MB, free: 10.28 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * 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 prepare postOptimizeDAE: time 0.000143/0.1142, allocations: 153.8 kB / 337.1 MB, free: 10.12 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.776e-05/0.1143, allocations: 27.72 kB / 337.1 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.349e-05/0.1144, allocations: 37.86 kB / 337.1 MB, free: 10.06 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.1144, allocations: 8 kB / 337.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1144, allocations: 0 / 337.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1144, allocations: 0 / 337.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.1159, allocations: 1.05 MB / 338.2 MB, free: 8.914 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1159, allocations: 0 / 338.2 MB, free: 8.914 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/0.1163, allocations: 91.89 kB / 338.3 MB, free: 8.824 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.928e-06/0.1163, allocations: 7.953 kB / 338.3 MB, free: 8.816 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.1164, allocations: 12 kB / 338.3 MB, free: 8.805 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.1164, allocations: 7.938 kB / 338.3 MB, free: 8.797 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.1164, allocations: 11.94 kB / 338.3 MB, free: 8.785 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008233/0.1172, allocations: 0.8464 MB / 339.2 MB, free: 7.828 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-05/0.1173, allocations: 100.7 kB / 339.3 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.1173, allocations: 20.05 kB / 339.3 MB, free: 7.691 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.1176, allocations: 11.95 kB / 339.3 MB, free: 7.68 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.1176, allocations: 31.91 kB / 339.3 MB, free: 7.648 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.1176, allocations: 16 kB / 339.4 MB, free: 7.633 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.1177, allocations: 136.5 kB / 339.5 MB, free: 7.5 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1178, allocations: 0 / 339.5 MB, free: 7.5 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004245/0.1182, allocations: 72 kB / 339.6 MB, free: 7.43 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * 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.0001387/0.1183, allocations: 111.1 kB / 339.7 MB, free: 7.312 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004802/0.1188, allocations: 267.8 kB / 339.9 MB, free: 7.051 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1188, allocations: 0 / 339.9 MB, free: 7.051 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.119, allocations: 148.7 kB / 340.1 MB, free: 6.906 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005212/0.1196, allocations: 59.33 kB / 340.1 MB, free: 6.852 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.121, allocations: 1.089 MB / 341.2 MB, free: 5.699 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.1214, allocations: 0.7764 MB / 342 MB, free: 4.895 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.1215, allocations: 42.94 kB / 342 MB, free: 4.855 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/0.1216, allocations: 27.44 kB / 342.1 MB, free: 4.828 MB / 286.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1216, allocations: 0 / 342.1 MB, free: 4.828 MB / 286.1 MB Notification: Performance of Templates: time 0.006429/0.1281, allocations: 2.648 MB / 344.7 MB, free: 2.184 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) Environment - environmentSimulation: