Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008071/0.0008071, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.00187, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007606/0.0007606, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009306/0.001691, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9823/0.9823, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08479/1.067, allocations: 53.87 MB / 243.7 MB, free: 14.89 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 245.1 MB, free: 13.6 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098e-05/1.211e-05, allocations: 6.25 kB / 245.1 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.002511/0.002523, allocations: 2.831 MB / 247.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008121/0.003335, allocations: 0.7203 MB / 248.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.536e-05/0.00343, allocations: 4 kB / 248.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.805e-05/0.003498, allocations: 35.58 kB / 248.7 MB, free: 9.973 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.003636, allocations: 103.1 kB / 248.8 MB, free: 9.871 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.003778, allocations: 83.83 kB / 248.8 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002802/0.004058, allocations: 370.3 kB / 249.2 MB, free: 9.426 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.004172, allocations: 66.7 kB / 249.3 MB, free: 9.363 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.004371, allocations: 232 kB / 249.5 MB, free: 9.137 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.004498, allocations: 119.6 kB / 249.6 MB, free: 9.02 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.651e-05/0.004534, allocations: 28 kB / 249.6 MB, free: 8.992 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.063e-05/0.004565, allocations: 32 kB / 249.7 MB, free: 8.961 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.151e-05/0.004606, allocations: 43.88 kB / 249.7 MB, free: 8.918 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.761e-05/0.004684, allocations: 87.75 kB / 249.8 MB, free: 8.832 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.004895, allocations: 199.3 kB / 250 MB, free: 8.637 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.416e-05/0.004909, allocations: 0 / 250 MB, free: 8.637 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004909, allocations: 0 / 250 MB, free: 8.637 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.004926, allocations: 0 / 250 MB, free: 8.637 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007415/0.005668, allocations: 0.5802 MB / 250.6 MB, free: 8.023 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.005698, allocations: 12.02 kB / 250.6 MB, free: 8.012 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.005755, allocations: 40.84 kB / 250.6 MB, free: 7.973 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.005969, allocations: 189.3 kB / 250.8 MB, free: 7.762 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.005983, allocations: 16.88 kB / 250.8 MB, free: 7.746 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.006006, allocations: 28.31 kB / 250.8 MB, free: 7.719 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.00624, allocations: 250.4 kB / 251.1 MB, free: 7.449 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.006249, allocations: 192 / 251.1 MB, free: 7.449 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.006266, allocations: 12.38 kB / 251.1 MB, free: 7.438 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.006275, allocations: 7.938 kB / 251.1 MB, free: 7.43 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.817e-05/0.006363, allocations: 59.47 kB / 251.2 MB, free: 7.371 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000724/0.007087, allocations: 0.6236 MB / 251.8 MB, free: 6.695 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.007254, allocations: 102 kB / 251.9 MB, free: 6.59 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.657e-05/0.007291, allocations: 28.84 kB / 251.9 MB, free: 6.559 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.007313, allocations: 8 kB / 251.9 MB, free: 6.551 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.007492, allocations: 204.1 kB / 252.1 MB, free: 6.309 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 9.61e-07/0.007493, allocations: 0 / 252.1 MB, free: 6.309 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004561/0.007949, allocations: 218.3 kB / 252.3 MB, free: 6.086 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.007979, allocations: 59.33 kB / 252.4 MB, free: 6.016 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.008112, allocations: 240.9 kB / 252.6 MB, free: 5.766 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.008132, allocations: 33.7 kB / 252.7 MB, free: 5.727 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.008197, allocations: 168.6 kB / 252.8 MB, free: 5.559 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.008227, allocations: 55.56 kB / 252.9 MB, free: 5.504 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.008279, allocations: 49.88 kB / 252.9 MB, free: 5.449 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.008358, allocations: 346.7 kB / 253.3 MB, free: 5.102 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.947e-05/0.008398, allocations: 46.16 kB / 253.3 MB, free: 5.051 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.008498, allocations: 214 kB / 253.5 MB, free: 4.781 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.008616, allocations: 156.5 kB / 253.7 MB, free: 4.598 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.008618, allocations: 4 kB / 253.7 MB, free: 4.594 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002308/0.008849, allocations: 245.5 kB / 253.9 MB, free: 4.332 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.008883, allocations: 37.64 kB / 254 MB, free: 4.289 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.008887, allocations: 0 / 254 MB, free: 4.289 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/0.009122, allocations: 88.95 kB / 254 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.015e-05/0.009212, allocations: 43.91 kB / 254.1 MB, free: 4.156 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009637/0.01018, allocations: 1.515 MB / 255.6 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.01029, allocations: 43.81 kB / 255.6 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.01031, allocations: 11.94 kB / 255.7 MB, free: 2.5 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 8.006e-05/0.01039, allocations: 121.9 kB / 255.8 MB, free: 2.371 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.01041, allocations: 27.92 kB / 255.8 MB, free: 2.344 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.607e-05/0.01044, allocations: 26.11 kB / 255.8 MB, free: 2.32 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01044, allocations: 0 / 255.8 MB, free: 2.32 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.01044, allocations: 4 kB / 255.8 MB, free: 2.316 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01044, allocations: 3.984 kB / 255.8 MB, free: 2.312 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.01056, allocations: 137.7 kB / 256 MB, free: 2.16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01056, allocations: 0 / 256 MB, free: 2.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.975e-05/0.01061, allocations: 19.98 kB / 256 MB, free: 2.141 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.236e-05/0.01063, allocations: 23.84 kB / 256 MB, free: 2.117 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001816/0.01081, allocations: 72.8 kB / 256.1 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.01082, allocations: 3.984 kB / 256.1 MB, free: 2.039 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008883/0.01171, allocations: 1.51 MB / 257.6 MB, free: 448 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01171, allocations: 0 / 257.6 MB, free: 448 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.0119, allocations: 165.8 kB / 257.8 MB, free: 260 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.01192, allocations: 3.984 kB / 257.8 MB, free: 256 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.691e-05/0.012, allocations: 28.02 kB / 257.8 MB, free: 228 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.01206, allocations: 23.95 kB / 257.8 MB, free: 204 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.01206, allocations: 0 / 257.8 MB, free: 204 kB / 250.7 MB Notification: Performance of sorting global known variables: time 6.467e-05/0.01213, allocations: 90.7 kB / 257.9 MB, free: 112 kB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01213, allocations: 0 / 257.9 MB, free: 112 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.01236, allocations: 79.84 kB / 258 MB, free: 32 kB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001217/0.01248, allocations: 84.42 kB / 258.1 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003282/0.01281, allocations: 326.7 kB / 258.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.01282, allocations: 4 kB / 258.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.01295, allocations: 187.3 kB / 258.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.0131, allocations: 56.47 kB / 258.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.01478, allocations: 0.5095 MB / 259.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.922e-05/0.01483, allocations: 80.31 kB / 259.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.663e-05/0.0149, allocations: 22.3 kB / 259.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.01502, allocations: 103.3 kB / 259.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of SimCode: time 1.342e-06/0.01503, allocations: 4 kB / 259.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of Templates: time 0.005831/0.02086, allocations: 4.455 MB / 263.8 MB, free: 10.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.474388807080686]