Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001225/0.001225, allocations: 111.1 kB / 18.45 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0014/0.001401, allocations: 207.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 59.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2898, allocations: 50.54 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003391/0.2932, allocations: 1.906 MB / 411.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.2953, allocations: 1.188 MB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.2955, allocations: 4 kB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006001/0.2961, allocations: 147.5 kB / 413.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004489/0.2966, allocations: 155.4 kB / 413.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005505/0.2971, allocations: 167.1 kB / 413.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.2974, allocations: 191.5 kB / 413.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.2976, allocations: 29.55 kB / 413.7 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.2977, allocations: 79.64 kB / 413.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.2978, allocations: 79.61 kB / 413.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.2979, allocations: 8 kB / 413.9 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.298, allocations: 51.97 kB / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.068e-05/0.2981, allocations: 43.84 kB / 414 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.865e-05/0.2982, allocations: 79.48 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.2985, allocations: 211 kB / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2986, allocations: 0 / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2986, allocations: 0 / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.2986, allocations: 0 / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008027/0.2994, allocations: 0.517 MB / 414.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2994, allocations: 8.031 kB / 414.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.692e-05/0.2995, allocations: 24.73 kB / 414.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.2999, allocations: 274.6 kB / 415.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.2999, allocations: 8.359 kB / 415.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.2999, allocations: 12.12 kB / 415.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.3003, allocations: 142.7 kB / 415.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3003, allocations: 0 / 415.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.3003, allocations: 8 kB / 415.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3003, allocations: 0 / 415.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.3004, allocations: 39.91 kB / 415.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005325/0.301, allocations: 362.5 kB / 415.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.3012, allocations: 107.9 kB / 415.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.62e-05/0.3013, allocations: 46.5 kB / 415.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.3014, allocations: 0 / 415.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.3015, allocations: 75.39 kB / 415.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/0.3015, allocations: 0 / 415.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003678/0.3019, allocations: 145.3 kB / 416 MB, free: 11.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.302, allocations: 132.5 kB / 416.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.3023, allocations: 273 kB / 416.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.3023, allocations: 29.7 kB / 416.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.3024, allocations: 116 kB / 416.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.3024, allocations: 12.16 kB / 416.5 MB, free: 10.72 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/0.3025, allocations: 45.55 kB / 416.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.3026, allocations: 330.8 kB / 416.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.496e-05/0.3027, allocations: 19.98 kB / 416.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.368e-05/0.3028, allocations: 70 kB / 417 MB, free: 10.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.3029, allocations: 76.5 kB / 417.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.303, allocations: 0 / 417.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00022/0.3032, allocations: 121.4 kB / 417.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3032, allocations: 6.938 kB / 417.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3032, allocations: 4 kB / 417.2 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3032, allocations: 4 kB / 417.2 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.991e-05/0.3033, allocations: 15.98 kB / 417.2 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3034, allocations: 7.938 kB / 417.2 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.284e-05/0.3034, allocations: 7.938 kB / 417.2 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.3035, allocations: 7.938 kB / 417.2 MB, free: 9.961 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001192/0.3036, allocations: 141.8 kB / 417.4 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.3036, allocations: 19.72 kB / 417.4 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.251e-05/0.3037, allocations: 29.7 kB / 417.4 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3037, allocations: 4 kB / 417.4 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3037, allocations: 0 / 417.4 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.936e-05/0.3038, allocations: 104.9 kB / 417.5 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.3038, allocations: 11.94 kB / 417.5 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.381e-05/0.3039, allocations: 0 / 417.5 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.304, allocations: 11.92 kB / 417.6 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003241/0.3043, allocations: 347.4 kB / 417.9 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004145/0.3047, allocations: 445 kB / 418.3 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.996e-05/0.3048, allocations: 35.97 kB / 418.4 MB, free: 8.777 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001936/0.305, allocations: 208.5 kB / 418.6 MB, free: 8.574 MB / 334.1 MB Notification: Performance of Backend: time 6.42e-07/0.305, allocations: 0 / 418.6 MB, free: 8.574 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.3066, allocations: 440.5 kB / 419 MB, free: 8.277 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008156/0.3074, allocations: 0.766 MB / 419.8 MB, free: 7.465 MB / 334.1 MB Notification: Performance of Templates: time 0.006124/0.3135, allocations: 2.527 MB / 422.3 MB, free: 4.961 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1)