Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.001778/0.001778, allocations: 112.3 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.002216/0.002216, allocations: 211 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.494/1.494, 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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [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.00202/0.00202, allocations: 67.83 kB / 378.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2778, allocations: 53.32 MB / 432.1 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002651/0.2805, allocations: 1.457 MB / 433.5 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002998/0.2808, allocations: 95.67 kB / 433.6 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.027e-05/0.2808, allocations: 0 / 433.6 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.745e-05/0.2809, allocations: 4 kB / 433.6 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.977e-05/0.2809, allocations: 3.938 kB / 433.6 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.2812, allocations: 27.91 kB / 433.6 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.991e-05/0.2812, allocations: 23.92 kB / 433.7 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.004e-05/0.2813, allocations: 4 kB / 433.7 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.989e-05/0.2814, allocations: 11.94 kB / 433.7 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.17e-05/0.2814, allocations: 19.91 kB / 433.7 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.2814, allocations: 4 kB / 433.7 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.2814, allocations: 4 kB / 433.7 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.2814, allocations: 3.938 kB / 433.7 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.2815, allocations: 11.94 kB / 433.7 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.289e-05/0.2816, allocations: 29.88 kB / 433.8 MB, free: 5.711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.2816, allocations: 0 / 433.8 MB, free: 5.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.2816, allocations: 0 / 433.8 MB, free: 5.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.2816, allocations: 0 / 433.8 MB, free: 5.711 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004309/0.282, allocations: 339.4 kB / 434.1 MB, free: 5.328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.282, allocations: 12.03 kB / 434.1 MB, free: 5.316 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.2821, allocations: 8.891 kB / 434.1 MB, free: 5.309 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.2823, allocations: 184.2 kB / 434.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.2823, allocations: 4.375 kB / 434.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.2823, allocations: 4.312 kB / 434.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.2826, allocations: 111.9 kB / 434.4 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.2827, allocations: 4.172 kB / 434.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.2827, allocations: 3.938 kB / 434.4 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.2827, allocations: 0 / 434.4 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.739e-05/0.2828, allocations: 15.98 kB / 434.4 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.2829, allocations: 161.6 kB / 434.6 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.2831, allocations: 58.42 kB / 434.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.333e-05/0.2832, allocations: 28.92 kB / 434.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.2832, allocations: 0 / 434.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.2832, allocations: 34.56 kB / 434.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.2832, allocations: 0 / 434.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002198/0.2834, allocations: 69.61 kB / 434.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.2835, allocations: 55.41 kB / 434.8 MB, free: 4.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.174e-05/0.2836, allocations: 109.8 kB / 434.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.2836, allocations: 29.7 kB / 435 MB, free: 4.297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.2836, allocations: 80.14 kB / 435 MB, free: 4.215 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.516e-06/0.2836, allocations: 7.938 kB / 435 MB, free: 4.207 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.2837, allocations: 17.7 kB / 435.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.2838, allocations: 314.8 kB / 435.4 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.209e-05/0.2838, allocations: 4 kB / 435.4 MB, free: 3.863 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.287e-05/0.2839, allocations: 31.42 kB / 435.4 MB, free: 3.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.407e-05/0.2839, allocations: 35.38 kB / 435.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2839, allocations: 0 / 435.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.641e-05/0.284, allocations: 65.58 kB / 435.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.284, allocations: 4 kB / 435.5 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.284, allocations: 0 / 435.5 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.284, allocations: 7.938 kB / 435.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.7e-05/0.2841, allocations: 4 kB / 435.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2841, allocations: 0 / 435.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.2841, allocations: 7.938 kB / 435.5 MB, free: 3.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-06/0.2841, allocations: 0 / 435.5 MB, free: 3.68 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: 3 (assignClock1.y,assignClock1.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.551e-05/0.2842, allocations: 110 kB / 435.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.2842, allocations: 12 kB / 435.6 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.2842, allocations: 11.83 kB / 435.7 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2842, allocations: 0 / 435.7 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2842, allocations: 0 / 435.7 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.2843, allocations: 81.06 kB / 435.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.2843, allocations: 0 / 435.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.771e-05/0.2843, allocations: 4 kB / 435.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-06/0.2843, allocations: 0 / 435.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001929/0.2845, allocations: 141.2 kB / 435.9 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002133/0.2847, allocations: 242.7 kB / 436.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.715e-05/0.2848, allocations: 15.92 kB / 436.1 MB, free: 3.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.607e-05/0.2848, allocations: 91.52 kB / 436.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of Backend: time 4.21e-07/0.2848, allocations: 0 / 436.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000316/0.2852, allocations: 86.34 kB / 436.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004994/0.2857, allocations: 0.561 MB / 436.9 MB, free: 2.227 MB / 334.1 MB Notification: Performance of Templates: time 0.002804/0.2885, allocations: 324.6 kB / 437.2 MB, free: 1.918 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.34172238688916] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 0.2984459879808128 0.325616243 0.03934352 Calling exit ...