Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.001203/0.001203, 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.001424/0.001424, allocations: 207.6 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.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002462/0.002462, allocations: 47.92 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.232, allocations: 53.36 MB / 432.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002756/0.2348, allocations: 1.532 MB / 433.9 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003869/0.2352, allocations: 151.4 kB / 434 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.115e-05/0.2353, allocations: 7.938 kB / 434 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.306e-05/0.2353, allocations: 3.938 kB / 434 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.698e-05/0.2354, allocations: 7.875 kB / 434 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.2356, allocations: 39.89 kB / 434.1 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.863e-05/0.2357, allocations: 39.86 kB / 434.1 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.56e-05/0.2358, allocations: 15.78 kB / 434.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.769e-05/0.2359, allocations: 23.91 kB / 434.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.256e-05/0.2359, allocations: 15.88 kB / 434.2 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.2359, allocations: 0 / 434.2 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.261e-05/0.2359, allocations: 8 kB / 434.2 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.172e-05/0.236, allocations: 15.92 kB / 434.2 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.236, allocations: 19.88 kB / 434.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.2361, allocations: 55.39 kB / 434.3 MB, free: 4.836 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2361, allocations: 4 kB / 434.3 MB, free: 4.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2361, allocations: 0 / 434.3 MB, free: 4.832 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.2361, allocations: 0 / 434.3 MB, free: 4.832 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004325/0.2366, allocations: 297.2 kB / 434.6 MB, free: 4.512 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.2366, allocations: 8.031 kB / 434.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.2366, allocations: 8.891 kB / 434.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.2369, allocations: 142.3 kB / 434.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.2369, allocations: 8.375 kB / 434.7 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.2369, allocations: 4.359 kB / 434.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.2372, allocations: 118.4 kB / 434.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2372, allocations: 4.188 kB / 434.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.2372, allocations: 7.938 kB / 434.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.2372, allocations: 0 / 434.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.701e-05/0.2373, allocations: 31.92 kB / 434.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.2377, allocations: 305.6 kB / 435.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.2378, allocations: 71.78 kB / 435.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.492e-05/0.2379, allocations: 42.55 kB / 435.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.2379, allocations: 0 / 435.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.2379, allocations: 46.44 kB / 435.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2379, allocations: 0 / 435.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002999/0.2382, allocations: 97.55 kB / 435.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.2383, allocations: 102.8 kB / 435.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.2384, allocations: 137 kB / 435.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.2384, allocations: 25.7 kB / 435.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.2385, allocations: 92.12 kB / 435.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.326e-05/0.2385, allocations: 7.953 kB / 435.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.2385, allocations: 21.66 kB / 435.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.2387, allocations: 318.8 kB / 436.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.404e-05/0.2387, allocations: 12.38 kB / 436.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.733e-05/0.2388, allocations: 35.42 kB / 436.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.2389, allocations: 59.34 kB / 436.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2389, allocations: 0 / 436.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001582/0.2391, allocations: 77.55 kB / 436.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.2391, allocations: 8.031 kB / 436.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2391, allocations: 4 kB / 436.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2391, allocations: 0 / 436.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.988e-05/0.2391, allocations: 3.984 kB / 436.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.2391, allocations: 4 kB / 436.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.698e-05/0.2391, allocations: 0 / 436.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.2392, allocations: 4 kB / 436.3 MB, free: 2.52 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: 4 (sample1.y[2],sample1.y[1],sample1.u[1],sample1.u[2]) * 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.845e-05/0.2393, allocations: 125.8 kB / 436.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.2393, allocations: 11.89 kB / 436.5 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.2393, allocations: 19.92 kB / 436.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2393, allocations: 0 / 436.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2393, allocations: 0 / 436.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-05/0.2394, allocations: 15.94 kB / 436.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.2394, allocations: 7.922 kB / 436.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.2395, allocations: 12 kB / 436.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.2395, allocations: 7.922 kB / 436.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002568/0.2398, allocations: 303.5 kB / 436.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000297/0.2401, allocations: 405.4 kB / 437.2 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.383e-05/0.2402, allocations: 15.94 kB / 437.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.747e-05/0.2402, allocations: 107.2 kB / 437.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of Backend: time 1.8e-07/0.2402, allocations: 0 / 437.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000512/0.2407, allocations: 101.5 kB / 437.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006048/0.2413, allocations: 0.6183 MB / 438 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of Templates: time 0.003213/0.2446, allocations: 0.754 MB / 438.8 MB, free: 15.97 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.19408403000125] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 0.25485454500449123 0.26659848599999997 0.027507704 Calling exit ...