Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001298/0.001298, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.001395/0.001395, allocations: 217.1 kB / 24.49 MB, free: 3.93 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.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 47.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2244, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003413/0.2278, allocations: 1.876 MB / 434.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.23, allocations: 1.223 MB / 435.4 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.965e-05/0.2301, allocations: 4 kB / 435.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.2304, allocations: 75.59 kB / 435.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003613/0.2308, allocations: 127.5 kB / 435.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006073/0.2314, allocations: 227.3 kB / 435.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.2316, allocations: 179.5 kB / 436 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.2317, allocations: 25.39 kB / 436.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.2319, allocations: 87.56 kB / 436.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.232, allocations: 83.67 kB / 436.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.232, allocations: 8 kB / 436.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.2322, allocations: 71.94 kB / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.655e-05/0.2323, allocations: 51.78 kB / 436.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.313e-05/0.2323, allocations: 59.55 kB / 436.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.2327, allocations: 242 kB / 436.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2327, allocations: 11.98 kB / 436.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2327, allocations: 0 / 436.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.2327, allocations: 0 / 436.7 MB, free: 2.355 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.0007278/0.2334, allocations: 480.5 kB / 437.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.2334, allocations: 8.031 kB / 437.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.821e-05/0.2335, allocations: 24.8 kB / 437.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.2339, allocations: 225.5 kB / 437.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.2339, allocations: 4.375 kB / 437.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.2339, allocations: 20.06 kB / 437.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/0.2343, allocations: 179.7 kB / 437.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2343, allocations: 0 / 437.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.2343, allocations: 3.938 kB / 437.6 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2343, allocations: 0 / 437.6 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.2345, allocations: 43.91 kB / 437.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.235, allocations: 322.1 kB / 437.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.2352, allocations: 119.9 kB / 438.1 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.53e-05/0.2353, allocations: 42.56 kB / 438.1 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.2354, allocations: 0 / 438.1 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.2355, allocations: 87.31 kB / 438.2 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 3.847e-06/0.2355, allocations: 3.984 kB / 438.2 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004174/0.236, allocations: 157.4 kB / 438.3 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/0.236, allocations: 132.8 kB / 438.5 MB, free: 340 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003868/0.2364, allocations: 341.9 kB / 438.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.2364, allocations: 29.64 kB / 438.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.995e-05/0.2365, allocations: 136 kB / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.2366, allocations: 19.84 kB / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.538e-05/0.2366, allocations: 29.7 kB / 439 MB, free: 15.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.2368, allocations: 338.8 kB / 439.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.783e-05/0.2369, allocations: 23.98 kB / 439.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.237, allocations: 141.3 kB / 439.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.2372, allocations: 84.25 kB / 439.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2372, allocations: 4 kB / 439.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002592/0.2374, allocations: 129.4 kB / 439.7 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2375, allocations: 4 kB / 439.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.2375, allocations: 3.984 kB / 439.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2375, allocations: 4 kB / 439.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.2376, allocations: 12 kB / 439.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2376, allocations: 8.125 kB / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.204e-05/0.2377, allocations: 7.984 kB / 439.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.2377, allocations: 8 kB / 439.8 MB, free: 14.95 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,table.y,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.0001471/0.2378, allocations: 162.4 kB / 439.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.2379, allocations: 23.81 kB / 439.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/0.2382, allocations: 131.4 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2382, allocations: 0 / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2382, allocations: 320 / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.729e-05/0.2383, allocations: 43.77 kB / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.2383, allocations: 15.94 kB / 440.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-05/0.2384, allocations: 4 kB / 440.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.2385, allocations: 15.92 kB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003851/0.2388, allocations: 355.4 kB / 440.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004182/0.2393, allocations: 477 kB / 441 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000109/0.2394, allocations: 39.97 kB / 441 MB, free: 13.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002577/0.2396, allocations: 249.2 kB / 441.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of Backend: time 3.51e-07/0.2396, allocations: 4.062 kB / 441.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002216/0.2418, allocations: 469 kB / 441.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of SimCode: time 0.0009561/0.2428, allocations: 0.839 MB / 442.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of Templates: time 0.007282/0.2501, allocations: 3.281 MB / 445.8 MB, free: 9.027 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.212393625995901] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 0.25799994999397313 0.272464056 0.0367475 Calling exit ...