Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.001787/0.001787, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002256/0.002256, allocations: 208.7 kB / 24.49 MB, free: 3.965 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.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 47.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2229, allocations: 53.37 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002671/0.2256, allocations: 1.454 MB / 433.8 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002669/0.2258, allocations: 99.62 kB / 433.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.822e-05/0.2259, allocations: 0 / 433.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.2259, allocations: 0 / 433.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.575e-05/0.2259, allocations: 7.875 kB / 433.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.2262, allocations: 27.91 kB / 433.9 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.262e-05/0.2262, allocations: 27.92 kB / 433.9 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.333e-05/0.2263, allocations: 8 kB / 434 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.43e-05/0.2264, allocations: 19.91 kB / 434 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.467e-05/0.2264, allocations: 7.938 kB / 434 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.2264, allocations: 4 kB / 434 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.2264, allocations: 4 kB / 434 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.2264, allocations: 0 / 434 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.2265, allocations: 15.92 kB / 434 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.372e-05/0.2265, allocations: 23.56 kB / 434 MB, free: 5.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.2265, allocations: 4 kB / 434 MB, free: 5.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2265, allocations: 0 / 434 MB, free: 5.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.2265, allocations: 0 / 434 MB, free: 5.012 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003853/0.2269, allocations: 269.3 kB / 434.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.227, allocations: 8.031 kB / 434.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.227, allocations: 8.891 kB / 434.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.2272, allocations: 126.4 kB / 434.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.2272, allocations: 4.312 kB / 434.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.2272, allocations: 384 / 434.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.2275, allocations: 111.9 kB / 434.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2275, allocations: 192 / 434.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.2275, allocations: 11.94 kB / 434.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2275, allocations: 0 / 434.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.481e-05/0.2276, allocations: 11.98 kB / 434.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/0.2277, allocations: 109.3 kB / 434.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.2279, allocations: 54.5 kB / 434.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.854e-05/0.2279, allocations: 20.92 kB / 434.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.2279, allocations: 8 kB / 434.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.228, allocations: 30.56 kB / 434.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.228, allocations: 0 / 434.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002176/0.2282, allocations: 73.59 kB / 434.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.2282, allocations: 55.39 kB / 434.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.011e-05/0.2283, allocations: 101.9 kB / 435 MB, free: 3.883 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.2283, allocations: 25.7 kB / 435 MB, free: 3.852 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.2284, allocations: 100 kB / 435.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-06/0.2284, allocations: 0 / 435.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.2284, allocations: 21.72 kB / 435.2 MB, free: 3.723 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2285, allocations: 310.8 kB / 435.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.582e-05/0.2286, allocations: 11.98 kB / 435.5 MB, free: 3.398 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.879e-05/0.2286, allocations: 23.44 kB / 435.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.422e-05/0.2286, allocations: 35.38 kB / 435.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2286, allocations: 0 / 435.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.743e-05/0.2287, allocations: 61.64 kB / 435.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.2287, allocations: 4 kB / 435.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2287, allocations: 4 kB / 435.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.2288, allocations: 0 / 435.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.838e-05/0.2288, allocations: 7.938 kB / 435.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.2288, allocations: 7.938 kB / 435.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/0.2288, allocations: 0 / 435.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.2288, allocations: 4 kB / 435.6 MB, free: 3.223 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 7.894e-05/0.2289, allocations: 117.8 kB / 435.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-06/0.2289, allocations: 0 / 435.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.2289, allocations: 12.06 kB / 435.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.229, allocations: 7.875 kB / 435.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.229, allocations: 0 / 435.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.229, allocations: 7.953 kB / 435.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.229, allocations: 0 / 435.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.32e-05/0.229, allocations: 7.984 kB / 435.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-06/0.229, allocations: 0 / 435.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001577/0.2292, allocations: 133 kB / 435.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001975/0.2294, allocations: 238.7 kB / 436.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.024e-05/0.2294, allocations: 12 kB / 436.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.834e-05/0.2295, allocations: 91.52 kB / 436.2 MB, free: 2.566 MB / 334.1 MB Notification: Performance of Backend: time 1.4e-07/0.2295, allocations: 0 / 436.2 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003168/0.2298, allocations: 90.33 kB / 436.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of SimCode: time 0.000452/0.2302, allocations: 0.5572 MB / 436.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of Templates: time 0.002397/0.2326, allocations: 345.3 kB / 437.2 MB, free: 1.535 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.1425577080008225] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 0.2401868460001424 0.254477476 0.024959344 Calling exit ...