Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.001824/0.001824, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.002325/0.002325, allocations: 214.8 kB / 24.49 MB, free: 3.934 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.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002411/0.002411, allocations: 47.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2368, allocations: 53.37 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002731/0.2396, allocations: 1.532 MB / 433.9 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003803/0.2399, allocations: 131.5 kB / 434 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.842e-05/0.24, allocations: 7.938 kB / 434 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.369e-05/0.24, allocations: 7.922 kB / 434 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.2402, allocations: 3.938 kB / 434 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.2404, allocations: 39.89 kB / 434.1 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.225e-05/0.2405, allocations: 31.92 kB / 434.1 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.637e-05/0.2406, allocations: 12 kB / 434.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.819e-05/0.2406, allocations: 23.91 kB / 434.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.912e-05/0.2406, allocations: 11.88 kB / 434.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.2407, allocations: 4 kB / 434.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.2407, allocations: 4 kB / 434.1 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.158e-05/0.2407, allocations: 7.984 kB / 434.2 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.2407, allocations: 19.81 kB / 434.2 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.2408, allocations: 54.36 kB / 434.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2408, allocations: 0 / 434.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2408, allocations: 0 / 434.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.2409, allocations: 0 / 434.2 MB, free: 4.852 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.0004332/0.2413, allocations: 298.1 kB / 434.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.2413, allocations: 12.03 kB / 434.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.2414, allocations: 4.891 kB / 434.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.2416, allocations: 138.4 kB / 434.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.2416, allocations: 4.375 kB / 434.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.2416, allocations: 4.375 kB / 434.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.2419, allocations: 121.5 kB / 434.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2419, allocations: 192 / 434.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.2419, allocations: 3.938 kB / 434.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2419, allocations: 0 / 434.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.794e-05/0.242, allocations: 19.98 kB / 434.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.2422, allocations: 209.3 kB / 435 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.2424, allocations: 57.2 kB / 435.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.946e-05/0.2425, allocations: 25.77 kB / 435.1 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.2425, allocations: 11.94 kB / 435.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.2425, allocations: 34.5 kB / 435.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 3.316e-06/0.2425, allocations: 7.922 kB / 435.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002401/0.2428, allocations: 77.56 kB / 435.2 MB, free: 3.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.2428, allocations: 77.11 kB / 435.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.2429, allocations: 144.7 kB / 435.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.243, allocations: 25.7 kB / 435.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.243, allocations: 84.14 kB / 435.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.537e-06/0.243, allocations: 8.078 kB / 435.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.2431, allocations: 21.72 kB / 435.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2432, allocations: 318.8 kB / 435.9 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.941e-05/0.2432, allocations: 8 kB / 435.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.309e-05/0.2433, allocations: 35.42 kB / 435.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.456e-05/0.2434, allocations: 43.36 kB / 436 MB, free: 2.867 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2434, allocations: 0 / 436 MB, free: 2.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001459/0.2435, allocations: 73.55 kB / 436.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.2435, allocations: 4 kB / 436.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2435, allocations: 0 / 436.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2436, allocations: 4 kB / 436.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.782e-05/0.2436, allocations: 11.94 kB / 436.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.2436, allocations: 3.984 kB / 436.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.003e-05/0.2437, allocations: 11.94 kB / 436.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.2437, allocations: 128 / 436.1 MB, free: 2.754 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.831e-05/0.2438, allocations: 121.8 kB / 436.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.2438, allocations: 3.938 kB / 436.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.2438, allocations: 16.33 kB / 436.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.2438, allocations: 0 / 436.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2438, allocations: 0 / 436.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-05/0.2439, allocations: 19.94 kB / 436.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.2439, allocations: 0 / 436.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/0.2439, allocations: 7.984 kB / 436.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.244, allocations: 3.938 kB / 436.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000204/0.2442, allocations: 224.1 kB / 436.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002349/0.2444, allocations: 314 kB / 436.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.436e-05/0.2445, allocations: 15.98 kB / 436.8 MB, free: 2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.321e-05/0.2445, allocations: 103.3 kB / 436.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of Backend: time 1.71e-07/0.2445, allocations: 0 / 436.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004082/0.2449, allocations: 92.45 kB / 437 MB, free: 1.805 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005329/0.2455, allocations: 0.6081 MB / 437.6 MB, free: 1.148 MB / 334.1 MB Notification: Performance of Templates: time 0.002829/0.2483, allocations: 0.5854 MB / 438.2 MB, free: 0.5781 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.146059943006549] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 0.25843201099633006 0.27014965500000004 0.026351796 Calling exit ...