Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.0019/0.0019, allocations: 106.8 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.002222/0.002222, allocations: 219 kB / 24.49 MB, free: 3.934 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.789 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 51.92 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2118, allocations: 53.36 MB / 432.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003429/0.2153, allocations: 1.911 MB / 434.2 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.2173, allocations: 1.177 MB / 435.4 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.2174, allocations: 7.938 kB / 435.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005585/0.218, allocations: 155.5 kB / 435.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003931/0.2184, allocations: 163.4 kB / 435.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.2188, allocations: 179.4 kB / 435.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002695/0.2191, allocations: 199.4 kB / 436.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.2192, allocations: 25.59 kB / 436.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.2194, allocations: 83.69 kB / 436.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.2195, allocations: 87.55 kB / 436.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.2195, allocations: 16 kB / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.2197, allocations: 55.97 kB / 436.4 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.623e-05/0.2197, allocations: 55.77 kB / 436.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.192e-05/0.2198, allocations: 51.67 kB / 436.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.2201, allocations: 225.8 kB / 436.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2201, allocations: 0 / 436.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.2201, allocations: 0 / 436.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.2201, allocations: 0 / 436.7 MB, free: 2.387 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007315/0.2209, allocations: 462.6 kB / 437.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.2209, allocations: 11.97 kB / 437.2 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.402e-05/0.2209, allocations: 24.8 kB / 437.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.2213, allocations: 221.1 kB / 437.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.2213, allocations: 8.375 kB / 437.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.2214, allocations: 8.125 kB / 437.4 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/0.2217, allocations: 174.6 kB / 437.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.2217, allocations: 0 / 437.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.2217, allocations: 11.98 kB / 437.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2217, allocations: 4 kB / 437.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.2219, allocations: 35.92 kB / 437.6 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.2223, allocations: 306.9 kB / 437.9 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.2226, allocations: 134.5 kB / 438.1 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.2227, allocations: 59.36 kB / 438.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.2227, allocations: 4 kB / 438.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.2228, allocations: 79.38 kB / 438.2 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.2228, allocations: 0 / 438.2 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.000411/0.2233, allocations: 161.4 kB / 438.4 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.689e-05/0.2233, allocations: 132.5 kB / 438.5 MB, free: 376 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.2237, allocations: 281.9 kB / 438.8 MB, free: 84 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.2237, allocations: 29.7 kB / 438.8 MB, free: 48 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.2238, allocations: 124.7 kB / 438.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.2238, allocations: 23.89 kB / 438.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-05/0.2239, allocations: 33.7 kB / 439 MB, free: 15.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.224, allocations: 334.7 kB / 439.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.937e-05/0.2241, allocations: 23.98 kB / 439.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.2242, allocations: 107.6 kB / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.2244, allocations: 102 kB / 439.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2244, allocations: 0 / 439.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002455/0.2246, allocations: 141.3 kB / 439.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.2246, allocations: 4 kB / 439.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2246, allocations: 4 kB / 439.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.2247, allocations: 0 / 439.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.613e-05/0.2247, allocations: 15.98 kB / 439.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.2247, allocations: 8.125 kB / 439.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.656e-05/0.2248, allocations: 15.94 kB / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.2248, allocations: 4 kB / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.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 (13): * Single equations (assignments): 13 * 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.0001351/0.225, allocations: 146.9 kB / 439.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.225, allocations: 19.86 kB / 439.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.2253, allocations: 123.4 kB / 440 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.2253, allocations: 7.984 kB / 440 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2253, allocations: 0 / 440 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.341e-05/0.2253, allocations: 31.84 kB / 440 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.2254, allocations: 15.94 kB / 440.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.954e-05/0.2255, allocations: 7.984 kB / 440.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.2255, allocations: 4 kB / 440.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003917/0.2259, allocations: 438.7 kB / 440.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004203/0.2263, allocations: 0.5316 MB / 441 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.648e-05/0.2264, allocations: 43.97 kB / 441.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002173/0.2266, allocations: 209.1 kB / 441.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of Backend: time 2.2e-07/0.2266, allocations: 4.094 kB / 441.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002231/0.2288, allocations: 489.6 kB / 441.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008882/0.2297, allocations: 0.7824 MB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of Templates: time 0.006916/0.2367, allocations: 3.016 MB / 445.6 MB, free: 9.363 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.1609651780017884] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'backSample1.y'] 0.2448431070006336 0.25889865700000003 0.03578207 Calling exit ...