Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 107 kB / 17.74 MB, free: 5.332 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.0017/0.001701, allocations: 198.5 kB / 18.68 MB, free: 4.398 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.594/1.594, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.001371, allocations: 43.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4652/0.4665, allocations: 49.43 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.005076/0.4717, allocations: 1.898 MB / 403.3 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.4739, allocations: 1.048 MB / 404.4 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.474, allocations: 0 / 404.4 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007287/0.4748, allocations: 147.5 kB / 404.5 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.4751, allocations: 115.6 kB / 404.6 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006207/0.4757, allocations: 197.7 kB / 404.8 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.476, allocations: 175.6 kB / 405 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.4762, allocations: 37.47 kB / 405 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.4763, allocations: 79.62 kB / 405.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.4764, allocations: 67.69 kB / 405.2 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.4765, allocations: 8 kB / 405.2 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.4766, allocations: 59.91 kB / 405.2 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.492e-05/0.4767, allocations: 43.83 kB / 405.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.4768, allocations: 71.55 kB / 405.3 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003783/0.4772, allocations: 207.1 kB / 405.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4772, allocations: 0 / 405.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4772, allocations: 0 / 405.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.4773, allocations: 4 kB / 405.5 MB, free: 4.754 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001036/0.4783, allocations: 0.5116 MB / 406.1 MB, free: 4.188 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.4784, allocations: 11.89 kB / 406.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.539e-05/0.4784, allocations: 20.8 kB / 406.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.4789, allocations: 271 kB / 406.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.4789, allocations: 4.375 kB / 406.4 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.4789, allocations: 16.12 kB / 406.4 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003869/0.4793, allocations: 146.7 kB / 406.5 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4793, allocations: 3.938 kB / 406.5 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.4794, allocations: 0 / 406.5 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.4794, allocations: 4 kB / 406.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.4795, allocations: 31.98 kB / 406.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005667/0.4801, allocations: 362.4 kB / 406.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.4803, allocations: 107.9 kB / 407 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.208e-05/0.4804, allocations: 42.56 kB / 407.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.4804, allocations: 8.062 kB / 407.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.4806, allocations: 83.27 kB / 407.1 MB, free: 2.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.4806, allocations: 0 / 407.1 MB, free: 2.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004181/0.4811, allocations: 137.5 kB / 407.3 MB, free: 2.789 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.4812, allocations: 132.5 kB / 407.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.4815, allocations: 257 kB / 407.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.4815, allocations: 33.7 kB / 407.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.4817, allocations: 116.3 kB / 407.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.4817, allocations: 15.91 kB / 407.8 MB, free: 2.191 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.656e-05/0.4818, allocations: 33.7 kB / 407.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.482, allocations: 330.8 kB / 408.2 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.37e-05/0.482, allocations: 19.98 kB / 408.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.4821, allocations: 77.81 kB / 408.3 MB, free: 1.703 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.4823, allocations: 76.25 kB / 408.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.4823, allocations: 4.25 kB / 408.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002206/0.4825, allocations: 121.5 kB / 408.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4826, allocations: 4 kB / 408.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4826, allocations: 4 kB / 408.5 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.4826, allocations: 0 / 408.5 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.4827, allocations: 15.98 kB / 408.5 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.4827, allocations: 0 / 408.5 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.406e-05/0.4828, allocations: 15.89 kB / 408.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.4828, allocations: 7.938 kB / 408.5 MB, free: 1.438 MB / 318.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.000169/0.483, allocations: 145.8 kB / 408.7 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.4831, allocations: 19.94 kB / 408.7 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.379e-05/0.4831, allocations: 25.7 kB / 408.7 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.4831, allocations: 4 kB / 408.7 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4831, allocations: 0 / 408.7 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.4833, allocations: 108.9 kB / 408.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.4833, allocations: 7.938 kB / 408.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.84e-05/0.4834, allocations: 4 kB / 408.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.4834, allocations: 7.984 kB / 408.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000364/0.4838, allocations: 339.4 kB / 409.2 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004157/0.4842, allocations: 449.1 kB / 409.6 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001053/0.4843, allocations: 40.03 kB / 409.6 MB, free: 260 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002076/0.4846, allocations: 196.5 kB / 409.8 MB, free: 64 kB / 318.1 MB Notification: Performance of Backend: time 7.62e-07/0.4846, allocations: 3.938 kB / 409.8 MB, free: 60 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.4863, allocations: 440.5 kB / 410.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008895/0.4872, allocations: 0.7621 MB / 411 MB, free: 14.98 MB / 334.1 MB Notification: Performance of Templates: time 0.006604/0.4938, allocations: 2.503 MB / 413.5 MB, free: 12.5 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1)