Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.001624/0.001624, 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.001751/0.001751, 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.433/1.433, allocations: 230.6 MB / 258.2 MB, free: 7.762 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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 51.91 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2189, allocations: 53.36 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002918/0.2218, allocations: 1.524 MB / 433.9 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003846/0.2222, allocations: 131.5 kB / 434 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.84e-05/0.2223, allocations: 4 kB / 434 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.397e-05/0.2223, allocations: 3.938 kB / 434 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.2224, allocations: 3.938 kB / 434 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.2226, allocations: 39.89 kB / 434 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.794e-05/0.2227, allocations: 27.92 kB / 434.1 MB, free: 5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.242e-05/0.2228, allocations: 11.94 kB / 434.1 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.978e-05/0.2228, allocations: 7.984 kB / 434.1 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.652e-05/0.2229, allocations: 19.86 kB / 434.1 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.2229, allocations: 4 kB / 434.1 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.2229, allocations: 4 kB / 434.1 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.01e-05/0.223, allocations: 7.984 kB / 434.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.619e-05/0.223, allocations: 15.88 kB / 434.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.2231, allocations: 46.38 kB / 434.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.2231, allocations: 0 / 434.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2231, allocations: 0 / 434.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.2231, allocations: 0 / 434.2 MB, free: 4.891 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.0004336/0.2235, allocations: 290.1 kB / 434.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.2236, allocations: 12.03 kB / 434.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.2236, allocations: 8.891 kB / 434.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.2238, allocations: 134.4 kB / 434.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.391e-06/0.2238, allocations: 384 / 434.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.2239, allocations: 4.375 kB / 434.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.2241, allocations: 93.61 kB / 434.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.2241, allocations: 192 / 434.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.2241, allocations: 11.92 kB / 434.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2241, allocations: 4 kB / 434.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.55e-05/0.2242, allocations: 19.92 kB / 434.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.2245, allocations: 205.4 kB / 434.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.36e-05/0.2246, allocations: 41.14 kB / 435 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.351e-05/0.2246, allocations: 29.7 kB / 435 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.2246, allocations: 3.938 kB / 435 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.2246, allocations: 30.56 kB / 435 MB, free: 3.879 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2246, allocations: 0 / 435 MB, free: 3.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.000222/0.2249, allocations: 61.62 kB / 435.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.2249, allocations: 85.09 kB / 435.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.2251, allocations: 136.5 kB / 435.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.2251, allocations: 25.7 kB / 435.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.2251, allocations: 88.14 kB / 435.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.314e-06/0.2251, allocations: 0 / 435.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.2252, allocations: 13.72 kB / 435.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2253, allocations: 318.8 kB / 435.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.874e-05/0.2253, allocations: 4.25 kB / 435.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.205e-05/0.2254, allocations: 33.58 kB / 435.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.4e-05/0.2255, allocations: 25.7 kB / 435.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.2255, allocations: 0 / 435.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001185/0.2256, allocations: 61.52 kB / 435.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2256, allocations: 8 kB / 435.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.2256, allocations: 0 / 435.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.2256, allocations: 4.125 kB / 435.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.672e-05/0.2257, allocations: 4 kB / 435.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2257, allocations: 0 / 435.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.323e-05/0.2257, allocations: 7.984 kB / 435.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.2257, allocations: 0 / 435.9 MB, free: 2.941 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: 2 (sample1.y,step.y) * 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.125e-05/0.2258, allocations: 113.8 kB / 436 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.2258, allocations: 11.89 kB / 436 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.2259, allocations: 15.75 kB / 436 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.2259, allocations: 0 / 436 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2259, allocations: 0 / 436 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.2259, allocations: 12 kB / 436.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.2259, allocations: 4 kB / 436.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.404e-05/0.226, allocations: 3.984 kB / 436.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.226, allocations: 4 kB / 436.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001908/0.2262, allocations: 204.1 kB / 436.3 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002337/0.2264, allocations: 310 kB / 436.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.866e-05/0.2265, allocations: 12.08 kB / 436.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.621e-05/0.2266, allocations: 103.3 kB / 436.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of Backend: time 1.7e-07/0.2266, allocations: 0 / 436.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004061/0.227, allocations: 88.83 kB / 436.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005671/0.2275, allocations: 0.6038 MB / 437.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of Templates: time 0.002784/0.2303, allocations: 0.5229 MB / 437.9 MB, free: 0.8711 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.1477480820030905] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 0.2378152629971737 0.25247577200000004 0.026360582 Calling exit ...