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.0009289/0.0009289, allocations: 90.67 kB / 15.36 MB, free: 0.7344 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.005055/0.005055, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.526/1.526, allocations: 205.4 MB / 222.5 MB, free: 5.793 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.00072/0.0007202, allocations: 8 kB / 279.4 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3124, allocations: 47.58 MB / 327 MB, free: 1.375 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002543/0.315, allocations: 1.792 MB / 328.8 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003712/0.3154, allocations: 167.1 kB / 329 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.3155, allocations: 4.5 kB / 329 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.3157, allocations: 23.47 kB / 329 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.741e-05/0.3158, allocations: 34.2 kB / 329 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.3159, allocations: 35.12 kB / 329.1 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.3162, allocations: 177.7 kB / 329.2 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.3163, allocations: 47.12 kB / 329.3 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.845e-05/0.3164, allocations: 55.36 kB / 329.3 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.3166, allocations: 72.56 kB / 329.4 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.3166, allocations: 7.781 kB / 329.4 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.65e-05/0.3166, allocations: 7.125 kB / 329.4 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.477e-05/0.3167, allocations: 25.75 kB / 329.5 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.3168, allocations: 103.8 kB / 329.6 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.317, allocations: 159.1 kB / 329.7 MB, free: 15.3 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-05/0.317, allocations: 9.359 kB / 329.7 MB, free: 15.3 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.317, allocations: 0 / 329.7 MB, free: 15.3 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.317, allocations: 3.938 kB / 329.7 MB, free: 15.29 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.0005952/0.3176, allocations: 435.6 kB / 330.2 MB, free: 14.87 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3177, allocations: 12.53 kB / 330.2 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.288e-05/0.3177, allocations: 22.53 kB / 330.2 MB, free: 14.85 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.318, allocations: 214.9 kB / 330.4 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.318, allocations: 11 kB / 330.4 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.3181, allocations: 23.67 kB / 330.4 MB, free: 14.6 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.3184, allocations: 185.1 kB / 330.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.3184, allocations: 10.03 kB / 330.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.3185, allocations: 5.188 kB / 330.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.3185, allocations: 8.688 kB / 330.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.3187, allocations: 99.97 kB / 330.7 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.32, allocations: 0.9601 MB / 331.7 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.3201, allocations: 99.58 kB / 331.8 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.377e-05/0.3202, allocations: 44.75 kB / 331.8 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.3202, allocations: 5.156 kB / 331.8 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.3203, allocations: 36.47 kB / 331.9 MB, free: 13.3 MB / 270.1 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.3203, allocations: 0 / 331.9 MB, free: 13.3 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003263/0.3206, allocations: 123.8 kB / 332 MB, free: 13.22 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/0.3207, allocations: 108.1 kB / 332.1 MB, free: 13.09 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.3209, allocations: 201 kB / 332.3 MB, free: 12.94 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.3209, allocations: 34.61 kB / 332.3 MB, free: 12.9 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.3211, allocations: 140.6 kB / 332.5 MB, free: 12.77 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.3211, allocations: 49.59 kB / 332.5 MB, free: 12.72 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.3212, allocations: 28.27 kB / 332.5 MB, free: 12.7 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3213, allocations: 330.3 kB / 332.9 MB, free: 12.37 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.623e-05/0.3214, allocations: 37.77 kB / 332.9 MB, free: 12.35 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.3215, allocations: 149.5 kB / 333.1 MB, free: 12.19 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.3218, allocations: 197.6 kB / 333.2 MB, free: 12 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.3218, allocations: 0 / 333.2 MB, free: 12 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003431/0.3222, allocations: 228.5 kB / 333.5 MB, free: 11.87 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3222, allocations: 7.406 kB / 333.5 MB, free: 11.87 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3222, allocations: 3.156 kB / 333.5 MB, free: 11.87 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.3222, allocations: 5.125 kB / 333.5 MB, free: 11.87 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.3224, allocations: 46.42 kB / 333.5 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.3224, allocations: 5.812 kB / 333.5 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3225, allocations: 31.41 kB / 333.6 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.3226, allocations: 17.66 kB / 333.6 MB, free: 11.83 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.0001266/0.3227, allocations: 143.2 kB / 333.7 MB, free: 11.69 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.957e-05/0.3228, allocations: 19.94 kB / 333.7 MB, free: 11.68 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.29e-05/0.3228, allocations: 18.38 kB / 333.8 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3228, allocations: 1.312 kB / 333.8 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3229, allocations: 6.281 kB / 333.8 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.3229, allocations: 7.922 kB / 333.8 MB, free: 11.65 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.3233, allocations: 228.9 kB / 334 MB, free: 11.41 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3233, allocations: 1.469 kB / 334 MB, free: 11.41 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.3234, allocations: 30.7 kB / 334 MB, free: 11.41 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3235, allocations: 1.188 kB / 334 MB, free: 11.41 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.3235, allocations: 10.05 kB / 334 MB, free: 11.4 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3235, allocations: 6.125 kB / 334 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3235, allocations: 1.031 kB / 334 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.3238, allocations: 382.2 kB / 334.4 MB, free: 11.06 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/0.3239, allocations: 94.44 kB / 334.5 MB, free: 10.96 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.3239, allocations: 9.812 kB / 334.5 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.3241, allocations: 1.062 kB / 334.5 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.3241, allocations: 16.52 kB / 334.5 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.3241, allocations: 7.219 kB / 334.5 MB, free: 10.93 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.3243, allocations: 146.5 kB / 334.7 MB, free: 10.83 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3243, allocations: 0 / 334.7 MB, free: 10.83 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003662/0.3246, allocations: 39.56 kB / 334.7 MB, free: 10.82 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.0001156/0.3248, allocations: 98.09 kB / 334.8 MB, free: 10.73 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.325, allocations: 115.7 kB / 334.9 MB, free: 10.68 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.325, allocations: 0 / 334.9 MB, free: 10.68 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.519e-05/0.3251, allocations: 37.67 kB / 335 MB, free: 10.66 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005894/0.3257, allocations: 23.08 kB / 335 MB, free: 10.65 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.3269, allocations: 0.7753 MB / 335.8 MB, free: 9.988 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.3272, allocations: 0.7221 MB / 336.5 MB, free: 9.273 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.043e-05/0.3273, allocations: 22.72 kB / 336.5 MB, free: 9.262 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.3273, allocations: 17.31 kB / 336.5 MB, free: 9.258 MB / 270.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3273, allocations: 0 / 336.5 MB, free: 9.258 MB / 270.1 MB Notification: Performance of Templates: time 0.004149/0.3315, allocations: 1.25 MB / 337.8 MB, free: 8.062 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)