Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001967/0.001967, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.425/1.425, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 51.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2868, allocations: 49.43 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003776/0.2906, allocations: 1.589 MB / 403 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.2918, allocations: 474.8 kB / 403.5 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.2919, allocations: 7.938 kB / 403.5 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.613e-05/0.292, allocations: 3.938 kB / 403.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.2922, allocations: 19.86 kB / 403.5 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.2926, allocations: 46.64 kB / 403.5 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.2927, allocations: 47.8 kB / 403.6 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.2929, allocations: 16.16 kB / 403.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.293, allocations: 19.92 kB / 403.6 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.869e-05/0.2931, allocations: 23.88 kB / 403.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.2931, allocations: 4 kB / 403.7 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.58e-05/0.2931, allocations: 4 kB / 403.7 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.32e-05/0.2932, allocations: 11.92 kB / 403.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.293e-05/0.2933, allocations: 39.72 kB / 403.7 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.2934, allocations: 55.7 kB / 403.8 MB, free: 6.531 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.2934, allocations: 4 kB / 403.8 MB, free: 6.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2935, allocations: 0 / 403.8 MB, free: 6.527 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.2935, allocations: 0 / 403.8 MB, free: 6.527 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.0006187/0.2941, allocations: 372.3 kB / 404.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.2942, allocations: 8.031 kB / 404.1 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/0.2942, allocations: 12.84 kB / 404.1 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.2946, allocations: 200.1 kB / 404.3 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.2946, allocations: 384 / 404.3 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.2946, allocations: 4.375 kB / 404.3 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/0.295, allocations: 122 kB / 404.5 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.295, allocations: 0 / 404.5 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.295, allocations: 4 kB / 404.5 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.295, allocations: 0 / 404.5 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.2951, allocations: 23.97 kB / 404.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.2956, allocations: 278.5 kB / 404.8 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.2957, allocations: 63.8 kB / 404.8 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.847e-05/0.2958, allocations: 38.62 kB / 404.9 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.2959, allocations: 4 kB / 404.9 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.2959, allocations: 34.56 kB / 404.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 3.857e-06/0.2959, allocations: 0 / 404.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003776/0.2963, allocations: 89.38 kB / 405 MB, free: 5.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.2964, allocations: 107.2 kB / 405.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.2966, allocations: 145.8 kB / 405.2 MB, free: 4.809 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.2966, allocations: 25.7 kB / 405.3 MB, free: 4.777 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.2967, allocations: 96.03 kB / 405.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.2967, allocations: 0 / 405.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.677e-05/0.2968, allocations: 17.72 kB / 405.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.2969, allocations: 322.8 kB / 405.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.166e-05/0.297, allocations: 4 kB / 405.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.893e-05/0.2971, allocations: 39.42 kB / 405.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.2972, allocations: 47.3 kB / 405.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2973, allocations: 0 / 405.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002126/0.2975, allocations: 77.52 kB / 405.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.2975, allocations: 8 kB / 405.9 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.2975, allocations: 0 / 405.9 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.2976, allocations: 3.938 kB / 405.9 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.2977, allocations: 8 kB / 405.9 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.2977, allocations: 4 kB / 405.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.272e-05/0.2978, allocations: 7.922 kB / 405.9 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.2978, allocations: 4 kB / 405.9 MB, free: 4.102 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 0.0001084/0.2979, allocations: 121.9 kB / 406 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/0.298, allocations: 11.84 kB / 406 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.925e-05/0.2981, allocations: 15.86 kB / 406 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.2981, allocations: 0 / 406 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2981, allocations: 0 / 406 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.2982, allocations: 101 kB / 406.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.2982, allocations: 0 / 406.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.2984, allocations: 4 kB / 406.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.2984, allocations: 7.922 kB / 406.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003076/0.2987, allocations: 307.4 kB / 406.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003365/0.2991, allocations: 397.4 kB / 406.8 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.351e-05/0.2992, allocations: 15.98 kB / 406.9 MB, free: 3.082 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.2993, allocations: 114 kB / 407 MB, free: 2.973 MB / 318.1 MB Notification: Performance of Backend: time 5.43e-06/0.2993, allocations: 0 / 407 MB, free: 2.973 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008694/0.3002, allocations: 94.33 kB / 407.1 MB, free: 2.875 MB / 318.1 MB Notification: Performance of SimCode: time 0.0007547/0.301, allocations: 0.6247 MB / 407.7 MB, free: 2.203 MB / 318.1 MB Notification: Performance of Templates: time 0.004154/0.3051, allocations: 0.6326 MB / 408.3 MB, free: 1.582 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1)