Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.002115/0.002115, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002203/0.002203, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.594/1.594, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.001243/0.001243, allocations: 55.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3207, allocations: 46.63 MB / 325.3 MB, free: 1.848 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003372/0.3242, allocations: 2.093 MB / 327.4 MB, free: 196 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003483/0.3245, allocations: 157.3 kB / 327.6 MB, free: 60 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.3247, allocations: 7.219 kB / 327.6 MB, free: 56 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.3248, allocations: 27 kB / 327.6 MB, free: 32 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.325, allocations: 52.94 kB / 327.6 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.3251, allocations: 38.3 kB / 327.7 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.3254, allocations: 181.2 kB / 327.9 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.3256, allocations: 65.5 kB / 327.9 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.973e-05/0.3257, allocations: 60.92 kB / 328 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.3258, allocations: 73.02 kB / 328 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.3259, allocations: 14.28 kB / 328.1 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.286e-05/0.3259, allocations: 17.81 kB / 328.1 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.202e-05/0.3259, allocations: 35.95 kB / 328.1 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.758e-05/0.326, allocations: 82.89 kB / 328.2 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.3263, allocations: 170.7 kB / 328.4 MB, free: 15.51 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3263, allocations: 0 / 328.4 MB, free: 15.51 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3263, allocations: 4.969 kB / 328.4 MB, free: 15.51 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3263, allocations: 0 / 328.4 MB, free: 15.51 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006582/0.327, allocations: 472.5 kB / 328.8 MB, free: 15.05 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.327, allocations: 12.67 kB / 328.8 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.876e-05/0.3271, allocations: 22.81 kB / 328.9 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.3274, allocations: 214.8 kB / 329.1 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.3274, allocations: 10.94 kB / 329.1 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.005e-05/0.3274, allocations: 20.28 kB / 329.1 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.3278, allocations: 188.4 kB / 329.3 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.3278, allocations: 5.031 kB / 329.3 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.3279, allocations: 6.281 kB / 329.3 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.3279, allocations: 8.453 kB / 329.3 MB, free: 14.63 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002667/0.3282, allocations: 96.67 kB / 329.4 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.3299, allocations: 0.9635 MB / 330.4 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.3301, allocations: 103.3 kB / 330.5 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.385e-05/0.3302, allocations: 40.62 kB / 330.5 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.3302, allocations: 1.469 kB / 330.5 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.3302, allocations: 40.94 kB / 330.5 MB, free: 13.49 MB / 270.1 MB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.3302, allocations: 0 / 330.5 MB, free: 13.49 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003818/0.3306, allocations: 122.1 kB / 330.7 MB, free: 13.41 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/0.3307, allocations: 113.7 kB / 330.8 MB, free: 13.28 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.331, allocations: 207.4 kB / 331 MB, free: 13.12 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.331, allocations: 30.77 kB / 331 MB, free: 13.09 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.3311, allocations: 140.7 kB / 331.1 MB, free: 12.95 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.3312, allocations: 44.98 kB / 331.2 MB, free: 12.91 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.683e-05/0.3313, allocations: 50.16 kB / 331.2 MB, free: 12.88 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.3315, allocations: 331.2 kB / 331.6 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.199e-05/0.3316, allocations: 45.09 kB / 331.6 MB, free: 12.52 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.3317, allocations: 141.7 kB / 331.7 MB, free: 12.37 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.332, allocations: 196.6 kB / 331.9 MB, free: 12.18 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.332, allocations: 1.062 kB / 331.9 MB, free: 12.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003673/0.3324, allocations: 223.8 kB / 332.2 MB, free: 12.05 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3324, allocations: 6.906 kB / 332.2 MB, free: 12.05 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3324, allocations: 3.875 kB / 332.2 MB, free: 12.05 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.3324, allocations: 4.875 kB / 332.2 MB, free: 12.05 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.3326, allocations: 46.86 kB / 332.2 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.3327, allocations: 13.77 kB / 332.2 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.3328, allocations: 35.19 kB / 332.3 MB, free: 12.01 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.3328, allocations: 9.906 kB / 332.3 MB, free: 12.01 MB / 270.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 0.0001184/0.3329, allocations: 135.5 kB / 332.4 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.319e-05/0.333, allocations: 16.38 kB / 332.4 MB, free: 11.87 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.39e-05/0.3331, allocations: 25.23 kB / 332.4 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.3331, allocations: 2.312 kB / 332.4 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.3331, allocations: 0.9375 kB / 332.4 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.3331, allocations: 5.125 kB / 332.5 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.3335, allocations: 235.8 kB / 332.7 MB, free: 11.6 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3336, allocations: 5.188 kB / 332.7 MB, free: 11.59 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.3337, allocations: 31.86 kB / 332.7 MB, free: 11.59 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3337, allocations: 1.188 kB / 332.7 MB, free: 11.59 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.3337, allocations: 6.5 kB / 332.7 MB, free: 11.58 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3337, allocations: 1 kB / 332.7 MB, free: 11.58 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3338, allocations: 5.094 kB / 332.7 MB, free: 11.58 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.3341, allocations: 395.4 kB / 333.1 MB, free: 11.23 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.3342, allocations: 90.45 kB / 333.2 MB, free: 11.13 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.3342, allocations: 1.719 kB / 333.2 MB, free: 11.13 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.3343, allocations: 4.062 kB / 333.2 MB, free: 11.13 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.3344, allocations: 13.17 kB / 333.2 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.3344, allocations: 2.969 kB / 333.2 MB, free: 11.12 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.3345, allocations: 149.9 kB / 333.4 MB, free: 11.01 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3345, allocations: 0 / 333.4 MB, free: 11.01 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000363/0.3349, allocations: 40.06 kB / 333.4 MB, free: 11 MB / 270.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 0.0001253/0.335, allocations: 98.59 kB / 333.5 MB, free: 10.91 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.3352, allocations: 115.5 kB / 333.6 MB, free: 10.86 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3353, allocations: 3.938 kB / 333.6 MB, free: 10.86 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.394e-05/0.3353, allocations: 38.39 kB / 333.7 MB, free: 10.84 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/0.3359, allocations: 24.97 kB / 333.7 MB, free: 10.83 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.337, allocations: 0.6248 MB / 334.3 MB, free: 10.31 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.3373, allocations: 0.7299 MB / 335 MB, free: 9.586 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.816e-05/0.3374, allocations: 14.95 kB / 335.1 MB, free: 9.578 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.3375, allocations: 23.03 kB / 335.1 MB, free: 9.562 MB / 270.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3375, allocations: 0 / 335.1 MB, free: 9.562 MB / 270.1 MB Notification: Performance of Templates: time 0.004091/0.3416, allocations: 1.327 MB / 336.4 MB, free: 8.234 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1)