Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.0008227/0.0008261, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.006032/0.006032, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.519/1.519, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.0004552/0.0004557, allocations: 11.98 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2792, allocations: 47.59 MB / 327 MB, free: 1.375 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002351/0.2816, allocations: 1.794 MB / 328.8 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.000436/0.2821, allocations: 160.5 kB / 329 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.2822, allocations: 3.969 kB / 329 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.2824, allocations: 22.94 kB / 329 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.007e-05/0.2825, allocations: 39.67 kB / 329 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.2827, allocations: 37.14 kB / 329.1 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.283, allocations: 171.1 kB / 329.2 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.2832, allocations: 47.5 kB / 329.3 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.88e-05/0.2833, allocations: 55.34 kB / 329.4 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.2834, allocations: 68.3 kB / 329.4 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.2834, allocations: 7.438 kB / 329.4 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.081e-05/0.2835, allocations: 7.312 kB / 329.4 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.2835, allocations: 21.3 kB / 329.5 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.2836, allocations: 112.7 kB / 329.6 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.2839, allocations: 163.2 kB / 329.7 MB, free: 15.3 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2839, allocations: 0 / 329.7 MB, free: 15.3 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2839, allocations: 0 / 329.7 MB, free: 15.3 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.2839, allocations: 5.062 kB / 329.7 MB, free: 15.3 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.0006851/0.2846, allocations: 439.3 kB / 330.2 MB, free: 14.87 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.2847, allocations: 9.469 kB / 330.2 MB, free: 14.87 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.688e-05/0.2847, allocations: 25.47 kB / 330.2 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.285, allocations: 215.3 kB / 330.4 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.285, allocations: 15.06 kB / 330.4 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.833e-05/0.2851, allocations: 19.84 kB / 330.4 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.2855, allocations: 185.3 kB / 330.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.2855, allocations: 9 kB / 330.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.2855, allocations: 5.969 kB / 330.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.2855, allocations: 4.344 kB / 330.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.2858, allocations: 100.6 kB / 330.7 MB, free: 14.4 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.2873, allocations: 0.9565 MB / 331.7 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.2874, allocations: 106.4 kB / 331.8 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.86e-05/0.2875, allocations: 40.97 kB / 331.8 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.2875, allocations: 1.219 kB / 331.8 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.2876, allocations: 40.84 kB / 331.9 MB, free: 13.3 MB / 270.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.2876, allocations: 0 / 331.9 MB, free: 13.3 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003574/0.288, allocations: 126.7 kB / 332 MB, free: 13.23 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.288, allocations: 104.2 kB / 332.1 MB, free: 13.1 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.2883, allocations: 204.6 kB / 332.3 MB, free: 12.94 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.2883, allocations: 26.64 kB / 332.3 MB, free: 12.91 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.2884, allocations: 149.2 kB / 332.5 MB, free: 12.77 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.2885, allocations: 48.8 kB / 332.5 MB, free: 12.73 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.2885, allocations: 24.14 kB / 332.5 MB, free: 12.7 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2887, allocations: 331.1 kB / 332.9 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-05/0.2888, allocations: 37.73 kB / 332.9 MB, free: 12.36 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.2889, allocations: 149.2 kB / 333 MB, free: 12.2 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.2892, allocations: 196.5 kB / 333.2 MB, free: 12.01 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2892, allocations: 1.656 kB / 333.2 MB, free: 12.01 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000362/0.2896, allocations: 220 kB / 333.5 MB, free: 11.88 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.2896, allocations: 11.42 kB / 333.5 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.2896, allocations: 7.062 kB / 333.5 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.2896, allocations: 5.406 kB / 333.5 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.2898, allocations: 50.77 kB / 333.5 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.2899, allocations: 5.5 kB / 333.5 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.29, allocations: 31.44 kB / 333.6 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.29, allocations: 9.344 kB / 333.6 MB, free: 11.84 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.2901, allocations: 134.6 kB / 333.7 MB, free: 11.71 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/0.2902, allocations: 29.52 kB / 333.7 MB, free: 11.69 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/0.2903, allocations: 16.97 kB / 333.8 MB, free: 11.67 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2903, allocations: 6.25 kB / 333.8 MB, free: 11.67 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.2903, allocations: 1.219 kB / 333.8 MB, free: 11.67 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.2903, allocations: 8.922 kB / 333.8 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/0.2908, allocations: 236.3 kB / 334 MB, free: 11.42 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2908, allocations: 1.25 kB / 334 MB, free: 11.42 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.291, allocations: 35.45 kB / 334 MB, free: 11.41 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.291, allocations: 1 kB / 334 MB, free: 11.41 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.291, allocations: 2.188 kB / 334 MB, free: 11.41 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.291, allocations: 4.984 kB / 334 MB, free: 11.4 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.291, allocations: 1.094 kB / 334 MB, free: 11.4 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.2914, allocations: 387.1 kB / 334.4 MB, free: 11.07 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.279e-05/0.2915, allocations: 94.56 kB / 334.5 MB, free: 10.96 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.2915, allocations: 5.156 kB / 334.5 MB, free: 10.96 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.2917, allocations: 6.125 kB / 334.5 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.2917, allocations: 15.33 kB / 334.5 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.2917, allocations: 3.375 kB / 334.5 MB, free: 10.94 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.2919, allocations: 150.3 kB / 334.7 MB, free: 10.83 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2919, allocations: 0 / 334.7 MB, free: 10.83 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003781/0.2923, allocations: 40.81 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.000116/0.2924, allocations: 96.91 kB / 334.8 MB, free: 10.73 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.2927, allocations: 107.9 kB / 334.9 MB, free: 10.69 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2927, allocations: 5.031 kB / 334.9 MB, free: 10.69 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.564e-05/0.2927, allocations: 33.44 kB / 335 MB, free: 10.68 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000603/0.2933, allocations: 23.77 kB / 335 MB, free: 10.66 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.2946, allocations: 0.7735 MB / 335.8 MB, free: 10 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.2949, allocations: 0.7229 MB / 336.5 MB, free: 9.285 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.999e-05/0.295, allocations: 23.03 kB / 336.5 MB, free: 9.273 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.179e-05/0.295, allocations: 16.56 kB / 336.5 MB, free: 9.27 MB / 270.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2951, allocations: 0 / 336.5 MB, free: 9.27 MB / 270.1 MB Notification: Performance of Templates: time 0.004349/0.2994, allocations: 1.265 MB / 337.8 MB, free: 8.023 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1)