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.001496/0.001496, allocations: 92.56 kB / 16.31 MB, free: 5.613 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.001502/0.001502, allocations: 184 kB / 17.21 MB, free: 5.527 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.572/1.572, allocations: 205.4 MB / 223.4 MB, free: 5.539 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.0004673/0.0004675, allocations: 8 kB / 280.1 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2863, allocations: 47.59 MB / 327.7 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00212/0.2884, allocations: 1.733 MB / 329.5 MB, free: 48 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003515/0.2888, allocations: 161.7 kB / 329.6 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.2889, allocations: 6.562 kB / 329.6 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.2891, allocations: 26.72 kB / 329.6 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.439e-05/0.2891, allocations: 37.44 kB / 329.7 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.2893, allocations: 29.59 kB / 329.7 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.2895, allocations: 168.6 kB / 329.9 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.2897, allocations: 40.14 kB / 329.9 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.527e-05/0.2897, allocations: 64.38 kB / 330 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.2898, allocations: 60.08 kB / 330 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.2899, allocations: 7.688 kB / 330 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.552e-05/0.2899, allocations: 7.656 kB / 330.1 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.28e-05/0.2899, allocations: 24.44 kB / 330.1 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.928e-05/0.29, allocations: 57.92 kB / 330.1 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.2902, allocations: 132.4 kB / 330.3 MB, free: 15.47 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2902, allocations: 4 kB / 330.3 MB, free: 15.46 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.2902, allocations: 1.125 kB / 330.3 MB, free: 15.46 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.2902, allocations: 3.938 kB / 330.3 MB, free: 15.46 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.0005768/0.2908, allocations: 431.8 kB / 330.7 MB, free: 15.04 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2908, allocations: 9.75 kB / 330.7 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.2909, allocations: 21.84 kB / 330.7 MB, free: 15.03 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.2911, allocations: 213.8 kB / 330.9 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.2911, allocations: 10.19 kB / 330.9 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.2912, allocations: 28.16 kB / 331 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.2915, allocations: 186.6 kB / 331.2 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.2916, allocations: 1.156 kB / 331.2 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.2916, allocations: 9.391 kB / 331.2 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.2916, allocations: 9.344 kB / 331.2 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.2918, allocations: 98.94 kB / 331.3 MB, free: 14.57 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.293, allocations: 0.9562 MB / 332.2 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.2932, allocations: 94.44 kB / 332.3 MB, free: 13.56 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.899e-05/0.2932, allocations: 40.38 kB / 332.4 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.2933, allocations: 5.25 kB / 332.4 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.2933, allocations: 36.69 kB / 332.4 MB, free: 13.48 MB / 270.1 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.2933, allocations: 0 / 332.4 MB, free: 13.48 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003015/0.2936, allocations: 126.8 kB / 332.5 MB, free: 13.4 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.2937, allocations: 108 kB / 332.6 MB, free: 13.27 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.2939, allocations: 211.7 kB / 332.8 MB, free: 13.11 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.2939, allocations: 33.7 kB / 332.9 MB, free: 13.07 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.294, allocations: 137.2 kB / 333 MB, free: 12.94 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.2941, allocations: 53.81 kB / 333.1 MB, free: 12.89 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-06/0.2941, allocations: 5.375 kB / 333.1 MB, free: 12.89 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2942, allocations: 331 kB / 333.4 MB, free: 12.56 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.334e-05/0.2943, allocations: 36.48 kB / 333.4 MB, free: 12.54 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.2944, allocations: 144 kB / 333.6 MB, free: 12.38 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.2945, allocations: 66.34 kB / 333.6 MB, free: 12.35 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2945, allocations: 1.156 kB / 333.6 MB, free: 12.35 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003068/0.2948, allocations: 213.9 kB / 333.8 MB, free: 12.23 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.2949, allocations: 11.08 kB / 333.8 MB, free: 12.22 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2949, allocations: 3.25 kB / 333.8 MB, free: 12.22 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.2949, allocations: 5.969 kB / 333.9 MB, free: 12.22 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.2951, allocations: 51.48 kB / 333.9 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.2951, allocations: 4.219 kB / 333.9 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.2952, allocations: 36.48 kB / 333.9 MB, free: 12.18 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.2952, allocations: 9.656 kB / 334 MB, free: 12.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.2953, allocations: 138.4 kB / 334.1 MB, free: 12.05 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/0.2954, allocations: 21.08 kB / 334.1 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.963e-05/0.2955, allocations: 17.75 kB / 334.1 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2955, allocations: 2.031 kB / 334.1 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.2955, allocations: 1.312 kB / 334.1 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.2955, allocations: 5.547 kB / 334.1 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004025/0.2959, allocations: 239.5 kB / 334.4 MB, free: 11.77 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2959, allocations: 0 / 334.4 MB, free: 11.77 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.2961, allocations: 32.83 kB / 334.4 MB, free: 11.76 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2961, allocations: 5.094 kB / 334.4 MB, free: 11.76 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.2961, allocations: 2.062 kB / 334.4 MB, free: 11.76 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.2961, allocations: 5.078 kB / 334.4 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2961, allocations: 1.094 kB / 334.4 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.2965, allocations: 382.3 kB / 334.8 MB, free: 11.42 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.2965, allocations: 98.28 kB / 334.9 MB, free: 11.31 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.2966, allocations: 5.406 kB / 334.9 MB, free: 11.31 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.2967, allocations: 5.438 kB / 334.9 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.106e-05/0.2967, allocations: 9.172 kB / 334.9 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.2967, allocations: 2.625 kB / 334.9 MB, free: 11.3 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.2969, allocations: 145.4 kB / 335 MB, free: 11.2 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2969, allocations: 0 / 335 MB, free: 11.2 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003633/0.2972, allocations: 48.28 kB / 335.1 MB, free: 11.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001084/0.2974, allocations: 104.9 kB / 335.2 MB, free: 11.08 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.2976, allocations: 106.8 kB / 335.3 MB, free: 11.04 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2976, allocations: 0 / 335.3 MB, free: 11.04 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.207e-05/0.2976, allocations: 33.39 kB / 335.3 MB, free: 11.03 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.2982, allocations: 34.66 kB / 335.4 MB, free: 11 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.2992, allocations: 0.7571 MB / 336.1 MB, free: 10.36 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.2995, allocations: 0.7217 MB / 336.8 MB, free: 9.641 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.34e-05/0.2996, allocations: 19.94 kB / 336.9 MB, free: 9.633 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.2996, allocations: 19.88 kB / 336.9 MB, free: 9.625 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2997, allocations: 5.094 kB / 336.9 MB, free: 9.621 MB / 270.1 MB Notification: Performance of Templates: time 0.003562/0.3032, allocations: 1.223 MB / 338.1 MB, free: 8.594 MB / 270.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)