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.0008594/0.0008594, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004874/0.004874, allocations: 159 kB / 24.7 MB, free: 9.441 MB / 18.57 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.8991/0.8991, allocations: 177 MB / 204.9 MB, free: 5.738 MB / 186.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.924e-06/1.924e-06, allocations: 0 / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.309e-05/3.502e-05, allocations: 11.42 kB / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.002787/0.002822, allocations: 2.623 MB / 328.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.004272, allocations: 0.6738 MB / 329.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.004419, allocations: 4 kB / 329.1 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.004541, allocations: 39.58 kB / 329.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.004707, allocations: 103.1 kB / 329.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.004972, allocations: 91.75 kB / 329.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00034/0.005312, allocations: 374.1 kB / 329.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.005473, allocations: 52.89 kB / 329.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.00568, allocations: 195.5 kB / 330 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.005807, allocations: 115.7 kB / 330.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.99e-05/0.005846, allocations: 28 kB / 330.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.226e-05/0.005879, allocations: 32 kB / 330.1 MB, free: 11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.005932, allocations: 63.69 kB / 330.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.194e-05/0.006024, allocations: 111.7 kB / 330.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.006348, allocations: 346.8 kB / 330.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.006352, allocations: 0 / 330.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.006353, allocations: 0 / 330.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.00636, allocations: 0 / 330.6 MB, free: 10.49 MB / 298.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.0009243/0.007284, allocations: 0.5585 MB / 331.2 MB, free: 9.895 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.007326, allocations: 11.98 kB / 331.2 MB, free: 9.883 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.528e-05/0.007391, allocations: 36.75 kB / 331.3 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.007718, allocations: 225.2 kB / 331.5 MB, free: 9.602 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.007736, allocations: 16.88 kB / 331.5 MB, free: 9.586 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.00776, allocations: 16.38 kB / 331.5 MB, free: 9.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.008142, allocations: 317.7 kB / 331.8 MB, free: 9.238 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.008152, allocations: 4.188 kB / 331.8 MB, free: 9.234 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.008172, allocations: 12.31 kB / 331.8 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.008181, allocations: 7.938 kB / 331.8 MB, free: 9.215 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.008502, allocations: 221.8 kB / 332.1 MB, free: 9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009567/0.009458, allocations: 0.7621 MB / 332.8 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/0.009831, allocations: 206.5 kB / 333 MB, free: 7.969 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.00997, allocations: 85.08 kB / 333.1 MB, free: 7.883 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.009993, allocations: 3.938 kB / 333.1 MB, free: 7.879 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002768/0.01027, allocations: 254.8 kB / 333.4 MB, free: 7.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.01027, allocations: 0 / 333.4 MB, free: 7.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008863/0.01116, allocations: 429.9 kB / 333.8 MB, free: 7.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.01122, allocations: 136.5 kB / 333.9 MB, free: 6.996 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.01141, allocations: 257.9 kB / 334.2 MB, free: 6.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.01143, allocations: 37.64 kB / 334.2 MB, free: 6.684 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.937e-05/0.01152, allocations: 184.1 kB / 334.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.01155, allocations: 55.56 kB / 334.4 MB, free: 6.445 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-05/0.01162, allocations: 57.88 kB / 334.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.682e-05/0.0117, allocations: 330.8 kB / 334.8 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.01186, allocations: 118.1 kB / 334.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.01207, allocations: 278 kB / 335.2 MB, free: 5.598 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.01237, allocations: 256.3 kB / 335.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01237, allocations: 0 / 335.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007054/0.01308, allocations: 413.6 kB / 335.9 MB, free: 4.891 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/0.01311, allocations: 41.64 kB / 335.9 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.01312, allocations: 0 / 335.9 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000231/0.01335, allocations: 76.78 kB / 336 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.01345, allocations: 43.94 kB / 336 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.01489, allocations: 1.776 MB / 337.8 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.01506, allocations: 51.8 kB / 337.8 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.01508, allocations: 8 kB / 337.8 MB, free: 2.777 MB / 298.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 0.0001248/0.0152, allocations: 149.8 kB / 338 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.01523, allocations: 23.86 kB / 338 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.01525, allocations: 26.11 kB / 338 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01526, allocations: 0 / 338 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.01526, allocations: 7.938 kB / 338.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01526, allocations: 0 / 338.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.01542, allocations: 201.2 kB / 338.2 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01543, allocations: 0 / 338.2 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.297e-05/0.01549, allocations: 23.97 kB / 338.3 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001702/0.01566, allocations: 80.72 kB / 338.3 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.01567, allocations: 4 kB / 338.4 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.01691, allocations: 1.772 MB / 340.1 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.01691, allocations: 3.984 kB / 340.1 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.01731, allocations: 308.4 kB / 340.4 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.01734, allocations: 23.86 kB / 340.5 MB, free: 4 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.01737, allocations: 8.078 kB / 340.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.01747, allocations: 39.89 kB / 340.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.01754, allocations: 19.97 kB / 340.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.01755, allocations: 11.98 kB / 340.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001171/0.01767, allocations: 185.2 kB / 340.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01767, allocations: 3.938 kB / 340.7 MB, free: 15.74 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002858/0.01796, allocations: 75.89 kB / 340.8 MB, free: 15.67 MB / 314.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.0001159/0.01807, allocations: 99.25 kB / 340.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005477/0.01862, allocations: 430.9 kB / 341.3 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.01862, allocations: 0 / 341.3 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.01886, allocations: 222.6 kB / 341.5 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.0191, allocations: 40.92 kB / 341.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.02013, allocations: 0.5787 MB / 342.1 MB, free: 14.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.761e-05/0.02021, allocations: 146.2 kB / 342.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/0.02027, allocations: 20.5 kB / 342.3 MB, free: 14.04 MB / 314.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02027, allocations: 0 / 342.3 MB, free: 14.04 MB / 314.7 MB Notification: Performance of Templates: time 0.005057/0.02533, allocations: 4.409 MB / 346.7 MB, free: 9.637 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.527074919082224]