Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001311/0.001311, allocations: 110.4 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.001371/0.001371, allocations: 204.7 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.451/1.451, allocations: 230.6 MB / 258.3 MB, free: 7.816 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.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 43.92 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2285, allocations: 53.37 MB / 432.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002872/0.2314, allocations: 1.59 MB / 433.9 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.2324, allocations: 0.5298 MB / 434.5 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.553e-05/0.2325, allocations: 4 kB / 434.5 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.563e-05/0.2325, allocations: 7.875 kB / 434.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.2326, allocations: 7.938 kB / 434.5 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.233, allocations: 63.73 kB / 434.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.2331, allocations: 47.8 kB / 434.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.717e-05/0.2331, allocations: 20.16 kB / 434.6 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.2333, allocations: 23.92 kB / 434.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.431e-05/0.2333, allocations: 23.86 kB / 434.7 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.2333, allocations: 8 kB / 434.7 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.486e-05/0.2334, allocations: 4 kB / 434.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.592e-05/0.2334, allocations: 19.91 kB / 434.7 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.2334, allocations: 19.88 kB / 434.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.2336, allocations: 70.28 kB / 434.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.2336, allocations: 0 / 434.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2336, allocations: 0 / 434.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.2336, allocations: 0 / 434.8 MB, free: 4.316 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004608/0.2341, allocations: 305.9 kB / 435.1 MB, free: 3.988 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.2341, allocations: 8.031 kB / 435.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.2342, allocations: 24.88 kB / 435.1 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.2345, allocations: 142.9 kB / 435.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.2345, allocations: 384 / 435.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.2345, allocations: 11.94 kB / 435.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.2348, allocations: 113.9 kB / 435.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.2348, allocations: 7.938 kB / 435.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.2348, allocations: 0 / 435.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.2348, allocations: 0 / 435.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.078e-05/0.2349, allocations: 19.98 kB / 435.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/0.2352, allocations: 230.1 kB / 435.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.2353, allocations: 63.8 kB / 435.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.798e-05/0.2354, allocations: 30.62 kB / 435.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.2354, allocations: 8 kB / 435.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.2354, allocations: 34.56 kB / 435.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2354, allocations: 0 / 435.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002829/0.2357, allocations: 89.48 kB / 435.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.2358, allocations: 102.8 kB / 435.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.2359, allocations: 145.8 kB / 436.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.2359, allocations: 33.58 kB / 436.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/0.236, allocations: 92.12 kB / 436.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.192e-05/0.236, allocations: 384 / 436.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.2361, allocations: 25.67 kB / 436.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.2362, allocations: 326.8 kB / 436.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.449e-05/0.2362, allocations: 4 kB / 436.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.957e-05/0.2363, allocations: 35.42 kB / 436.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.2364, allocations: 47.36 kB / 436.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2364, allocations: 0 / 436.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001513/0.2366, allocations: 73.61 kB / 436.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2366, allocations: 8 kB / 436.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2366, allocations: 0 / 436.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.2366, allocations: 0 / 436.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.685e-05/0.2367, allocations: 15.92 kB / 436.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2367, allocations: 0 / 436.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.2367, allocations: 8 kB / 436.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.2367, allocations: 4 kB / 436.7 MB, free: 2.094 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.052e-05/0.2368, allocations: 121.9 kB / 436.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.2369, allocations: 15.89 kB / 436.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.2369, allocations: 11.97 kB / 436.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2369, allocations: 0 / 436.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2369, allocations: 0 / 436.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.2369, allocations: 19.94 kB / 436.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.237, allocations: 3.938 kB / 436.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/0.237, allocations: 4 kB / 436.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.2371, allocations: 3.984 kB / 436.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002655/0.2373, allocations: 303.4 kB / 437.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00029/0.2376, allocations: 397.3 kB / 437.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.826e-05/0.2377, allocations: 16.12 kB / 437.6 MB, free: 1.176 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.301e-05/0.2378, allocations: 113.5 kB / 437.7 MB, free: 1.066 MB / 334.1 MB Notification: Performance of Backend: time 1.8e-07/0.2378, allocations: 0 / 437.7 MB, free: 1.066 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000535/0.2383, allocations: 106.4 kB / 437.8 MB, free: 0.957 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006063/0.2389, allocations: 0.6314 MB / 438.5 MB, free: 288 kB / 334.1 MB Notification: Performance of Templates: time 0.003389/0.2423, allocations: 0.8341 MB / 439.3 MB, free: 15.47 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.0917184249992715] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 0.24981936100084567 0.26489426999999993 0.028185816000000002 Calling exit ...