Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001904/0.001904, 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.002362/0.002362, 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.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 59.84 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.221, allocations: 53.35 MB / 432.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003455/0.2244, allocations: 1.839 MB / 434.2 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.2259, allocations: 0.6624 MB / 434.9 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.226, allocations: 7.938 kB / 434.9 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.2262, allocations: 23.73 kB / 434.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.2263, allocations: 23.8 kB / 434.9 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.2267, allocations: 107.7 kB / 435 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.227, allocations: 151.5 kB / 435.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.2271, allocations: 52.84 kB / 435.2 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.2273, allocations: 55.72 kB / 435.3 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.957e-05/0.2274, allocations: 59.69 kB / 435.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.2274, allocations: 12 kB / 435.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.521e-05/0.2275, allocations: 16 kB / 435.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.911e-05/0.2275, allocations: 31.86 kB / 435.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.649e-05/0.2276, allocations: 43.73 kB / 435.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.2278, allocations: 151 kB / 435.6 MB, free: 3.496 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2279, allocations: 0 / 435.6 MB, free: 3.496 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2279, allocations: 4 kB / 435.6 MB, free: 3.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.2279, allocations: 0 / 435.6 MB, free: 3.492 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006539/0.2285, allocations: 381.6 kB / 435.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.2286, allocations: 8.031 kB / 436 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.2287, allocations: 28.83 kB / 436 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.2291, allocations: 194.3 kB / 436.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.2291, allocations: 12.12 kB / 436.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.2291, allocations: 8 kB / 436.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006498/0.2298, allocations: 297.9 kB / 436.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2298, allocations: 3.938 kB / 436.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.2298, allocations: 8 kB / 436.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.2298, allocations: 4 kB / 436.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002209/0.23, allocations: 67.89 kB / 436.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.2305, allocations: 355.1 kB / 436.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/0.231, allocations: 209 kB / 437.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.2312, allocations: 104.3 kB / 437.2 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.2312, allocations: 11.98 kB / 437.2 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.2313, allocations: 38.5 kB / 437.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.2313, allocations: 0 / 437.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006328/0.2319, allocations: 217.8 kB / 437.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.232, allocations: 191.8 kB / 437.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.2322, allocations: 179.2 kB / 437.8 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.2322, allocations: 33.7 kB / 437.9 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/0.2323, allocations: 108 kB / 438 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.2323, allocations: 11.95 kB / 438 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-05/0.2324, allocations: 33.7 kB / 438 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.2325, allocations: 326.8 kB / 438.3 MB, free: 444 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.921e-05/0.2326, allocations: 19.98 kB / 438.4 MB, free: 424 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.2328, allocations: 159.2 kB / 438.5 MB, free: 208 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.233, allocations: 169.6 kB / 438.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.233, allocations: 0 / 438.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003206/0.2334, allocations: 169.4 kB / 438.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2334, allocations: 4 kB / 438.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.2334, allocations: 7.984 kB / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.2334, allocations: 7.938 kB / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.2335, allocations: 39.92 kB / 438.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.2335, allocations: 7.984 kB / 438.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.2336, allocations: 15.95 kB / 438.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.2337, allocations: 8.281 kB / 438.9 MB, free: 15.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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 0.0001317/0.2338, allocations: 146.1 kB / 439.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/0.2339, allocations: 15.91 kB / 439.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.208e-05/0.2339, allocations: 21.41 kB / 439.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.2339, allocations: 11.92 kB / 439.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2339, allocations: 3.938 kB / 439.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.079e-05/0.234, allocations: 27.83 kB / 439.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.234, allocations: 11.94 kB / 439.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.2342, allocations: 11.98 kB / 439.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.2342, allocations: 7.938 kB / 439.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005714/0.2348, allocations: 0.5525 MB / 439.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005601/0.2353, allocations: 0.6247 MB / 440.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001495/0.2355, allocations: 60.05 kB / 440.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.2356, allocations: 132.4 kB / 440.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of Backend: time 2.4e-07/0.2356, allocations: 0 / 440.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007995/0.2364, allocations: 146.2 kB / 440.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008731/0.2373, allocations: 0.717 MB / 441.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of Templates: time 0.006076/0.2434, allocations: 2.514 MB / 443.9 MB, free: 10.68 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.220931013995141] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'hold1.y', '// shiftSample1.y'] 0.2515051470036269 0.26621889400000004 0.035175032 Calling exit ...