Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 205.3 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 43.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2157, allocations: 53.37 MB / 432.3 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003313/0.219, allocations: 1.88 MB / 434.2 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.221, allocations: 1.146 MB / 435.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.2211, allocations: 4 kB / 435.4 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005767/0.2217, allocations: 159.5 kB / 435.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003923/0.2221, allocations: 163.4 kB / 435.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.2225, allocations: 171.4 kB / 435.9 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000259/0.2228, allocations: 191.5 kB / 436 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.2229, allocations: 21.55 kB / 436.1 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.223, allocations: 83.62 kB / 436.1 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.2231, allocations: 87.55 kB / 436.2 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.2232, allocations: 8 kB / 436.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.2233, allocations: 51.97 kB / 436.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.054e-05/0.2234, allocations: 47.83 kB / 436.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.344e-05/0.2235, allocations: 59.55 kB / 436.4 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.2238, allocations: 214.3 kB / 436.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2238, allocations: 4 kB / 436.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2238, allocations: 0 / 436.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.2238, allocations: 0 / 436.6 MB, free: 2.566 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.0007122/0.2245, allocations: 450.7 kB / 437 MB, free: 2.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2245, allocations: 12.03 kB / 437.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.062e-05/0.2246, allocations: 24.8 kB / 437.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.2249, allocations: 205.2 kB / 437.3 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.2249, allocations: 8.375 kB / 437.3 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.225, allocations: 12.06 kB / 437.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003174/0.2253, allocations: 140.2 kB / 437.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2253, allocations: 4 kB / 437.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.2253, allocations: 3.984 kB / 437.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2253, allocations: 4 kB / 437.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.2254, allocations: 39.91 kB / 437.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/0.2259, allocations: 302 kB / 437.8 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.2261, allocations: 107.9 kB / 437.9 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.992e-05/0.2262, allocations: 42.56 kB / 437.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.2262, allocations: 4 kB / 437.9 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.2264, allocations: 75.39 kB / 438 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.2264, allocations: 3.938 kB / 438 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003814/0.2268, allocations: 145.4 kB / 438.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.2268, allocations: 106.8 kB / 438.3 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.2271, allocations: 269.1 kB / 438.5 MB, free: 456 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.2271, allocations: 29.7 kB / 438.6 MB, free: 420 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.606e-05/0.2272, allocations: 120.1 kB / 438.7 MB, free: 296 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.2273, allocations: 20.14 kB / 438.7 MB, free: 276 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.184e-05/0.2273, allocations: 29.67 kB / 438.7 MB, free: 240 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.2275, allocations: 338.8 kB / 439 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.067e-05/0.2275, allocations: 23.98 kB / 439.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.2277, allocations: 86.84 kB / 439.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.2278, allocations: 84.41 kB / 439.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2278, allocations: 0 / 439.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002242/0.228, allocations: 117.5 kB / 439.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.228, allocations: 4 kB / 439.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2281, allocations: 4 kB / 439.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.2281, allocations: 0 / 439.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.379e-05/0.2282, allocations: 27.86 kB / 439.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.2282, allocations: 3.938 kB / 439.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.163e-05/0.2282, allocations: 7.953 kB / 439.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.2282, allocations: 4 kB / 439.4 MB, free: 15.49 MB / 350.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.0001304/0.2284, allocations: 154.6 kB / 439.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.2284, allocations: 15.91 kB / 439.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.2287, allocations: 115.3 kB / 439.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.2287, allocations: 3.984 kB / 439.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2287, allocations: 4 kB / 439.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.124e-05/0.2288, allocations: 31.92 kB / 439.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.2288, allocations: 7.938 kB / 439.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.811e-05/0.2289, allocations: 4 kB / 439.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.2289, allocations: 11.97 kB / 439.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003607/0.2293, allocations: 347.4 kB / 440.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003799/0.2296, allocations: 457.1 kB / 440.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.235e-05/0.2297, allocations: 39.91 kB / 440.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002091/0.23, allocations: 204.5 kB / 440.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of Backend: time 2.71e-07/0.23, allocations: 0 / 440.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002165/0.2321, allocations: 485.9 kB / 441.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008512/0.233, allocations: 0.7664 MB / 442 MB, free: 12.98 MB / 350.1 MB Notification: Performance of Templates: time 0.006468/0.2394, allocations: 2.788 MB / 444.8 MB, free: 10.24 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.254104529005417] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 0.24709816300310194 0.261542324 0.034763059 Calling exit ...