Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 110.3 kB / 17.74 MB, free: 5.336 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.0019/0.001901, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009641/0.0009641, allocations: 47.91 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.286, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002872/0.289, allocations: 1.578 MB / 403 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008532/0.2898, allocations: 0.4986 MB / 403.5 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.045e-05/0.2899, allocations: 0 / 403.5 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.373e-05/0.29, allocations: 7.875 kB / 403.5 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.2901, allocations: 11.92 kB / 403.5 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.2904, allocations: 57.83 kB / 403.6 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.2905, allocations: 47.78 kB / 403.6 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.2906, allocations: 20.17 kB / 403.6 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.475e-05/0.2907, allocations: 19.92 kB / 403.7 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.284e-05/0.2908, allocations: 23.8 kB / 403.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.2908, allocations: 4 kB / 403.7 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.568e-05/0.2908, allocations: 4 kB / 403.7 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.089e-05/0.2909, allocations: 15.92 kB / 403.7 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.2909, allocations: 27.8 kB / 403.7 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.2911, allocations: 55.75 kB / 403.8 MB, free: 6.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2911, allocations: 4 kB / 403.8 MB, free: 6.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2911, allocations: 3.938 kB / 403.8 MB, free: 6.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.2911, allocations: 0 / 403.8 MB, free: 6.484 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000449/0.2915, allocations: 376.3 kB / 404.2 MB, free: 6.074 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2916, allocations: 11.89 kB / 404.2 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.2916, allocations: 8.844 kB / 404.2 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.2919, allocations: 199.2 kB / 404.4 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.2919, allocations: 8.375 kB / 404.4 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.2919, allocations: 8.312 kB / 404.4 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.2922, allocations: 114 kB / 404.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2922, allocations: 3.984 kB / 404.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.2922, allocations: 0 / 404.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.2923, allocations: 4 kB / 404.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.383e-05/0.2923, allocations: 23.98 kB / 404.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.2927, allocations: 278.5 kB / 404.8 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.2928, allocations: 67.8 kB / 404.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.388e-05/0.2928, allocations: 30.62 kB / 404.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.2929, allocations: 7.984 kB / 404.9 MB, free: 5.176 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.2929, allocations: 30.56 kB / 404.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 2.515e-06/0.2929, allocations: 4 kB / 404.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002691/0.2932, allocations: 97.38 kB / 405 MB, free: 5.031 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.2932, allocations: 102.8 kB / 405.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.2934, allocations: 141.8 kB / 405.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.2934, allocations: 25.7 kB / 405.3 MB, free: 4.727 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.2934, allocations: 96.41 kB / 405.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.2935, allocations: 8 kB / 405.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.2935, allocations: 17.72 kB / 405.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.2936, allocations: 314.8 kB / 405.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.445e-05/0.2937, allocations: 12 kB / 405.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.78e-05/0.2937, allocations: 31.42 kB / 405.8 MB, free: 4.227 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.395e-05/0.2938, allocations: 59.3 kB / 405.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2938, allocations: 4 kB / 405.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001363/0.294, allocations: 73.45 kB / 405.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.294, allocations: 4.125 kB / 405.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.294, allocations: 8 kB / 405.9 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.294, allocations: 0 / 405.9 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.981e-05/0.2941, allocations: 8 kB / 405.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.2941, allocations: 3.984 kB / 405.9 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.2942, allocations: 11.92 kB / 405.9 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.2942, allocations: 0 / 405.9 MB, free: 4.039 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 8.474e-05/0.2943, allocations: 121.8 kB / 406.1 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.2943, allocations: 7.906 kB / 406.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.342e-05/0.2944, allocations: 19.86 kB / 406.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.2944, allocations: 3.938 kB / 406.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.2944, allocations: 0 / 406.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.307e-05/0.2944, allocations: 93 kB / 406.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.2945, allocations: 4 kB / 406.2 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.2945, allocations: 0 / 406.2 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.2946, allocations: 11.92 kB / 406.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002222/0.2948, allocations: 299.4 kB / 406.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002316/0.2951, allocations: 389.3 kB / 406.9 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.339e-05/0.2951, allocations: 28.02 kB / 406.9 MB, free: 3.023 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.644e-05/0.2952, allocations: 109.8 kB / 407 MB, free: 2.918 MB / 318.1 MB Notification: Performance of Backend: time 2.91e-07/0.2952, allocations: 0 / 407 MB, free: 2.918 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005221/0.2957, allocations: 94.39 kB / 407.1 MB, free: 2.82 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005577/0.2963, allocations: 0.6128 MB / 407.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of Templates: time 0.002641/0.299, allocations: 0.6381 MB / 408.3 MB, free: 1.527 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1)