Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.00136/0.00136, 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.001472/0.001472, allocations: 217.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.428/1.428, 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.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 51.91 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2248, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002649/0.2275, allocations: 1.52 MB / 433.9 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003622/0.2279, allocations: 139.5 kB / 434 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.933e-05/0.2279, allocations: 7.938 kB / 434 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.344e-05/0.228, allocations: 11.86 kB / 434 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.2281, allocations: 3.938 kB / 434 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.2283, allocations: 35.91 kB / 434.1 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.974e-05/0.2284, allocations: 39.91 kB / 434.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.487e-05/0.2284, allocations: 11.8 kB / 434.1 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.551e-05/0.2285, allocations: 19.91 kB / 434.1 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.826e-05/0.2285, allocations: 11.88 kB / 434.1 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.2285, allocations: 4 kB / 434.1 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.2285, allocations: 4 kB / 434.1 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.139e-05/0.2286, allocations: 11.98 kB / 434.2 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.2286, allocations: 15.88 kB / 434.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.2287, allocations: 47.47 kB / 434.2 MB, free: 4.848 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2287, allocations: 0 / 434.2 MB, free: 4.848 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2287, allocations: 0 / 434.2 MB, free: 4.848 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.2287, allocations: 7.938 kB / 434.2 MB, free: 4.84 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003975/0.2291, allocations: 289.2 kB / 434.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.2292, allocations: 8.031 kB / 434.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.2292, allocations: 8.891 kB / 434.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.2294, allocations: 134.4 kB / 434.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.2294, allocations: 4.375 kB / 434.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.2294, allocations: 8.375 kB / 434.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.2297, allocations: 113.6 kB / 434.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.2297, allocations: 192 / 434.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.2297, allocations: 11.86 kB / 434.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.2297, allocations: 0 / 434.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.697e-05/0.2298, allocations: 8 kB / 434.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.23, allocations: 209.4 kB / 435 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.2301, allocations: 57.14 kB / 435.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.298e-05/0.2302, allocations: 25.77 kB / 435.1 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.2302, allocations: 7.938 kB / 435.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.2302, allocations: 38.56 kB / 435.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.2302, allocations: 0 / 435.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002098/0.2305, allocations: 69.72 kB / 435.2 MB, free: 3.723 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.2305, allocations: 77.11 kB / 435.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.2306, allocations: 140.1 kB / 435.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.2306, allocations: 25.7 kB / 435.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.2307, allocations: 88.08 kB / 435.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.152e-05/0.2307, allocations: 7.938 kB / 435.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.2307, allocations: 25.8 kB / 435.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2309, allocations: 318.8 kB / 435.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.206e-05/0.2309, allocations: 7.938 kB / 435.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.851e-05/0.231, allocations: 35.45 kB / 435.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.228e-05/0.231, allocations: 39.38 kB / 435.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.231, allocations: 0 / 435.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001232/0.2312, allocations: 65.56 kB / 436 MB, free: 2.828 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.2312, allocations: 4 kB / 436 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.2312, allocations: 7.984 kB / 436 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.2312, allocations: 0 / 436 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-05/0.2312, allocations: 0 / 436 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.2312, allocations: 7.938 kB / 436 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.2312, allocations: 4 kB / 436 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.2313, allocations: 4 kB / 436 MB, free: 2.801 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: 4 (sample1.y,assignClock.y,assignClock.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 8.472e-05/0.2313, allocations: 113.8 kB / 436.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.2314, allocations: 20 kB / 436.2 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/0.2314, allocations: 8 kB / 436.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2314, allocations: 0 / 436.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2314, allocations: 4 kB / 436.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.2314, allocations: 15.94 kB / 436.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.2315, allocations: 4 kB / 436.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.654e-05/0.2315, allocations: 0 / 436.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.2315, allocations: 0 / 436.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001844/0.2317, allocations: 224.1 kB / 436.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002201/0.2319, allocations: 314.1 kB / 436.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.246e-05/0.232, allocations: 11.94 kB / 436.7 MB, free: 2.059 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.244e-05/0.2321, allocations: 103.2 kB / 436.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of Backend: time 5.81e-07/0.2321, allocations: 0 / 436.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003975/0.2325, allocations: 86.41 kB / 436.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005414/0.233, allocations: 0.5948 MB / 437.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of Templates: time 0.002864/0.2359, allocations: 0.5715 MB / 438.1 MB, free: 0.668 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.1494899629979045] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 0.24342277100367937 0.25837347199999994 0.026539749 Calling exit ...