Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001761/0.001761, allocations: 110.4 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.002193/0.002193, allocations: 209.7 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.449/1.449, 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 47.92 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2192, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003331/0.2226, allocations: 1.504 MB / 433.8 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004422/0.223, allocations: 131.5 kB / 434 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.01e-05/0.2231, allocations: 8 kB / 434 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.113e-05/0.2231, allocations: 7.922 kB / 434 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.2233, allocations: 7.922 kB / 434 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.2235, allocations: 31.92 kB / 434 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.777e-05/0.2236, allocations: 35.84 kB / 434.1 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.796e-05/0.2237, allocations: 11.78 kB / 434.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.162e-05/0.2237, allocations: 7.938 kB / 434.1 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.143e-05/0.2237, allocations: 15.92 kB / 434.1 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.2238, allocations: 7.938 kB / 434.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.168e-06/0.2238, allocations: 0 / 434.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.289e-05/0.2238, allocations: 8 kB / 434.1 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/0.2238, allocations: 19.81 kB / 434.1 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.224, allocations: 43.81 kB / 434.2 MB, free: 4.895 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.224, allocations: 0 / 434.2 MB, free: 4.895 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.224, allocations: 0 / 434.2 MB, free: 4.895 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.224, allocations: 0 / 434.2 MB, free: 4.895 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004471/0.2244, allocations: 284.9 kB / 434.5 MB, free: 4.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.2245, allocations: 8.031 kB / 434.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.2245, allocations: 12.83 kB / 434.5 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.2247, allocations: 130.4 kB / 434.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.2247, allocations: 4.375 kB / 434.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.2248, allocations: 4.375 kB / 434.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.225, allocations: 85.61 kB / 434.7 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.225, allocations: 192 / 434.7 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.225, allocations: 7.938 kB / 434.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.225, allocations: 0 / 434.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.797e-05/0.225, allocations: 15.92 kB / 434.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000284/0.2253, allocations: 201.5 kB / 434.9 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.208e-05/0.2254, allocations: 49.14 kB / 435 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.233e-05/0.2255, allocations: 13.78 kB / 435 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.2255, allocations: 3.938 kB / 435 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.2255, allocations: 38.56 kB / 435 MB, free: 3.918 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2255, allocations: 0 / 435 MB, free: 3.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002119/0.2257, allocations: 57.58 kB / 435.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.2258, allocations: 77.11 kB / 435.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.2259, allocations: 137.8 kB / 435.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.2259, allocations: 25.95 kB / 435.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.226, allocations: 88.12 kB / 435.4 MB, free: 3.496 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.989e-06/0.226, allocations: 3.953 kB / 435.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.226, allocations: 17.72 kB / 435.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2261, allocations: 314.8 kB / 435.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.176e-05/0.2262, allocations: 7.984 kB / 435.7 MB, free: 3.145 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.866e-05/0.2262, allocations: 17.72 kB / 435.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.83e-05/0.2263, allocations: 29.64 kB / 435.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2263, allocations: 64 / 435.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.898e-05/0.2264, allocations: 49.58 kB / 435.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.2264, allocations: 4 kB / 435.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2264, allocations: 4 kB / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.2264, allocations: 3.984 kB / 435.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.547e-05/0.2264, allocations: 7.938 kB / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.2264, allocations: 3.938 kB / 435.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.342e-05/0.2264, allocations: 0 / 435.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.2264, allocations: 4 kB / 435.9 MB, free: 3.004 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.y,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.836e-05/0.2265, allocations: 117.9 kB / 436 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.2266, allocations: 11.89 kB / 436 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.2266, allocations: 15.41 kB / 436 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2266, allocations: 0 / 436 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2266, allocations: 4 kB / 436 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.2266, allocations: 11.94 kB / 436 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.2266, allocations: 0 / 436 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.138e-05/0.2267, allocations: 7.984 kB / 436 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.2267, allocations: 4 kB / 436 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001665/0.2269, allocations: 204.1 kB / 436.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002042/0.2271, allocations: 302.1 kB / 436.5 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.852e-05/0.2271, allocations: 11.98 kB / 436.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.2e-05/0.2272, allocations: 101.5 kB / 436.6 MB, free: 2.191 MB / 334.1 MB Notification: Performance of Backend: time 2.4e-07/0.2272, allocations: 0 / 436.6 MB, free: 2.191 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004019/0.2276, allocations: 82.39 kB / 436.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005454/0.2282, allocations: 0.595 MB / 437.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of Templates: time 0.002673/0.2308, allocations: 0.5042 MB / 437.8 MB, free: 0.9688 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.106811904995993] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 0.23880121500405949 0.253046733 0.026025644 Calling exit ...