Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.00168/0.00168, allocations: 114.5 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.002103/0.002103, allocations: 212.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.492/1.492, 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.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [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.00225/0.00225, allocations: 76 kB / 378.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3179, allocations: 53.3 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003523/0.3214, allocations: 1.628 MB / 433.7 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.3227, allocations: 0.5415 MB / 434.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.3228, allocations: 3.938 kB / 434.2 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.481e-05/0.3229, allocations: 3.938 kB / 434.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.3231, allocations: 19.84 kB / 434.2 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.3235, allocations: 55.83 kB / 434.3 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.3237, allocations: 43.91 kB / 434.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.3238, allocations: 16.17 kB / 434.4 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.324, allocations: 43.72 kB / 434.4 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.496e-05/0.3241, allocations: 15.88 kB / 434.4 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.3241, allocations: 8 kB / 434.4 MB, free: 5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.124e-05/0.3242, allocations: 7.984 kB / 434.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.438e-05/0.3242, allocations: 8 kB / 434.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.496e-05/0.3243, allocations: 39.72 kB / 434.5 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.3245, allocations: 57.28 kB / 434.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3245, allocations: 0 / 434.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3245, allocations: 3.938 kB / 434.5 MB, free: 4.887 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.3245, allocations: 0 / 434.5 MB, free: 4.887 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007053/0.3252, allocations: 387 kB / 434.9 MB, free: 4.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.3252, allocations: 12.03 kB / 434.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.3254, allocations: 16.88 kB / 434.9 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.3258, allocations: 196.8 kB / 435.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3258, allocations: 4.375 kB / 435.1 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.3258, allocations: 3.938 kB / 435.1 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.3262, allocations: 117.9 kB / 435.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.3262, allocations: 3.984 kB / 435.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3262, allocations: 0 / 435.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3262, allocations: 0 / 435.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.357e-05/0.3263, allocations: 23.92 kB / 435.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.3268, allocations: 286.5 kB / 435.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.3269, allocations: 67.78 kB / 435.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.327, allocations: 34.58 kB / 435.7 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.327, allocations: 7.984 kB / 435.7 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.3271, allocations: 38.56 kB / 435.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.3271, allocations: 0 / 435.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000308/0.3274, allocations: 81.86 kB / 435.8 MB, free: 3.418 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.649e-05/0.3275, allocations: 114.8 kB / 435.9 MB, free: 3.281 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.3276, allocations: 151.8 kB / 436.1 MB, free: 3.125 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.3276, allocations: 29.64 kB / 436.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/0.3277, allocations: 84.14 kB / 436.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.3277, allocations: 8 kB / 436.2 MB, free: 2.996 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.3278, allocations: 21.66 kB / 436.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3279, allocations: 318.8 kB / 436.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.616e-05/0.328, allocations: 11.98 kB / 436.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.73e-05/0.328, allocations: 35.42 kB / 436.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.3281, allocations: 51.36 kB / 436.6 MB, free: 2.527 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3281, allocations: 0 / 436.6 MB, free: 2.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001591/0.3283, allocations: 65.62 kB / 436.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3283, allocations: 6.656 kB / 436.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.3283, allocations: 4 kB / 436.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3283, allocations: 3.938 kB / 436.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.207e-05/0.3284, allocations: 11.98 kB / 436.7 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3284, allocations: 3.938 kB / 436.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.652e-05/0.3285, allocations: 12.06 kB / 436.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.3285, allocations: 0 / 436.7 MB, free: 2.418 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: 0 () * 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 9.898e-05/0.3286, allocations: 121.8 kB / 436.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.3286, allocations: 11.91 kB / 436.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.525e-05/0.3286, allocations: 11.88 kB / 436.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3286, allocations: 0 / 436.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3286, allocations: 0 / 436.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.31e-05/0.3287, allocations: 96.98 kB / 436.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.3288, allocations: 7.984 kB / 437 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.3288, allocations: 4 kB / 437 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.3289, allocations: 4 kB / 437 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002708/0.3291, allocations: 291.5 kB / 437.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003601/0.3295, allocations: 405.3 kB / 437.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.951e-05/0.3296, allocations: 16 kB / 437.7 MB, free: 1.414 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.406e-05/0.3296, allocations: 107.2 kB / 437.8 MB, free: 1.309 MB / 334.1 MB Notification: Performance of Backend: time 2.81e-07/0.3296, allocations: 0 / 437.8 MB, free: 1.309 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006246/0.3303, allocations: 105.1 kB / 437.9 MB, free: 1.199 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009029/0.3312, allocations: 0.6283 MB / 438.5 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of Templates: time 0.004096/0.3353, allocations: 0.6951 MB / 439.2 MB, free: 15.84 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.456335220951587] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'subSample1.y'] 0.3446517661213875 0.360310876 0.032498676000000004 Calling exit ...