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.SampleClocked.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.001704/0.001704, allocations: 113.9 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.002154/0.002154, allocations: 209.8 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.447/1.447, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [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.002065/0.002065, allocations: 71.83 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3208, allocations: 53.31 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.00315/0.3239, allocations: 1.535 MB / 433.6 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004477/0.3244, allocations: 135.5 kB / 433.7 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.757e-05/0.3245, allocations: 4 kB / 433.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.968e-05/0.3245, allocations: 3.938 kB / 433.7 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.3247, allocations: 3.938 kB / 433.7 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.325, allocations: 43.16 kB / 433.8 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.3251, allocations: 23.92 kB / 433.8 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.3253, allocations: 11.98 kB / 433.8 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.78e-05/0.3253, allocations: 7.938 kB / 433.8 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.3254, allocations: 19.86 kB / 433.8 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.3254, allocations: 4 kB / 433.8 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.3255, allocations: 0 / 433.8 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.348e-05/0.3255, allocations: 8 kB / 433.8 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.45e-05/0.3256, allocations: 27.78 kB / 433.9 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.3257, allocations: 45.69 kB / 433.9 MB, free: 5.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3257, allocations: 3.938 kB / 433.9 MB, free: 5.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3257, allocations: 4 kB / 433.9 MB, free: 5.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.3258, allocations: 0 / 433.9 MB, free: 5.516 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.0007337/0.3265, allocations: 359.2 kB / 434.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.3265, allocations: 12.03 kB / 434.3 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.3266, allocations: 4.891 kB / 434.3 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.3269, allocations: 192.2 kB / 434.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.3269, allocations: 384 / 434.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.3269, allocations: 12.38 kB / 434.5 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.3272, allocations: 85.61 kB / 434.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3272, allocations: 4.188 kB / 434.6 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3272, allocations: 3.938 kB / 434.6 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.3272, allocations: 0 / 434.6 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.648e-05/0.3273, allocations: 23.92 kB / 434.6 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.3277, allocations: 257.7 kB / 434.9 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.3278, allocations: 57.08 kB / 434.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.139e-05/0.3279, allocations: 13.78 kB / 434.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.3279, allocations: 7.984 kB / 434.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.328, allocations: 38.56 kB / 435 MB, free: 4.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.328, allocations: 0 / 435 MB, free: 4.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002659/0.3282, allocations: 57.62 kB / 435 MB, free: 4.211 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.572e-05/0.3283, allocations: 77.11 kB / 435.1 MB, free: 4.117 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.3285, allocations: 138.3 kB / 435.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.3285, allocations: 29.7 kB / 435.3 MB, free: 3.934 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/0.3286, allocations: 84.14 kB / 435.3 MB, free: 3.848 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/0.3286, allocations: 4 kB / 435.3 MB, free: 3.844 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.3286, allocations: 13.72 kB / 435.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002138/0.3288, allocations: 318.8 kB / 435.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.074e-05/0.3289, allocations: 4 kB / 435.7 MB, free: 3.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.448e-05/0.3289, allocations: 25.7 kB / 435.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.329, allocations: 25.66 kB / 435.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.329, allocations: 0 / 435.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001404/0.3292, allocations: 65.5 kB / 435.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.3292, allocations: 4 kB / 435.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.3292, allocations: 0 / 435.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.925e-05/0.3293, allocations: 8.125 kB / 435.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.193e-05/0.3293, allocations: 4 kB / 435.8 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.3294, allocations: 0 / 435.8 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.25e-05/0.3294, allocations: 4 kB / 435.8 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.3294, allocations: 3.984 kB / 435.8 MB, free: 3.344 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,step.y) * 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 0.0001813/0.3296, allocations: 113.8 kB / 435.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.3296, allocations: 15.89 kB / 435.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.021e-05/0.3297, allocations: 7.828 kB / 435.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.3297, allocations: 4 kB / 436 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.3297, allocations: 7.984 kB / 436 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.855e-05/0.3298, allocations: 85.11 kB / 436 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.3298, allocations: 3.984 kB / 436 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-05/0.3299, allocations: 4 kB / 436 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.3299, allocations: 3.938 kB / 436.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002561/0.3302, allocations: 216.1 kB / 436.3 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002827/0.3304, allocations: 302.1 kB / 436.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.284e-05/0.3305, allocations: 11.98 kB / 436.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.908e-05/0.3306, allocations: 106.4 kB / 436.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of Backend: time 3.5e-07/0.3306, allocations: 0 / 436.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005028/0.3311, allocations: 90.42 kB / 436.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008982/0.332, allocations: 0.5961 MB / 437.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of Templates: time 0.003481/0.3355, allocations: 464.8 kB / 437.8 MB, free: 1.246 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.3931604153476655] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 0.3447826928459108 0.36123580099999997 0.03174964199999994 Calling exit ...