Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.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.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 111.8 kB / 17.06 MB, free: 6.004 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.001611/0.001611, allocations: 198.9 kB / 18 MB, free: 5.082 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.496/1.496, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001374/0.001374, allocations: 51.92 kB / 327.8 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0912/0.09259, allocations: 46.62 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003835/0.09646, allocations: 2.087 MB / 376.6 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006131/0.09711, allocations: 155.4 kB / 376.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.09729, allocations: 7.938 kB / 376.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.09751, allocations: 31.72 kB / 376.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.09765, allocations: 47.55 kB / 376.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.09788, allocations: 43.95 kB / 376.8 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002925/0.09818, allocations: 179.2 kB / 377 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.09841, allocations: 69.98 kB / 377.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.09853, allocations: 71.72 kB / 377.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.09868, allocations: 71.64 kB / 377.2 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.09872, allocations: 16 kB / 377.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.07e-05/0.09876, allocations: 16 kB / 377.3 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.725e-05/0.09881, allocations: 31.91 kB / 377.3 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.09892, allocations: 87.53 kB / 377.4 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.09919, allocations: 175.3 kB / 377.5 MB, free: 1.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.0992, allocations: 0 / 377.5 MB, free: 1.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.09921, allocations: 0 / 377.5 MB, free: 1.488 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.09922, allocations: 0 / 377.5 MB, free: 1.488 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006867/0.09991, allocations: 470.9 kB / 378 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.09996, allocations: 8.031 kB / 378 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.1, allocations: 16.75 kB / 378 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.1003, allocations: 220 kB / 378.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1004, allocations: 16.31 kB / 378.3 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.1004, allocations: 16.38 kB / 378.3 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.1007, allocations: 186.2 kB / 378.5 MB, free: 480 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.1007, allocations: 3.938 kB / 378.5 MB, free: 476 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.1008, allocations: 12 kB / 378.5 MB, free: 464 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1008, allocations: 4 kB / 378.5 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.101, allocations: 99.81 kB / 378.6 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2119/0.3129, allocations: 0.941 MB / 379.5 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.3131, allocations: 105.5 kB / 379.6 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.3131, allocations: 43.12 kB / 379.7 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.3132, allocations: 1.375 kB / 379.7 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.3132, allocations: 46.97 kB / 379.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 2.845e-06/0.3132, allocations: 1.375 kB / 379.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003099/0.3135, allocations: 128.1 kB / 379.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.3136, allocations: 105.3 kB / 379.9 MB, free: 12.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.3138, allocations: 210.5 kB / 380.1 MB, free: 12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.3138, allocations: 28.95 kB / 380.2 MB, free: 11.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/0.3139, allocations: 142 kB / 380.3 MB, free: 11.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.3139, allocations: 51.44 kB / 380.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.158e-05/0.314, allocations: 40.88 kB / 380.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.869e-05/0.314, allocations: 334.8 kB / 380.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-05/0.3141, allocations: 36.86 kB / 380.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.3142, allocations: 145.2 kB / 380.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.3144, allocations: 200 kB / 381.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3144, allocations: 1.375 kB / 381.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002823/0.3147, allocations: 215.4 kB / 381.3 MB, free: 11.17 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.3148, allocations: 10.91 kB / 381.3 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.3148, allocations: 8.125 kB / 381.3 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.3148, allocations: 4 kB / 381.3 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.315, allocations: 51.05 kB / 381.4 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.315, allocations: 11.5 kB / 381.4 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.3151, allocations: 26.5 kB / 381.4 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.3151, allocations: 12.25 kB / 381.4 MB, free: 11.14 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (28): * Single equations (assignments): 28 * 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 8.168e-05/0.3152, allocations: 136.7 kB / 381.6 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.767e-05/0.3153, allocations: 26.31 kB / 381.6 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.405e-05/0.3153, allocations: 22.22 kB / 381.6 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3154, allocations: 7.297 kB / 381.6 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3154, allocations: 3.625 kB / 381.6 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3154, allocations: 0.6094 kB / 381.6 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/0.3157, allocations: 234.7 kB / 381.9 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3158, allocations: 1.406 kB / 381.9 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.3159, allocations: 34.47 kB / 381.9 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3159, allocations: 6.25 kB / 381.9 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3159, allocations: 1.375 kB / 381.9 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.3159, allocations: 9.312 kB / 381.9 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3159, allocations: 2.312 kB / 381.9 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.3162, allocations: 377.1 kB / 382.3 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/0.3163, allocations: 102.5 kB / 382.4 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.3163, allocations: 3.359 kB / 382.4 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.3164, allocations: 4.188 kB / 382.4 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.3165, allocations: 11.33 kB / 382.4 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.3165, allocations: 3.719 kB / 382.4 MB, free: 10.4 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.3166, allocations: 151 kB / 382.5 MB, free: 10.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3166, allocations: 3.562 kB / 382.5 MB, free: 10.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003984/0.317, allocations: 38.34 kB / 382.6 MB, free: 10.32 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.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 (12): * Single equations (assignments): 12 * 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 9.302e-05/0.3171, allocations: 98.86 kB / 382.7 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.3174, allocations: 110.7 kB / 382.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3174, allocations: 0.5625 kB / 382.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.108e-05/0.3175, allocations: 36.48 kB / 382.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005529/0.318, allocations: 33.27 kB / 382.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009444/0.319, allocations: 0.6353 MB / 383.5 MB, free: 9.773 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.3192, allocations: 0.7245 MB / 384.2 MB, free: 9.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.677e-05/0.3193, allocations: 16.7 kB / 384.2 MB, free: 9.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.3193, allocations: 17.44 kB / 384.2 MB, free: 9.062 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3193, allocations: 0 / 384.2 MB, free: 9.062 MB / 318.1 MB Notification: Performance of Templates: time 0.004443/0.3237, allocations: 1.4 MB / 385.6 MB, free: 8.938 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1)