Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 80.62 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002255/0.002255, allocations: 155.1 kB / 25.6 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9204/0.9204, allocations: 173.4 MB / 202.2 MB, free: 8.32 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 269.2 MB, free: 9.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.277e-05, allocations: 5.266 kB / 269.2 MB, free: 9.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.009585/0.009608, allocations: 2.736 MB / 272 MB, free: 7.004 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.01078, allocations: 0.6643 MB / 272.6 MB, free: 6.34 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.01092, allocations: 7.938 kB / 272.6 MB, free: 6.332 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.01105, allocations: 47.5 kB / 272.7 MB, free: 6.285 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.01122, allocations: 95.19 kB / 272.8 MB, free: 6.191 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.01146, allocations: 92.84 kB / 272.9 MB, free: 6.102 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.01178, allocations: 370.3 kB / 273.2 MB, free: 5.738 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.01191, allocations: 64.88 kB / 273.3 MB, free: 5.672 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.01211, allocations: 191.6 kB / 273.5 MB, free: 5.484 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003223/0.01534, allocations: 119.6 kB / 273.6 MB, free: 5.367 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.932e-05/0.0154, allocations: 28 kB / 273.6 MB, free: 5.34 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.65e-05/0.01544, allocations: 28 kB / 273.7 MB, free: 5.312 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.38e-05/0.01551, allocations: 63.75 kB / 273.7 MB, free: 5.25 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.01563, allocations: 107.7 kB / 273.8 MB, free: 5.145 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.01592, allocations: 215.2 kB / 274 MB, free: 4.934 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.01592, allocations: 0 / 274 MB, free: 4.934 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01592, allocations: 0 / 274 MB, free: 4.934 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.01593, allocations: 0 / 274 MB, free: 4.934 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008151/0.01674, allocations: 0.6545 MB / 274.7 MB, free: 4.238 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.01677, allocations: 8.031 kB / 274.7 MB, free: 4.23 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.853e-05/0.01685, allocations: 44.75 kB / 274.7 MB, free: 4.188 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.0171, allocations: 224 kB / 275 MB, free: 3.941 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.01712, allocations: 16.88 kB / 275 MB, free: 3.922 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.01715, allocations: 24.36 kB / 275 MB, free: 3.898 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.01748, allocations: 261 kB / 275.3 MB, free: 3.617 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.01749, allocations: 192 / 275.3 MB, free: 3.617 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.01751, allocations: 12.38 kB / 275.3 MB, free: 3.605 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.01752, allocations: 11.88 kB / 275.3 MB, free: 3.594 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.01764, allocations: 67.44 kB / 275.3 MB, free: 3.531 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004137/0.02177, allocations: 0.8356 MB / 276.2 MB, free: 2.645 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.02204, allocations: 119.1 kB / 276.3 MB, free: 2.516 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.365e-05/0.0221, allocations: 27.67 kB / 276.3 MB, free: 2.484 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.02211, allocations: 4 kB / 276.3 MB, free: 2.48 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.02228, allocations: 179.4 kB / 276.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.02228, allocations: 0 / 276.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007416/0.02302, allocations: 300.5 kB / 276.8 MB, free: 1.965 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.02307, allocations: 114.7 kB / 276.9 MB, free: 1.828 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.02326, allocations: 288.2 kB / 277.2 MB, free: 1.527 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.02328, allocations: 29.7 kB / 277.2 MB, free: 1.492 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.02338, allocations: 230.9 kB / 277.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.02341, allocations: 47.58 kB / 277.5 MB, free: 1.215 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.827e-05/0.02348, allocations: 47.34 kB / 277.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.02361, allocations: 0.504 MB / 278 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.794e-05/0.02367, allocations: 49.69 kB / 278.1 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.02379, allocations: 201.9 kB / 278.3 MB, free: 340 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.02393, allocations: 161.1 kB / 278.4 MB, free: 140 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.02393, allocations: 4 kB / 278.4 MB, free: 136 kB / 250.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004083/0.02434, allocations: 272.5 kB / 278.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.02437, allocations: 37.7 kB / 278.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.02437, allocations: 4 kB / 278.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002778/0.02465, allocations: 79.78 kB / 278.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.02478, allocations: 31.98 kB / 278.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.02634, allocations: 2.118 MB / 281 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.02654, allocations: 39.83 kB / 281 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.02656, allocations: 4 kB / 281 MB, free: 13.4 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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.0001202/0.02668, allocations: 176.6 kB / 281.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.02672, allocations: 27.86 kB / 281.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.02676, allocations: 21.77 kB / 281.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.02676, allocations: 4 kB / 281.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.02676, allocations: 224 / 281.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.02677, allocations: 0 / 281.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.02695, allocations: 177 kB / 281.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.02695, allocations: 0 / 281.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.663e-05/0.02704, allocations: 19.92 kB / 281.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002486/0.02729, allocations: 67.62 kB / 281.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.0273, allocations: 8.062 kB / 281.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.02864, allocations: 1.843 MB / 283.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.02864, allocations: 0 / 283.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.02902, allocations: 207.8 kB / 283.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.02906, allocations: 23.83 kB / 283.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.02909, allocations: 4 kB / 283.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.02924, allocations: 19.98 kB / 283.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.0293, allocations: 19.97 kB / 283.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.02932, allocations: 3.984 kB / 283.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.02945, allocations: 197.1 kB / 283.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02945, allocations: 0 / 283.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003418/0.02979, allocations: 75.84 kB / 283.9 MB, free: 10.35 MB / 266.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: 3 ($whenCondition1,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 (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 9.877e-05/0.02989, allocations: 103.2 kB / 284 MB, free: 10.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003198/0.03021, allocations: 366.3 kB / 284.4 MB, free: 9.836 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.03021, allocations: 0 / 284.4 MB, free: 9.836 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.03034, allocations: 233.8 kB / 284.6 MB, free: 9.586 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.03054, allocations: 50.98 kB / 284.6 MB, free: 9.539 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006196/0.03116, allocations: 406.5 kB / 285 MB, free: 9.113 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.954e-05/0.0312, allocations: 84.31 kB / 285.1 MB, free: 9.012 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.815e-05/0.03126, allocations: 17.95 kB / 285.1 MB, free: 8.996 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.03138, allocations: 118.2 kB / 285.2 MB, free: 8.879 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.03138, allocations: 0 / 285.2 MB, free: 8.879 MB / 266.7 MB Notification: Performance of Templates: time 0.005822/0.0372, allocations: 4.211 MB / 289.5 MB, free: 4.734 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.780405757948756]