Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001242/0.001242, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001346/0.001346, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.41/1.41, allocations: 230.4 MB / 258.1 MB, free: 8.133 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.89 kB / 378.8 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2343, allocations: 53.31 MB / 432.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004227/0.2385, allocations: 2.797 MB / 434.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.2398, allocations: 0.7206 MB / 435.6 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.24, allocations: 4 kB / 435.6 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.2401, allocations: 39.58 kB / 435.7 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.2403, allocations: 95.25 kB / 435.8 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.2406, allocations: 103.8 kB / 435.9 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004098/0.241, allocations: 350.5 kB / 436.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.2411, allocations: 64.7 kB / 436.3 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.2413, allocations: 127.5 kB / 436.4 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.2415, allocations: 155.3 kB / 436.5 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.852e-05/0.2416, allocations: 28 kB / 436.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.122e-05/0.2416, allocations: 28 kB / 436.6 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.226e-05/0.2417, allocations: 67.7 kB / 436.7 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.2418, allocations: 147.3 kB / 436.8 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.2422, allocations: 328.1 kB / 437.1 MB, free: 2.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2422, allocations: 8 kB / 437.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2422, allocations: 3.938 kB / 437.1 MB, free: 2.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.2422, allocations: 0 / 437.1 MB, free: 2.305 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001388/0.2436, allocations: 0.6455 MB / 437.8 MB, free: 1.605 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.2437, allocations: 8.031 kB / 437.8 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.11e-05/0.2438, allocations: 32.75 kB / 437.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/0.2442, allocations: 283.8 kB / 438.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.2442, allocations: 16.81 kB / 438.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.2443, allocations: 16.38 kB / 438.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006889/0.2449, allocations: 282.1 kB / 438.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.245, allocations: 3.938 kB / 438.4 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.245, allocations: 8 kB / 438.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.245, allocations: 8 kB / 438.4 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008407/0.2458, allocations: 245.6 kB / 438.7 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.2476, allocations: 0.9367 MB / 439.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008461/0.2484, allocations: 242.5 kB / 439.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/0.2487, allocations: 96.78 kB / 439.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.2488, allocations: 0 / 439.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000479/0.2492, allocations: 181.8 kB / 440.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 3.316e-06/0.2492, allocations: 3.984 kB / 440.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002447/0.2517, allocations: 0.6513 MB / 440.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.2518, allocations: 106.8 kB / 440.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.2521, allocations: 278.5 kB / 441.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.2521, allocations: 29.7 kB / 441.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.2522, allocations: 184.1 kB / 441.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.2523, allocations: 43.62 kB / 441.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-05/0.2524, allocations: 53.66 kB / 441.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2525, allocations: 334.8 kB / 441.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.2529, allocations: 95.92 kB / 441.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/0.2533, allocations: 178.2 kB / 442 MB, free: 13.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007433/0.254, allocations: 288.7 kB / 442.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.254, allocations: 0 / 442.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001304/0.2553, allocations: 443.7 kB / 442.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/0.2554, allocations: 33.7 kB / 442.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.2554, allocations: 4 kB / 442.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003856/0.2558, allocations: 80.86 kB / 442.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.256, allocations: 47.89 kB / 442.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003116/0.2591, allocations: 2.002 MB / 444.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.2595, allocations: 55.91 kB / 445 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.2595, allocations: 12 kB / 445 MB, free: 9.918 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000163/0.2596, allocations: 134.7 kB / 445.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.2597, allocations: 27.8 kB / 445.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.447e-05/0.2597, allocations: 33.7 kB / 445.2 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2597, allocations: 4 kB / 445.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2597, allocations: 0 / 445.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-05/0.2598, allocations: 108.9 kB / 445.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.2599, allocations: 0 / 445.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.2601, allocations: 35.95 kB / 445.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.651e-05/0.2602, allocations: 19.97 kB / 445.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001383/0.2616, allocations: 437.4 kB / 445.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001163/0.2628, allocations: 0.5044 MB / 446.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000331/0.2631, allocations: 87.97 kB / 446.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001966/0.2633, allocations: 193.9 kB / 446.5 MB, free: 8.305 MB / 350.1 MB Notification: Performance of Backend: time 5.92e-07/0.2633, allocations: 0 / 446.5 MB, free: 8.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.2646, allocations: 476.4 kB / 447 MB, free: 7.809 MB / 350.1 MB Notification: Performance of SimCode: time 0.001099/0.2657, allocations: 0.925 MB / 447.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of Templates: time 0.008448/0.2742, allocations: 4.024 MB / 452 MB, free: 2.852 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.1723481132648885] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 0.28227508207783103 0.296085651 0.050887255000000006 Calling exit ...