Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.00688/0.00688, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001267/0.001267, allocations: 195 kB / 16.67 MB, free: 5.977 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.476/1.476, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.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.001414/0.001415, allocations: 46.69 kB / 326.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.099/0.1004, allocations: 46.62 MB / 373.2 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003755/0.1042, allocations: 2.405 MB / 375.6 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000716/0.105, allocations: 243.1 kB / 375.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.1052, allocations: 4 kB / 375.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.1054, allocations: 43.58 kB / 375.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.1056, allocations: 83.2 kB / 375.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.1059, allocations: 59.92 kB / 376 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00037/0.1063, allocations: 282.7 kB / 376.3 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.1065, allocations: 109.7 kB / 376.4 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.1067, allocations: 107.6 kB / 376.5 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.1069, allocations: 119.5 kB / 376.6 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.1069, allocations: 20 kB / 376.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.818e-05/0.107, allocations: 24 kB / 376.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.107, allocations: 51.78 kB / 376.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.1072, allocations: 135.3 kB / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.1075, allocations: 294.9 kB / 377.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1075, allocations: 0 / 377.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1075, allocations: 0 / 377.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.1075, allocations: 0 / 377.1 MB, free: 13.38 MB / 318.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.0008238/0.1083, allocations: 0.5421 MB / 377.6 MB, free: 12.78 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1084, allocations: 8.031 kB / 377.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.652e-05/0.1085, allocations: 32.56 kB / 377.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.1088, allocations: 248.5 kB / 377.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.1088, allocations: 20.94 kB / 377.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.662e-05/0.1089, allocations: 28.28 kB / 378 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.1092, allocations: 239.9 kB / 378.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.1093, allocations: 4.188 kB / 378.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.1093, allocations: 11.94 kB / 378.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.1093, allocations: 11.94 kB / 378.2 MB, free: 12.13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.1096, allocations: 161 kB / 378.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.1106, allocations: 0.7851 MB / 379.2 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/0.1111, allocations: 307.6 kB / 379.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.1114, allocations: 138.5 kB / 379.6 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.1114, allocations: 4 kB / 379.6 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.1115, allocations: 38.56 kB / 379.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.1115, allocations: 0 / 379.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002603/0.1141, allocations: 1.954 MB / 381.6 MB, free: 8.391 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.1141, allocations: 110.8 kB / 381.7 MB, free: 8.258 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.1143, allocations: 191.2 kB / 381.9 MB, free: 8.059 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.1144, allocations: 33.7 kB / 381.9 MB, free: 8.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.659e-05/0.1144, allocations: 136.8 kB / 382.1 MB, free: 7.883 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.1146, allocations: 161.6 kB / 382.2 MB, free: 7.723 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.616e-05/0.1147, allocations: 78.12 kB / 382.3 MB, free: 7.641 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1148, allocations: 334.8 kB / 382.6 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.1149, allocations: 88.84 kB / 382.7 MB, free: 7.219 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.1151, allocations: 158.3 kB / 382.9 MB, free: 7.039 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.1155, allocations: 286 kB / 383.2 MB, free: 6.738 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1155, allocations: 0 / 383.2 MB, free: 6.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000463/0.116, allocations: 333.1 kB / 383.5 MB, free: 6.406 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.116, allocations: 15.92 kB / 383.5 MB, free: 6.391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.116, allocations: 0 / 383.5 MB, free: 6.391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.116, allocations: 4 kB / 383.5 MB, free: 6.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.1164, allocations: 95.94 kB / 383.6 MB, free: 6.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.1164, allocations: 0 / 383.6 MB, free: 6.293 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.1165, allocations: 12 kB / 383.6 MB, free: 6.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.1165, allocations: 16 kB / 383.6 MB, free: 6.266 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001314/0.1167, allocations: 149.8 kB / 383.8 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-05/0.1168, allocations: 31.66 kB / 383.8 MB, free: 6.078 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.808e-05/0.1168, allocations: 33.88 kB / 383.8 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1169, allocations: 4.047 kB / 383.8 MB, free: 6.035 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.1169, allocations: 11.98 kB / 383.8 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1169, allocations: 3.984 kB / 383.8 MB, free: 6.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.1182, allocations: 1.062 MB / 384.9 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1182, allocations: 0 / 384.9 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003542/0.1185, allocations: 91.89 kB / 385 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.1186, allocations: 7.938 kB / 385 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.1186, allocations: 8 kB / 385 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.533e-06/0.1186, allocations: 8.406 kB / 385 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1186, allocations: 4.281 kB / 385 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007263/0.1194, allocations: 0.7249 MB / 385.8 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.199e-05/0.1194, allocations: 108.8 kB / 385.9 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.1195, allocations: 11.98 kB / 385.9 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.1197, allocations: 12.12 kB / 385.9 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.1198, allocations: 43.84 kB / 385.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.1198, allocations: 12 kB / 385.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.527e-05/0.1199, allocations: 140.2 kB / 386.1 MB, free: 3.645 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1199, allocations: 0 / 386.1 MB, free: 3.645 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004084/0.1203, allocations: 76 kB / 386.1 MB, free: 3.57 MB / 318.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 (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.0001103/0.1204, allocations: 103.2 kB / 386.2 MB, free: 3.457 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004422/0.1209, allocations: 275.6 kB / 386.5 MB, free: 3.188 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1209, allocations: 0 / 386.5 MB, free: 3.188 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.1211, allocations: 140.6 kB / 386.7 MB, free: 3.051 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006493/0.1217, allocations: 61.53 kB / 386.7 MB, free: 2.992 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.123, allocations: 0.9006 MB / 387.6 MB, free: 2.035 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.1233, allocations: 0.7683 MB / 388.4 MB, free: 1.242 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.1234, allocations: 38.95 kB / 388.4 MB, free: 1.203 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/0.1235, allocations: 27.44 kB / 388.4 MB, free: 1.176 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1235, allocations: 0 / 388.4 MB, free: 1.176 MB / 318.1 MB Notification: Performance of Templates: time 0.006216/0.1297, allocations: 3.106 MB / 391.6 MB, free: 14.07 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1)