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.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.001779/0.001779, 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.002595/0.002595, 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.528/1.528, allocations: 230.4 MB / 258.1 MB, free: 8.156 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.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.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.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.001977/0.001977, allocations: 71.84 kB / 378.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3223, allocations: 53.31 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.00338/0.3257, allocations: 1.616 MB / 433.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.3268, allocations: 0.5376 MB / 434.2 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.267e-05/0.3269, allocations: 3.938 kB / 434.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.111e-05/0.327, allocations: 7.938 kB / 434.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.3271, allocations: 7.938 kB / 434.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.3274, allocations: 51.81 kB / 434.3 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.3275, allocations: 47.84 kB / 434.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.3276, allocations: 11.98 kB / 434.3 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.3278, allocations: 39.73 kB / 434.4 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.234e-05/0.3278, allocations: 19.92 kB / 434.4 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.3279, allocations: 0 / 434.4 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.769e-05/0.3279, allocations: 8 kB / 434.4 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.952e-05/0.328, allocations: 23.91 kB / 434.4 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.985e-05/0.328, allocations: 23.81 kB / 434.5 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.3282, allocations: 61.22 kB / 434.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3282, allocations: 0 / 434.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3282, allocations: 0 / 434.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.3282, allocations: 0 / 434.5 MB, free: 4.926 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.0006013/0.3288, allocations: 371.2 kB / 434.9 MB, free: 4.516 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3288, allocations: 8.031 kB / 434.9 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.329, allocations: 28.83 kB / 434.9 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.3293, allocations: 200.1 kB / 435.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.3293, allocations: 4.375 kB / 435.1 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.3294, allocations: 4.375 kB / 435.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.3297, allocations: 125.3 kB / 435.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3297, allocations: 0 / 435.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3297, allocations: 0 / 435.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.3297, allocations: 4 kB / 435.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.041e-05/0.3298, allocations: 23.92 kB / 435.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.3302, allocations: 265.7 kB / 435.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.3306, allocations: 142.2 kB / 435.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.138e-05/0.3307, allocations: 25.77 kB / 435.7 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.3307, allocations: 3.938 kB / 435.7 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.3307, allocations: 34.56 kB / 435.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3307, allocations: 4 kB / 435.7 MB, free: 3.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002912/0.331, allocations: 81.55 kB / 435.8 MB, free: 3.414 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.3311, allocations: 81.11 kB / 435.9 MB, free: 3.316 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.3312, allocations: 141.4 kB / 436 MB, free: 3.168 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.3312, allocations: 25.7 kB / 436.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.3313, allocations: 88.12 kB / 436.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.3313, allocations: 7.891 kB / 436.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.3313, allocations: 21.84 kB / 436.2 MB, free: 3.012 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.3315, allocations: 322.8 kB / 436.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.335e-05/0.3316, allocations: 4 kB / 436.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.14e-05/0.3316, allocations: 39.36 kB / 436.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.3317, allocations: 51.36 kB / 436.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.3317, allocations: 3.938 kB / 436.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001511/0.3319, allocations: 73.5 kB / 436.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3319, allocations: 4 kB / 436.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3319, allocations: 4 kB / 436.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3319, allocations: 8.125 kB / 436.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.873e-05/0.332, allocations: 8 kB / 436.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.332, allocations: 4 kB / 436.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.332, allocations: 3.984 kB / 436.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.332, allocations: 4 kB / 436.7 MB, free: 2.453 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.774e-05/0.3321, allocations: 117.8 kB / 436.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.3322, allocations: 7.953 kB / 436.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.3322, allocations: 16.23 kB / 436.8 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3322, allocations: 0 / 436.8 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3322, allocations: 4 kB / 436.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-05/0.3323, allocations: 96.98 kB / 436.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.3323, allocations: 0 / 436.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.609e-05/0.3324, allocations: 0 / 436.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.3324, allocations: 11.94 kB / 436.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002462/0.3327, allocations: 216.5 kB / 437.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003167/0.333, allocations: 322 kB / 437.5 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.924e-05/0.333, allocations: 15.98 kB / 437.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.894e-05/0.3331, allocations: 103.3 kB / 437.6 MB, free: 1.504 MB / 334.1 MB Notification: Performance of Backend: time 4.31e-07/0.3331, allocations: 3.938 kB / 437.6 MB, free: 1.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004979/0.3336, allocations: 106.3 kB / 437.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006751/0.3343, allocations: 0.6153 MB / 438.3 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of Templates: time 0.00363/0.3379, allocations: 0.6231 MB / 438.9 MB, free: 112 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.5407178471796215] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 0.3475775243714452 0.36421796199999995 0.032568507000000003 Calling exit ...