Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001314/0.001314, allocations: 106.8 kB / 21.19 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.001401/0.001401, allocations: 213.3 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.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 47.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2119, allocations: 53.38 MB / 432.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003128/0.2151, allocations: 1.685 MB / 434 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004476/0.2155, allocations: 163.4 kB / 434.2 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.238e-05/0.2156, allocations: 3.938 kB / 434.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.485e-05/0.2157, allocations: 7.922 kB / 434.2 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.2158, allocations: 15.88 kB / 434.2 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.216, allocations: 39.89 kB / 434.3 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.2161, allocations: 63.77 kB / 434.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.2162, allocations: 26.94 kB / 434.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.491e-05/0.2163, allocations: 15.94 kB / 434.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.665e-05/0.2163, allocations: 35.78 kB / 434.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.2164, allocations: 4 kB / 434.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.2164, allocations: 4 kB / 434.4 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.774e-05/0.2164, allocations: 15.94 kB / 434.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.636e-05/0.2165, allocations: 27.84 kB / 434.5 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.2166, allocations: 71.31 kB / 434.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2166, allocations: 0 / 434.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2166, allocations: 0 / 434.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.2166, allocations: 0 / 434.5 MB, free: 4.523 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004927/0.2171, allocations: 321.9 kB / 434.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2171, allocations: 8.031 kB / 434.8 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.2172, allocations: 12.89 kB / 434.9 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.2174, allocations: 134.4 kB / 435 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.2174, allocations: 4.375 kB / 435 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.2174, allocations: 8.375 kB / 435 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.2178, allocations: 170.2 kB / 435.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.2178, allocations: 192 / 435.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.2178, allocations: 7.938 kB / 435.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2178, allocations: 4 kB / 435.2 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.2179, allocations: 39.91 kB / 435.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.2183, allocations: 293.6 kB / 435.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.2185, allocations: 115.8 kB / 435.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.2187, allocations: 66.55 kB / 435.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.2187, allocations: 4 kB / 435.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.2187, allocations: 38.56 kB / 435.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.2187, allocations: 0 / 435.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003454/0.2191, allocations: 121.5 kB / 435.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.2191, allocations: 106.8 kB / 436 MB, free: 2.906 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.2193, allocations: 136.3 kB / 436.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.2193, allocations: 29.7 kB / 436.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.2193, allocations: 88.38 kB / 436.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.2194, allocations: 15.95 kB / 436.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/0.2194, allocations: 25.61 kB / 436.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.2196, allocations: 322.8 kB / 436.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.551e-05/0.2196, allocations: 15.98 kB / 436.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.042e-05/0.2197, allocations: 67.72 kB / 436.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.2199, allocations: 95.59 kB / 436.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2199, allocations: 0 / 436.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002036/0.2201, allocations: 105.6 kB / 436.8 MB, free: 1.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.2201, allocations: 8.062 kB / 436.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.2201, allocations: 7.984 kB / 436.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.2201, allocations: 4 kB / 436.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.658e-05/0.2202, allocations: 15.94 kB / 436.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.2202, allocations: 4 kB / 436.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.886e-05/0.2203, allocations: 15.88 kB / 436.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.2203, allocations: 8 kB / 436.9 MB, free: 1.867 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.676e-05/0.2204, allocations: 121.8 kB / 437 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/0.2204, allocations: 11.89 kB / 437 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.969e-05/0.2205, allocations: 24.7 kB / 437.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2205, allocations: 0 / 437.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.2205, allocations: 7.938 kB / 437.1 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/0.2205, allocations: 27.86 kB / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.2205, allocations: 4 kB / 437.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.2206, allocations: 0 / 437.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.2207, allocations: 11.92 kB / 437.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003259/0.221, allocations: 331.6 kB / 437.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004647/0.2215, allocations: 462 kB / 437.9 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.578e-05/0.2215, allocations: 27.98 kB / 437.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.999e-05/0.2216, allocations: 107.2 kB / 438 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of Backend: time 3.31e-07/0.2216, allocations: 0 / 438 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005323/0.2222, allocations: 113.6 kB / 438.1 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006353/0.2228, allocations: 0.639 MB / 438.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of Templates: time 0.003385/0.2262, allocations: 0.8402 MB / 439.6 MB, free: 15.09 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.138070341999992] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'sample2.y', 'hold1.y'] 0.23425995800062083 0.24908538400000002 0.029427043000000003 Calling exit ...