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.001173/0.001173, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001505/0.001505, allocations: 192.6 kB / 16.14 MB, free: 6.707 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.538/1.538, allocations: 205.1 MB / 222 MB, free: 4.77 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.001146/0.001146, allocations: 51.92 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2869, allocations: 46.62 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003449/0.2904, allocations: 2.146 MB / 326.8 MB, free: 248 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004277/0.2909, allocations: 161.5 kB / 327 MB, free: 108 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.2911, allocations: 4.438 kB / 327 MB, free: 108 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.2912, allocations: 26.41 kB / 327 MB, free: 84 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 9.853e-05/0.2914, allocations: 32.92 kB / 327 MB, free: 56 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.2915, allocations: 42.52 kB / 327.1 MB, free: 20 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.2918, allocations: 171.4 kB / 327.2 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.2919, allocations: 51.95 kB / 327.3 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.098e-05/0.292, allocations: 62.66 kB / 327.4 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.2922, allocations: 74.25 kB / 327.4 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.2922, allocations: 9.75 kB / 327.4 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.962e-05/0.2922, allocations: 8.406 kB / 327.4 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.124e-05/0.2923, allocations: 28.73 kB / 327.5 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.2924, allocations: 79.38 kB / 327.6 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.2926, allocations: 180.4 kB / 327.7 MB, free: 15.6 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2926, allocations: 0 / 327.7 MB, free: 15.6 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2927, allocations: 0 / 327.7 MB, free: 15.6 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.2927, allocations: 0 / 327.7 MB, free: 15.6 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.0006585/0.2933, allocations: 464.5 kB / 328.2 MB, free: 15.15 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.2934, allocations: 8.844 kB / 328.2 MB, free: 15.15 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.2934, allocations: 18.94 kB / 328.2 MB, free: 15.14 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.2937, allocations: 223.3 kB / 328.4 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.2937, allocations: 15.72 kB / 328.4 MB, free: 14.89 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.2937, allocations: 19.06 kB / 328.5 MB, free: 14.89 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.294, allocations: 184.6 kB / 328.6 MB, free: 14.74 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.2941, allocations: 5.375 kB / 328.6 MB, free: 14.74 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.2941, allocations: 9.469 kB / 328.7 MB, free: 14.73 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.2941, allocations: 9.062 kB / 328.7 MB, free: 14.73 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.2943, allocations: 95.31 kB / 328.8 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.2956, allocations: 0.9523 MB / 329.7 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.2958, allocations: 108.2 kB / 329.8 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.401e-05/0.2959, allocations: 35.8 kB / 329.9 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.2959, allocations: 10.2 kB / 329.9 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.2959, allocations: 35.69 kB / 329.9 MB, free: 13.59 MB / 270.1 MB Notification: Performance of pre-optimization done (n=12): time 1.163e-06/0.2959, allocations: 0 / 329.9 MB, free: 13.59 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003336/0.2963, allocations: 127 kB / 330 MB, free: 13.51 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.2963, allocations: 104.8 kB / 330.1 MB, free: 13.39 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.2965, allocations: 208.6 kB / 330.3 MB, free: 13.22 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.2966, allocations: 29.7 kB / 330.4 MB, free: 13.19 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.2967, allocations: 145 kB / 330.5 MB, free: 13.05 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.2968, allocations: 49.66 kB / 330.5 MB, free: 13.01 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.525e-05/0.2968, allocations: 41.14 kB / 330.6 MB, free: 12.98 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.297, allocations: 335.2 kB / 330.9 MB, free: 12.64 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.613e-05/0.297, allocations: 41.48 kB / 331 MB, free: 12.62 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.2972, allocations: 146 kB / 331.1 MB, free: 12.46 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.2975, allocations: 201.1 kB / 331.3 MB, free: 12.27 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.2975, allocations: 1.219 kB / 331.3 MB, free: 12.27 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003315/0.2978, allocations: 216 kB / 331.5 MB, free: 12.15 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.2978, allocations: 6.594 kB / 331.5 MB, free: 12.15 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.2978, allocations: 4.375 kB / 331.5 MB, free: 12.15 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.2979, allocations: 5.25 kB / 331.5 MB, free: 12.15 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.298, allocations: 54.94 kB / 331.6 MB, free: 12.14 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.2981, allocations: 8.406 kB / 331.6 MB, free: 12.13 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.2982, allocations: 32 kB / 331.6 MB, free: 12.11 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.2982, allocations: 9.969 kB / 331.6 MB, free: 12.11 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.0001318/0.2984, allocations: 142.6 kB / 331.8 MB, free: 11.97 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/0.2984, allocations: 20.86 kB / 331.8 MB, free: 11.96 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.428e-05/0.2985, allocations: 22.23 kB / 331.8 MB, free: 11.94 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2985, allocations: 1.25 kB / 331.8 MB, free: 11.94 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.2985, allocations: 1.906 kB / 331.8 MB, free: 11.94 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.2985, allocations: 3.938 kB / 331.8 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004237/0.299, allocations: 236.6 kB / 332 MB, free: 11.69 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.299, allocations: 1.125 kB / 332 MB, free: 11.69 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.2991, allocations: 31.2 kB / 332.1 MB, free: 11.68 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2991, allocations: 2.094 kB / 332.1 MB, free: 11.68 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.2992, allocations: 6.062 kB / 332.1 MB, free: 11.68 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2992, allocations: 5.031 kB / 332.1 MB, free: 11.68 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2992, allocations: 1.125 kB / 332.1 MB, free: 11.68 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.2996, allocations: 390.1 kB / 332.5 MB, free: 11.34 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/0.2997, allocations: 94.45 kB / 332.6 MB, free: 11.23 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.2997, allocations: 6.641 kB / 332.6 MB, free: 11.23 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.2998, allocations: 5 kB / 332.6 MB, free: 11.22 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.2999, allocations: 12.25 kB / 332.6 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.2999, allocations: 2.25 kB / 332.6 MB, free: 11.21 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.3, allocations: 146.2 kB / 332.7 MB, free: 11.11 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3001, allocations: 1.062 kB / 332.7 MB, free: 11.11 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003734/0.3004, allocations: 40.12 kB / 332.8 MB, free: 11.1 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.0001174/0.3006, allocations: 106.1 kB / 332.9 MB, free: 11 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002363/0.3008, allocations: 103 kB / 333 MB, free: 10.96 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3008, allocations: 4.906 kB / 333 MB, free: 10.96 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.466e-05/0.3009, allocations: 33.11 kB / 333 MB, free: 10.95 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.3015, allocations: 32.3 kB / 333 MB, free: 10.93 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.3027, allocations: 0.6809 MB / 333.7 MB, free: 10.35 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.303, allocations: 0.7223 MB / 334.4 MB, free: 9.637 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.318e-05/0.3031, allocations: 18.23 kB / 334.5 MB, free: 9.625 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.3032, allocations: 21.98 kB / 334.5 MB, free: 9.617 MB / 270.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3032, allocations: 0 / 334.5 MB, free: 9.617 MB / 270.1 MB Notification: Performance of Templates: time 0.004278/0.3075, allocations: 1.268 MB / 335.8 MB, free: 8.496 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)