Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.001283/0.001283, allocations: 106.8 kB / 21.19 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.001429/0.001429, allocations: 214.8 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.45/1.45, 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.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 51.91 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2241, allocations: 53.37 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003411/0.2275, allocations: 1.876 MB / 434.2 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.2295, allocations: 1.142 MB / 435.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.2296, allocations: 7.938 kB / 435.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005772/0.2302, allocations: 151.5 kB / 435.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003936/0.2306, allocations: 159.4 kB / 435.7 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004501/0.2311, allocations: 175.1 kB / 435.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.2313, allocations: 187.5 kB / 436 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.2315, allocations: 29.52 kB / 436.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.2316, allocations: 71.66 kB / 436.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.2317, allocations: 83.61 kB / 436.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.2318, allocations: 8 kB / 436.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.2319, allocations: 63.95 kB / 436.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.826e-05/0.232, allocations: 47.84 kB / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9e-05/0.2321, allocations: 51.61 kB / 436.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003757/0.2325, allocations: 213.9 kB / 436.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2325, allocations: 0 / 436.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2325, allocations: 0 / 436.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.2325, allocations: 0 / 436.6 MB, free: 2.457 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.0008962/0.2334, allocations: 458.7 kB / 437 MB, free: 1.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.2334, allocations: 8.031 kB / 437 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.205e-05/0.2335, allocations: 20.8 kB / 437.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.2339, allocations: 225 kB / 437.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.2339, allocations: 4.375 kB / 437.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.2339, allocations: 8.125 kB / 437.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.2343, allocations: 133.9 kB / 437.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.2343, allocations: 3.984 kB / 437.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.2343, allocations: 11.98 kB / 437.4 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2343, allocations: 0 / 437.4 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.2344, allocations: 39.92 kB / 437.5 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.2349, allocations: 294.1 kB / 437.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.2351, allocations: 103.9 kB / 437.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.874e-05/0.2352, allocations: 50.44 kB / 437.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.2352, allocations: 4 kB / 437.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.2354, allocations: 75.39 kB / 438 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.2354, allocations: 0 / 438 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003804/0.2358, allocations: 157.4 kB / 438.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.2358, allocations: 102.8 kB / 438.2 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.2361, allocations: 277 kB / 438.5 MB, free: 324 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.2362, allocations: 29.7 kB / 438.5 MB, free: 288 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.432e-05/0.2363, allocations: 116.1 kB / 438.7 MB, free: 168 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.2363, allocations: 19.95 kB / 438.7 MB, free: 148 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-05/0.2363, allocations: 33.67 kB / 438.7 MB, free: 108 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.2365, allocations: 334.8 kB / 439 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.927e-05/0.2366, allocations: 24.23 kB / 439.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.2367, allocations: 90.84 kB / 439.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.2368, allocations: 76.22 kB / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2369, allocations: 4 kB / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002419/0.2371, allocations: 113.5 kB / 439.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.2371, allocations: 8.156 kB / 439.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2371, allocations: 4 kB / 439.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2371, allocations: 4 kB / 439.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.244e-05/0.2372, allocations: 15.92 kB / 439.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.2372, allocations: 0 / 439.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.058e-05/0.2373, allocations: 15.95 kB / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.2373, allocations: 4 kB / 439.4 MB, free: 15.37 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,subSample1.y,subSample1.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.0001325/0.2374, allocations: 146.5 kB / 439.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.2375, allocations: 15.91 kB / 439.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.2377, allocations: 115.3 kB / 439.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.2377, allocations: 7.984 kB / 439.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2377, allocations: 320 / 439.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.452e-05/0.2378, allocations: 35.78 kB / 439.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.2378, allocations: 11.94 kB / 439.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.378e-05/0.2379, allocations: 4 kB / 439.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.2379, allocations: 11.92 kB / 439.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003609/0.2383, allocations: 351.5 kB / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004052/0.2387, allocations: 457.1 kB / 440.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.866e-05/0.2388, allocations: 36.03 kB / 440.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002123/0.239, allocations: 204.5 kB / 440.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of Backend: time 2.7e-07/0.239, allocations: 0 / 440.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002151/0.2412, allocations: 469.4 kB / 441.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008524/0.242, allocations: 0.7795 MB / 442 MB, free: 12.87 MB / 350.1 MB Notification: Performance of Templates: time 0.006291/0.2483, allocations: 2.725 MB / 444.7 MB, free: 10.18 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.191140482995252] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'subSample1.y'] 0.2560092519997852 0.269988393 0.03456132 Calling exit ...