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.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.001689/0.001689, allocations: 114 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.002297/0.002297, allocations: 214.1 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.496/1.496, allocations: 230.4 MB / 258.1 MB, free: 8.133 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.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.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-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.00214/0.00214, allocations: 67.84 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2812, allocations: 53.31 MB / 432 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003218/0.2845, allocations: 1.55 MB / 433.6 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004367/0.2849, allocations: 143.5 kB / 433.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.467e-05/0.285, allocations: 0 / 433.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.485e-05/0.285, allocations: 7.938 kB / 433.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.2852, allocations: 3.938 kB / 433.7 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.2854, allocations: 43.83 kB / 433.8 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.2855, allocations: 31.86 kB / 433.8 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.2857, allocations: 11.98 kB / 433.8 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.647e-05/0.2857, allocations: 11.94 kB / 433.8 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.152e-05/0.2857, allocations: 19.91 kB / 433.9 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.2858, allocations: 8 kB / 433.9 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/0.2858, allocations: 0 / 433.9 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.173e-05/0.2858, allocations: 11.94 kB / 433.9 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.2859, allocations: 23.8 kB / 433.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.286, allocations: 49.3 kB / 434 MB, free: 5.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.286, allocations: 0 / 434 MB, free: 5.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.286, allocations: 0 / 434 MB, free: 5.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.286, allocations: 4 kB / 434 MB, free: 5.449 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.0005533/0.2866, allocations: 367.2 kB / 434.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2866, allocations: 8.031 kB / 434.3 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.2867, allocations: 12.89 kB / 434.3 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.2869, allocations: 192.1 kB / 434.5 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.287, allocations: 8.375 kB / 434.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.287, allocations: 384 / 434.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.2873, allocations: 121.6 kB / 434.6 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2873, allocations: 192 / 434.6 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.2873, allocations: 3.938 kB / 434.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2873, allocations: 3.938 kB / 434.7 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.904e-05/0.2874, allocations: 23.92 kB / 434.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.2878, allocations: 261.8 kB / 434.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.288, allocations: 134.2 kB / 435.1 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.41e-05/0.2881, allocations: 29.77 kB / 435.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.2881, allocations: 3.984 kB / 435.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.2881, allocations: 34.56 kB / 435.1 MB, free: 4.059 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.2881, allocations: 0 / 435.1 MB, free: 4.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000275/0.2884, allocations: 77.56 kB / 435.2 MB, free: 3.977 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.2885, allocations: 81.11 kB / 435.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.2886, allocations: 138 kB / 435.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.2886, allocations: 29.69 kB / 435.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.264e-05/0.2887, allocations: 88.14 kB / 435.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.2887, allocations: 12.02 kB / 435.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.2887, allocations: 17.72 kB / 435.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2889, allocations: 314.8 kB / 435.9 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.004e-05/0.2889, allocations: 8 kB / 435.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.067e-05/0.289, allocations: 35.36 kB / 435.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.2891, allocations: 51.36 kB / 436 MB, free: 3.137 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2891, allocations: 0 / 436 MB, free: 3.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001331/0.2892, allocations: 61.56 kB / 436 MB, free: 3.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2893, allocations: 8 kB / 436 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.2893, allocations: 12.11 kB / 436 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.2893, allocations: 0 / 436 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.335e-05/0.2893, allocations: 12 kB / 436.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2894, allocations: 0 / 436.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.743e-05/0.2894, allocations: 7.953 kB / 436.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.2894, allocations: 4 kB / 436.1 MB, free: 3.027 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 0.0001053/0.2895, allocations: 121.8 kB / 436.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.2895, allocations: 7.938 kB / 436.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.436e-05/0.2896, allocations: 12.25 kB / 436.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.2896, allocations: 4 kB / 436.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2896, allocations: 0 / 436.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.2896, allocations: 89.05 kB / 436.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.2897, allocations: 3.938 kB / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-05/0.2897, allocations: 7.984 kB / 436.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.2897, allocations: 0 / 436.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002352/0.29, allocations: 220.1 kB / 436.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002482/0.2902, allocations: 318.1 kB / 436.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.348e-05/0.2903, allocations: 11.98 kB / 436.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.974e-05/0.2904, allocations: 102.2 kB / 436.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of Backend: time 2.4e-07/0.2904, allocations: 0 / 436.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004605/0.2908, allocations: 98.33 kB / 437 MB, free: 1.988 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006451/0.2915, allocations: 0.6146 MB / 437.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of Templates: time 0.003196/0.2947, allocations: 0.5118 MB / 438.2 MB, free: 0.8203 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.423694385681301] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 0.3031255351379514 0.31905792600000005 0.029580504 Calling exit ...