Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 213.6 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 258.3 MB, free: 7.73 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002423/0.002423, allocations: 47.92 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.222, allocations: 53.36 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002946/0.2249, allocations: 1.598 MB / 433.9 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.2259, allocations: 0.4987 MB / 434.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.332e-05/0.226, allocations: 7.875 kB / 434.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.483e-05/0.2261, allocations: 7.922 kB / 434.5 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.2262, allocations: 11.94 kB / 434.5 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.2265, allocations: 59.81 kB / 434.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.2266, allocations: 55.78 kB / 434.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.878e-05/0.2267, allocations: 12.17 kB / 434.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.2268, allocations: 31.86 kB / 434.6 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.375e-05/0.2269, allocations: 23.84 kB / 434.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.2269, allocations: 4 kB / 434.7 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.197e-05/0.2269, allocations: 8 kB / 434.7 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.227, allocations: 11.94 kB / 434.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.955e-05/0.227, allocations: 19.86 kB / 434.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.2271, allocations: 66.34 kB / 434.8 MB, free: 4.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2271, allocations: 4 kB / 434.8 MB, free: 4.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2271, allocations: 4 kB / 434.8 MB, free: 4.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.2271, allocations: 0 / 434.8 MB, free: 4.27 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.000484/0.2276, allocations: 305.9 kB / 435.1 MB, free: 3.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.2277, allocations: 11.97 kB / 435.1 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.2278, allocations: 16.88 kB / 435.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.2281, allocations: 149.5 kB / 435.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-06/0.2281, allocations: 4.375 kB / 435.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.2281, allocations: 11.94 kB / 435.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.2284, allocations: 109.9 kB / 435.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2284, allocations: 0 / 435.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.2284, allocations: 0 / 435.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2284, allocations: 0 / 435.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.307e-05/0.2285, allocations: 27.92 kB / 435.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.2288, allocations: 218.2 kB / 435.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.2289, allocations: 75.78 kB / 435.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.126e-05/0.229, allocations: 30.62 kB / 435.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.229, allocations: 4 kB / 435.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.065e-05/0.2291, allocations: 34.5 kB / 435.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.2291, allocations: 4 kB / 435.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000281/0.2294, allocations: 81.91 kB / 435.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.2294, allocations: 106.8 kB / 435.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.2296, allocations: 149.8 kB / 436.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.2296, allocations: 25.7 kB / 436.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.2297, allocations: 88.12 kB / 436.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.2297, allocations: 8 kB / 436.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.2297, allocations: 17.67 kB / 436.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2299, allocations: 322.8 kB / 436.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.73e-05/0.2299, allocations: 11.94 kB / 436.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.968e-05/0.23, allocations: 39.36 kB / 436.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.2301, allocations: 47.39 kB / 436.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.2301, allocations: 8 kB / 436.6 MB, free: 2.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001471/0.2302, allocations: 69.55 kB / 436.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.2302, allocations: 8 kB / 436.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.2302, allocations: 128 / 436.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.2303, allocations: 4 kB / 436.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.37e-05/0.2303, allocations: 8 kB / 436.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.2303, allocations: 4 kB / 436.7 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.515e-05/0.2304, allocations: 3.984 kB / 436.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.2304, allocations: 4 kB / 436.7 MB, free: 2.051 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.381e-05/0.2305, allocations: 121.7 kB / 436.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.2305, allocations: 11.91 kB / 436.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.2306, allocations: 15.95 kB / 436.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2306, allocations: 0 / 436.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.2306, allocations: 8 kB / 436.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.2306, allocations: 20.02 kB / 436.9 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.2306, allocations: 7.938 kB / 436.9 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.2307, allocations: 0 / 436.9 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.2307, allocations: 4 kB / 436.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002602/0.231, allocations: 295.5 kB / 437.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002891/0.2313, allocations: 401.2 kB / 437.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.203e-05/0.2313, allocations: 20.08 kB / 437.6 MB, free: 1.125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.772e-05/0.2314, allocations: 109.3 kB / 437.7 MB, free: 1.02 MB / 334.1 MB Notification: Performance of Backend: time 2.7e-07/0.2314, allocations: 0 / 437.7 MB, free: 1.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005367/0.232, allocations: 108.8 kB / 437.8 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006313/0.2326, allocations: 0.6169 MB / 438.4 MB, free: 252 kB / 334.1 MB Notification: Performance of Templates: time 0.003355/0.2359, allocations: 0.7917 MB / 439.2 MB, free: 15.47 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.0774522599967895] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'subSample1.y'] 0.24564707800163887 0.258352853 0.028135681000000003 Calling exit ...