Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 106.3 kB / 17.74 MB, free: 5.359 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.001845/0.001845, allocations: 185.4 kB / 18.67 MB, free: 4.438 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.448/1.448, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 51.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.306, allocations: 49.42 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003806/0.3099, allocations: 1.888 MB / 403.3 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.3118, allocations: 1.068 MB / 404.4 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.312, allocations: 0 / 404.4 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000656/0.3127, allocations: 147.5 kB / 404.5 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.313, allocations: 115.5 kB / 404.6 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006162/0.3137, allocations: 206.5 kB / 404.8 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.314, allocations: 183.5 kB / 405 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3141, allocations: 29.53 kB / 405 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.3142, allocations: 79.62 kB / 405.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.3144, allocations: 75.62 kB / 405.2 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.3144, allocations: 8 kB / 405.2 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.3146, allocations: 51.97 kB / 405.2 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.631e-05/0.3146, allocations: 39.84 kB / 405.3 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.464e-05/0.3147, allocations: 83.53 kB / 405.4 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.3151, allocations: 204.4 kB / 405.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3151, allocations: 0 / 405.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3151, allocations: 0 / 405.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.3151, allocations: 0 / 405.6 MB, free: 4.711 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.0007855/0.3159, allocations: 0.503 MB / 406.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.316, allocations: 11.89 kB / 406.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.316, allocations: 28.59 kB / 406.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.3164, allocations: 266.8 kB / 406.4 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.3164, allocations: 4.375 kB / 406.4 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.3165, allocations: 12.12 kB / 406.4 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.3168, allocations: 150.3 kB / 406.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3168, allocations: 0 / 406.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3168, allocations: 4 kB / 406.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.3169, allocations: 0 / 406.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.317, allocations: 31.92 kB / 406.6 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.3175, allocations: 354.4 kB / 406.9 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.3177, allocations: 111.9 kB / 407 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.586e-05/0.3178, allocations: 54.44 kB / 407.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.3178, allocations: 4 kB / 407.1 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.318, allocations: 79.28 kB / 407.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.984e-06/0.318, allocations: 0 / 407.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003789/0.3184, allocations: 137.3 kB / 407.3 MB, free: 2.762 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.3185, allocations: 136.5 kB / 407.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.3188, allocations: 261.2 kB / 407.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.3188, allocations: 29.7 kB / 407.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/0.3189, allocations: 120 kB / 407.8 MB, free: 2.172 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.319, allocations: 15.97 kB / 407.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.087e-05/0.319, allocations: 33.61 kB / 407.9 MB, free: 2.117 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3191, allocations: 326.8 kB / 408.2 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.675e-05/0.3192, allocations: 27.92 kB / 408.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.362e-05/0.3193, allocations: 70 kB / 408.3 MB, free: 1.672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.3195, allocations: 76.22 kB / 408.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3195, allocations: 4.031 kB / 408.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002417/0.3197, allocations: 113.4 kB / 408.5 MB, free: 1.461 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.3198, allocations: 8 kB / 408.5 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.3198, allocations: 0 / 408.5 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3198, allocations: 0 / 408.5 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.261e-05/0.3199, allocations: 19.92 kB / 408.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3199, allocations: 0 / 408.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.437e-05/0.32, allocations: 11.94 kB / 408.5 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.32, allocations: 8.062 kB / 408.5 MB, free: 1.414 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,shiftSample1.y,shiftSample1.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.0001224/0.3201, allocations: 146.1 kB / 408.7 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.3202, allocations: 23.72 kB / 408.7 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.036e-05/0.3202, allocations: 25.69 kB / 408.7 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.3203, allocations: 0 / 408.7 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3203, allocations: 4 kB / 408.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.149e-05/0.3204, allocations: 108.9 kB / 408.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.3204, allocations: 7.938 kB / 408.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.369e-05/0.3205, allocations: 4 kB / 408.8 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.3205, allocations: 11.98 kB / 408.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003046/0.3208, allocations: 343.4 kB / 409.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003547/0.3212, allocations: 441.1 kB / 409.6 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.093e-05/0.3213, allocations: 35.97 kB / 409.6 MB, free: 236 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001921/0.3215, allocations: 192.6 kB / 409.8 MB, free: 44 kB / 318.1 MB Notification: Performance of Backend: time 8.51e-07/0.3215, allocations: 3.938 kB / 409.8 MB, free: 40 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001587/0.3231, allocations: 444 kB / 410.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009223/0.324, allocations: 0.7784 MB / 411 MB, free: 14.94 MB / 334.1 MB Notification: Performance of Templates: time 0.00674/0.3308, allocations: 2.536 MB / 413.6 MB, free: 12.43 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1)