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.001842/0.001842, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001982/0.001983, allocations: 195.4 kB / 16.25 MB, free: 6.633 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.532/1.532, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.001273/0.001273, allocations: 51.92 kB / 278.2 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3173, allocations: 46.63 MB / 324.8 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.004671/0.322, allocations: 2.142 MB / 327 MB, free: 244 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006509/0.3227, allocations: 166.2 kB / 327.1 MB, free: 100 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002622/0.323, allocations: 2.844 kB / 327.2 MB, free: 100 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.3233, allocations: 27.75 kB / 327.2 MB, free: 76 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.3235, allocations: 37.11 kB / 327.2 MB, free: 44 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.3237, allocations: 33.09 kB / 327.2 MB, free: 16 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003996/0.3241, allocations: 183.4 kB / 327.4 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.3243, allocations: 55.12 kB / 327.5 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.3245, allocations: 68.14 kB / 327.5 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.3247, allocations: 78.08 kB / 327.6 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.884e-05/0.3247, allocations: 14.06 kB / 327.6 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.559e-05/0.3248, allocations: 13.94 kB / 327.6 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.3248, allocations: 28.48 kB / 327.7 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.3249, allocations: 83.3 kB / 327.8 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.3252, allocations: 178.2 kB / 327.9 MB, free: 15.57 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3252, allocations: 7.938 kB / 327.9 MB, free: 15.57 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3252, allocations: 1.031 kB / 327.9 MB, free: 15.57 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.3252, allocations: 0 / 327.9 MB, free: 15.57 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.0007687/0.326, allocations: 467.9 kB / 328.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3261, allocations: 9.156 kB / 328.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.425e-05/0.3262, allocations: 18.88 kB / 328.4 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.3265, allocations: 215.4 kB / 328.6 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.3265, allocations: 22.89 kB / 328.7 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.3266, allocations: 16.06 kB / 328.7 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000392/0.327, allocations: 184.9 kB / 328.9 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.197e-05/0.327, allocations: 5.125 kB / 328.9 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.327, allocations: 6.5 kB / 328.9 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.3271, allocations: 4.094 kB / 328.9 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.3274, allocations: 108 kB / 329 MB, free: 14.65 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.3291, allocations: 0.9561 MB / 329.9 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.3293, allocations: 98.62 kB / 330 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.493e-05/0.3293, allocations: 40.97 kB / 330.1 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.3294, allocations: 5.469 kB / 330.1 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/0.3294, allocations: 41.23 kB / 330.1 MB, free: 13.55 MB / 270.1 MB Notification: Performance of pre-optimization done (n=12): time 2.064e-06/0.3294, allocations: 0 / 330.1 MB, free: 13.55 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003759/0.3298, allocations: 125.9 kB / 330.2 MB, free: 13.48 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.515e-05/0.3299, allocations: 104.9 kB / 330.3 MB, free: 13.35 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.3301, allocations: 204.8 kB / 330.5 MB, free: 13.2 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.3301, allocations: 29.7 kB / 330.6 MB, free: 13.16 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.3303, allocations: 144.8 kB / 330.7 MB, free: 13.02 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.3303, allocations: 45.94 kB / 330.8 MB, free: 12.98 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-05/0.3304, allocations: 49.09 kB / 330.8 MB, free: 12.95 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3305, allocations: 334.9 kB / 331.1 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.57e-05/0.3306, allocations: 37.83 kB / 331.2 MB, free: 12.6 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.3308, allocations: 149.9 kB / 331.3 MB, free: 12.43 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.3311, allocations: 201 kB / 331.5 MB, free: 12.24 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3311, allocations: 1.062 kB / 331.5 MB, free: 12.24 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003644/0.3314, allocations: 217 kB / 331.7 MB, free: 12.12 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.3315, allocations: 5.906 kB / 331.7 MB, free: 12.12 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.3315, allocations: 8.219 kB / 331.7 MB, free: 12.12 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.3315, allocations: 5.938 kB / 331.7 MB, free: 12.12 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.3317, allocations: 57.88 kB / 331.8 MB, free: 12.1 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.3317, allocations: 4.938 kB / 331.8 MB, free: 12.1 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.3319, allocations: 27.91 kB / 331.8 MB, free: 12.08 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.3319, allocations: 13.53 kB / 331.8 MB, free: 12.07 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.0001255/0.332, allocations: 138.9 kB / 332 MB, free: 11.94 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.482e-05/0.3321, allocations: 16.72 kB / 332 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.227e-05/0.3321, allocations: 21.36 kB / 332 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3322, allocations: 6.594 kB / 332 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.3322, allocations: 1.906 kB / 332 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3322, allocations: 3.938 kB / 332 MB, free: 11.9 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000445/0.3326, allocations: 232.6 kB / 332.3 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3326, allocations: 0 / 332.3 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.3328, allocations: 28.58 kB / 332.3 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.3328, allocations: 4.969 kB / 332.3 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.3328, allocations: 6.562 kB / 332.3 MB, free: 11.65 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3328, allocations: 5.281 kB / 332.3 MB, free: 11.65 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3329, allocations: 1.281 kB / 332.3 MB, free: 11.65 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.3332, allocations: 390.3 kB / 332.7 MB, free: 11.31 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.589e-05/0.3333, allocations: 90.3 kB / 332.8 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.3333, allocations: 5.281 kB / 332.8 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.3335, allocations: 1.25 kB / 332.8 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.3335, allocations: 21.2 kB / 332.8 MB, free: 11.19 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.3335, allocations: 3.25 kB / 332.8 MB, free: 11.19 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.3337, allocations: 145 kB / 332.9 MB, free: 11.08 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3337, allocations: 1.062 kB / 332.9 MB, free: 11.08 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003836/0.3341, allocations: 39.91 kB / 333 MB, free: 11.07 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.0001331/0.3342, allocations: 105.3 kB / 333.1 MB, free: 10.98 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.3345, allocations: 121.2 kB / 333.2 MB, free: 10.92 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3345, allocations: 0 / 333.2 MB, free: 10.92 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.479e-05/0.3345, allocations: 33.31 kB / 333.2 MB, free: 10.91 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006204/0.3352, allocations: 31.94 kB / 333.3 MB, free: 10.89 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.3363, allocations: 0.6712 MB / 333.9 MB, free: 10.32 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.3366, allocations: 0.7225 MB / 334.7 MB, free: 9.609 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.688e-05/0.3367, allocations: 18.52 kB / 334.7 MB, free: 9.598 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.3368, allocations: 17.66 kB / 334.7 MB, free: 9.59 MB / 270.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3368, allocations: 0 / 334.7 MB, free: 9.59 MB / 270.1 MB Notification: Performance of Templates: time 0.004395/0.3412, allocations: 1.345 MB / 336 MB, free: 8.332 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)