Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001243/0.001243, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001364/0.001364, allocations: 214.8 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.432/1.432, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 59.84 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.263, allocations: 53.32 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003263/0.2662, allocations: 1.55 MB / 433.6 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004142/0.2666, allocations: 139.5 kB / 433.7 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.2e-05/0.2667, allocations: 0 / 433.7 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.2668, allocations: 11.94 kB / 433.7 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.934e-05/0.2669, allocations: 3.938 kB / 433.8 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.2672, allocations: 47.83 kB / 433.8 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.2673, allocations: 39.86 kB / 433.8 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.2674, allocations: 15.97 kB / 433.9 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.729e-05/0.2674, allocations: 15.92 kB / 433.9 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.791e-05/0.2675, allocations: 15.92 kB / 433.9 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.2675, allocations: 4 kB / 433.9 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.262e-05/0.2675, allocations: 4 kB / 433.9 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.093e-05/0.2676, allocations: 11.94 kB / 433.9 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.657e-05/0.2676, allocations: 27.8 kB / 433.9 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.2678, allocations: 55.55 kB / 434 MB, free: 5.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2678, allocations: 4 kB / 434 MB, free: 5.449 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2678, allocations: 0 / 434 MB, free: 5.449 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.2678, allocations: 3.938 kB / 434 MB, free: 5.445 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.0005601/0.2683, allocations: 372.8 kB / 434.4 MB, free: 5.031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2684, allocations: 12.03 kB / 434.4 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.2684, allocations: 4.891 kB / 434.4 MB, free: 5.016 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.2687, allocations: 204.1 kB / 434.6 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.2687, allocations: 4.375 kB / 434.6 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.2687, allocations: 4.375 kB / 434.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.2691, allocations: 122.5 kB / 434.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2691, allocations: 192 / 434.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.2691, allocations: 3.938 kB / 434.7 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/0.2691, allocations: 11.98 kB / 434.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.712e-05/0.2692, allocations: 31.92 kB / 434.7 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.2697, allocations: 357.9 kB / 435.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.2698, allocations: 83.72 kB / 435.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.844e-05/0.2699, allocations: 34.56 kB / 435.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.2699, allocations: 4 kB / 435.2 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.2699, allocations: 30.56 kB / 435.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.2699, allocations: 0 / 435.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003152/0.2703, allocations: 93.56 kB / 435.3 MB, free: 3.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.164e-05/0.2703, allocations: 106.8 kB / 435.4 MB, free: 3.754 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.2705, allocations: 141.8 kB / 435.6 MB, free: 3.605 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.2705, allocations: 25.7 kB / 435.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.2705, allocations: 92.12 kB / 435.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.181e-05/0.2706, allocations: 4.328 kB / 435.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.2706, allocations: 29.7 kB / 435.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2708, allocations: 314.8 kB / 436 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.836e-05/0.2708, allocations: 11.98 kB / 436 MB, free: 3.113 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-05/0.2709, allocations: 35.42 kB / 436.1 MB, free: 3.066 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.271, allocations: 55.36 kB / 436.1 MB, free: 3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.271, allocations: 3.938 kB / 436.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001497/0.2711, allocations: 69.56 kB / 436.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.2712, allocations: 11.12 kB / 436.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2712, allocations: 0 / 436.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.2712, allocations: 8.125 kB / 436.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.797e-05/0.2712, allocations: 0 / 436.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.2712, allocations: 3.938 kB / 436.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.163e-05/0.2712, allocations: 11.98 kB / 436.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.2713, allocations: 0 / 436.2 MB, free: 2.891 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 0.0001221/0.2714, allocations: 129.7 kB / 436.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/0.2714, allocations: 8.047 kB / 436.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.2715, allocations: 23.73 kB / 436.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2715, allocations: 4 kB / 436.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2715, allocations: 4 kB / 436.4 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.71e-05/0.2716, allocations: 93.05 kB / 436.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.2716, allocations: 0 / 436.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.806e-05/0.2717, allocations: 4 kB / 436.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.2717, allocations: 7.922 kB / 436.5 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002768/0.272, allocations: 303.5 kB / 436.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003149/0.2723, allocations: 401.3 kB / 437.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.52e-05/0.2724, allocations: 19.98 kB / 437.2 MB, free: 1.859 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.802e-05/0.2724, allocations: 111.3 kB / 437.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of Backend: time 2.41e-07/0.2724, allocations: 0 / 437.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005392/0.273, allocations: 98.33 kB / 437.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006903/0.2737, allocations: 0.6195 MB / 438 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of Templates: time 0.003212/0.2769, allocations: 0.6638 MB / 438.7 MB, free: 360 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.119769858196378] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 0.2855570879764855 0.29967586300000004 0.028932029 Calling exit ...