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.SubSample.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.001711/0.001711, allocations: 116.1 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.002064/0.002064, 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.451/1.451, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [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.002151/0.002151, allocations: 71.83 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2354, allocations: 53.31 MB / 432 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003845/0.2393, allocations: 1.942 MB / 434 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.2416, allocations: 1.212 MB / 435.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.2417, allocations: 7.938 kB / 435.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006284/0.2423, allocations: 155.5 kB / 435.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000439/0.2428, allocations: 147.4 kB / 435.5 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/0.2433, allocations: 173.9 kB / 435.7 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.2436, allocations: 191.5 kB / 435.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.2437, allocations: 21.55 kB / 435.9 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.2438, allocations: 71.69 kB / 435.9 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.244, allocations: 79.62 kB / 436 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.244, allocations: 8 kB / 436 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.2442, allocations: 67.89 kB / 436.1 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.085e-05/0.2442, allocations: 39.84 kB / 436.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.205e-05/0.2443, allocations: 71.53 kB / 436.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.2447, allocations: 216.6 kB / 436.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2447, allocations: 0 / 436.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2447, allocations: 0 / 436.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.2447, allocations: 0 / 436.4 MB, free: 2.961 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.0008165/0.2455, allocations: 0.5194 MB / 436.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2455, allocations: 8.031 kB / 436.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.486e-05/0.2456, allocations: 20.8 kB / 437 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.246, allocations: 286.9 kB / 437.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.246, allocations: 8.375 kB / 437.3 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.2461, allocations: 8.125 kB / 437.3 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.2464, allocations: 142.7 kB / 437.4 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.2464, allocations: 0 / 437.4 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.2464, allocations: 4 kB / 437.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2464, allocations: 4 kB / 437.4 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.2465, allocations: 35.92 kB / 437.4 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/0.2471, allocations: 362.4 kB / 437.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.2473, allocations: 103.9 kB / 437.9 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.009e-05/0.2474, allocations: 38.58 kB / 437.9 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.2475, allocations: 7.984 kB / 437.9 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.2476, allocations: 75.33 kB / 438 MB, free: 1.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.2476, allocations: 0 / 438 MB, free: 1.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003772/0.248, allocations: 145.5 kB / 438.2 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/0.2481, allocations: 132.5 kB / 438.3 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.2484, allocations: 273.2 kB / 438.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.2484, allocations: 33.7 kB / 438.6 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.213e-05/0.2485, allocations: 120.2 kB / 438.7 MB, free: 404 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.2485, allocations: 15.91 kB / 438.7 MB, free: 388 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.328e-05/0.2486, allocations: 33.66 kB / 438.8 MB, free: 348 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.2488, allocations: 338.7 kB / 439.1 MB, free: 0 / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.737e-05/0.2488, allocations: 19.98 kB / 439.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.982e-05/0.2489, allocations: 70 kB / 439.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.2491, allocations: 76.22 kB / 439.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2491, allocations: 0 / 439.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002569/0.2494, allocations: 117.5 kB / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.2494, allocations: 4 kB / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2494, allocations: 0 / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2494, allocations: 7.938 kB / 439.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.707e-05/0.2495, allocations: 12 kB / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.2495, allocations: 4 kB / 439.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.761e-05/0.2495, allocations: 7.984 kB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.2496, allocations: 7.938 kB / 439.4 MB, free: 15.64 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.0001436/0.2497, allocations: 154.6 kB / 439.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.2497, allocations: 19.86 kB / 439.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.25, allocations: 107.4 kB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.25, allocations: 0 / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.25, allocations: 4 kB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.2501, allocations: 105 kB / 439.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.2501, allocations: 11.92 kB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.116e-05/0.2502, allocations: 7.938 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.2502, allocations: 11.98 kB / 439.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004202/0.2506, allocations: 339.4 kB / 440.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003807/0.251, allocations: 445.2 kB / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.215e-05/0.2511, allocations: 31.97 kB / 440.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002121/0.2513, allocations: 204.5 kB / 440.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of Backend: time 4.51e-07/0.2513, allocations: 0 / 440.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00208/0.2534, allocations: 449 kB / 441.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of SimCode: time 0.0009084/0.2543, allocations: 0.7772 MB / 442 MB, free: 13.07 MB / 350.1 MB Notification: Performance of Templates: time 0.006526/0.2608, allocations: 2.559 MB / 444.6 MB, free: 10.54 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.242501193191856] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'subSample1.y'] 0.2695841738022864 0.28397736799999995 0.03621793 Calling exit ...