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.Sample1.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.001264/0.001264, allocations: 112.2 kB / 21.18 MB, free: 0.6289 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.001555/0.001555, allocations: 207 kB / 24.48 MB, free: 4.035 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.424/1.424, allocations: 230.4 MB / 258.1 MB, free: 8.156 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [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.001872/0.001872, allocations: 67.83 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2462, allocations: 53.31 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002935/0.2491, allocations: 1.538 MB / 433.6 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004199/0.2496, allocations: 135.5 kB / 433.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.359e-05/0.2496, allocations: 4 kB / 433.7 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.76e-05/0.2497, allocations: 7.938 kB / 433.7 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.2498, allocations: 3.938 kB / 433.7 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.25, allocations: 39.89 kB / 433.8 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.2502, allocations: 31.92 kB / 433.8 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.2503, allocations: 8 kB / 433.8 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.933e-05/0.2503, allocations: 15.92 kB / 433.8 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.209e-05/0.2503, allocations: 19.84 kB / 433.8 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.2504, allocations: 4 kB / 433.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-06/0.2504, allocations: 0 / 433.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.889e-05/0.2504, allocations: 8 kB / 433.9 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.2505, allocations: 23.81 kB / 433.9 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.2506, allocations: 59.53 kB / 433.9 MB, free: 5.496 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2506, allocations: 0 / 433.9 MB, free: 5.496 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2506, allocations: 3.938 kB / 433.9 MB, free: 5.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.2506, allocations: 4 kB / 433.9 MB, free: 5.488 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.0004878/0.2511, allocations: 365.3 kB / 434.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.2511, allocations: 8.031 kB / 434.3 MB, free: 5.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.2512, allocations: 8.891 kB / 434.3 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.2514, allocations: 192.3 kB / 434.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.2514, allocations: 384 / 434.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.2515, allocations: 4.375 kB / 434.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.2517, allocations: 117.5 kB / 434.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2517, allocations: 192 / 434.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.2518, allocations: 3.938 kB / 434.6 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2518, allocations: 4 kB / 434.6 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.092e-05/0.2518, allocations: 15.98 kB / 434.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.2522, allocations: 265.7 kB / 434.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.2523, allocations: 138.2 kB / 435 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.229e-05/0.2524, allocations: 21.78 kB / 435.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.2524, allocations: 7.938 kB / 435.1 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.2525, allocations: 34.56 kB / 435.1 MB, free: 4.117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2525, allocations: 0 / 435.1 MB, free: 4.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002413/0.2527, allocations: 73.56 kB / 435.2 MB, free: 4.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.2527, allocations: 81.23 kB / 435.3 MB, free: 3.941 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.2529, allocations: 129.8 kB / 435.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.2529, allocations: 25.7 kB / 435.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/0.2529, allocations: 88.12 kB / 435.5 MB, free: 3.684 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.054e-05/0.253, allocations: 4 kB / 435.5 MB, free: 3.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.253, allocations: 17.67 kB / 435.5 MB, free: 3.656 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.2531, allocations: 318.8 kB / 435.8 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.268e-05/0.2532, allocations: 7.984 kB / 435.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.86e-05/0.2532, allocations: 31.44 kB / 435.9 MB, free: 3.285 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.428e-05/0.2533, allocations: 43.36 kB / 435.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2533, allocations: 0 / 435.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000115/0.2534, allocations: 65.56 kB / 436 MB, free: 3.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.2534, allocations: 11.88 kB / 436 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2534, allocations: 0 / 436 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.2534, allocations: 4 kB / 436 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.088e-05/0.2534, allocations: 0 / 436 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2535, allocations: 3.938 kB / 436 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.514e-05/0.2535, allocations: 11.92 kB / 436 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.2535, allocations: 4 kB / 436 MB, free: 3.125 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,assignClock.y,assignClock.u,step.y) * 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 8.694e-05/0.2536, allocations: 122 kB / 436.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.2536, allocations: 15.89 kB / 436.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.2537, allocations: 7.891 kB / 436.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.2537, allocations: 0 / 436.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2537, allocations: 4 kB / 436.2 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.2537, allocations: 93.05 kB / 436.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.2537, allocations: 0 / 436.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.547e-05/0.2538, allocations: 0 / 436.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.2538, allocations: 8 kB / 436.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001878/0.254, allocations: 220.4 kB / 436.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002373/0.2542, allocations: 310 kB / 436.8 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.536e-05/0.2543, allocations: 11.98 kB / 436.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.418e-05/0.2544, allocations: 110 kB / 436.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of Backend: time 3.6e-07/0.2544, allocations: 0 / 436.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004481/0.2548, allocations: 94.33 kB / 437 MB, free: 2.086 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005783/0.2554, allocations: 0.5883 MB / 437.6 MB, free: 1.449 MB / 334.1 MB Notification: Performance of Templates: time 0.002872/0.2583, allocations: 0.5089 MB / 438.1 MB, free: 0.9492 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.142518785316497] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 0.26624502893537283 0.280229761 0.026592432000000003 Calling exit ...