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.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.001368/0.001368, allocations: 116.1 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.001468/0.001468, allocations: 214.8 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.485/1.485, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.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.001949/0.001949, allocations: 71.83 kB / 378.8 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3129, allocations: 53.31 MB / 432.1 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002819/0.3158, allocations: 1.589 MB / 433.7 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009861/0.3167, allocations: 0.5376 MB / 434.2 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.336e-05/0.3168, allocations: 3.938 kB / 434.2 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.09e-05/0.3169, allocations: 3.938 kB / 434.2 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.317, allocations: 15.88 kB / 434.2 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.3173, allocations: 51.81 kB / 434.3 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.3174, allocations: 35.91 kB / 434.3 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.65e-05/0.3174, allocations: 15.98 kB / 434.3 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.3176, allocations: 27.88 kB / 434.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.648e-05/0.3176, allocations: 19.86 kB / 434.4 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.3176, allocations: 4 kB / 434.4 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.747e-05/0.3177, allocations: 4 kB / 434.4 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.3177, allocations: 19.91 kB / 434.4 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.3177, allocations: 19.88 kB / 434.4 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.3179, allocations: 61.22 kB / 434.5 MB, free: 4.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.3179, allocations: 3.938 kB / 434.5 MB, free: 4.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3179, allocations: 0 / 434.5 MB, free: 4.992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.3179, allocations: 0 / 434.5 MB, free: 4.992 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.0004781/0.3184, allocations: 371.2 kB / 434.8 MB, free: 4.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3184, allocations: 8.031 kB / 434.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.3186, allocations: 20.88 kB / 434.9 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.3188, allocations: 199.4 kB / 435.1 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3188, allocations: 4.375 kB / 435.1 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.108e-06/0.3188, allocations: 384 / 435.1 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.3191, allocations: 101.4 kB / 435.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.3191, allocations: 0 / 435.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.3191, allocations: 0 / 435.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3191, allocations: 0 / 435.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.599e-05/0.3192, allocations: 15.98 kB / 435.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.3195, allocations: 265.7 kB / 435.4 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.979e-05/0.3196, allocations: 45.16 kB / 435.5 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.62e-05/0.3196, allocations: 17.77 kB / 435.5 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.3197, allocations: 11.94 kB / 435.5 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.3197, allocations: 38.5 kB / 435.5 MB, free: 3.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3197, allocations: 0 / 435.5 MB, free: 3.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002449/0.3199, allocations: 65.62 kB / 435.6 MB, free: 3.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.32, allocations: 81.05 kB / 435.7 MB, free: 3.562 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.3201, allocations: 138.1 kB / 435.8 MB, free: 3.414 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.3201, allocations: 25.95 kB / 435.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.3202, allocations: 96.14 kB / 435.9 MB, free: 3.285 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.161e-05/0.3202, allocations: 0 / 435.9 MB, free: 3.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.3202, allocations: 17.67 kB / 436 MB, free: 3.262 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.3204, allocations: 318.8 kB / 436.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.053e-05/0.3204, allocations: 4 kB / 436.3 MB, free: 2.938 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.965e-05/0.3205, allocations: 25.7 kB / 436.3 MB, free: 2.906 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.968e-05/0.3205, allocations: 29.77 kB / 436.3 MB, free: 2.871 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.3205, allocations: 7.938 kB / 436.3 MB, free: 2.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001222/0.3207, allocations: 53.62 kB / 436.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3207, allocations: 4 kB / 436.4 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.3207, allocations: 0 / 436.4 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.3207, allocations: 0 / 436.4 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.603e-05/0.3208, allocations: 16.05 kB / 436.4 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.3208, allocations: 0 / 436.4 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.412e-05/0.3208, allocations: 0 / 436.4 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.3208, allocations: 4 kB / 436.4 MB, free: 2.781 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: 0 () * 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 9.101e-05/0.3209, allocations: 125.7 kB / 436.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.3209, allocations: 7.953 kB / 436.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.321, allocations: 15.77 kB / 436.6 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.321, allocations: 0 / 436.6 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.321, allocations: 4 kB / 436.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.321, allocations: 93.05 kB / 436.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.321, allocations: 4 kB / 436.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.236e-05/0.3211, allocations: 4 kB / 436.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.3211, allocations: 7.922 kB / 436.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001964/0.3213, allocations: 204.2 kB / 436.9 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002344/0.3216, allocations: 310.1 kB / 437.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.035e-05/0.3216, allocations: 11.98 kB / 437.2 MB, free: 1.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.972e-05/0.3217, allocations: 105.8 kB / 437.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of Backend: time 3.31e-07/0.3217, allocations: 3.938 kB / 437.3 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004875/0.3222, allocations: 106.3 kB / 437.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005586/0.3227, allocations: 0.6127 MB / 438 MB, free: 1.078 MB / 334.1 MB Notification: Performance of Templates: time 0.00305/0.3258, allocations: 0.5692 MB / 438.6 MB, free: 0.5117 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.5114178489893675] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 0.33364352583885193 0.34722716400000003 0.026378321000000003 Calling exit ...