Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 99.45 kB / 17.59 MB, free: 5.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 191.3 kB / 18.52 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008978/0.0008978, allocations: 43.88 kB / 301.3 MB, free: 5.855 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09061/0.09152, allocations: 49.45 MB / 350.7 MB, free: 4.402 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004369/0.09592, allocations: 2.753 MB / 353.5 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.09734, allocations: 0.6856 MB / 354.2 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002637/0.09763, allocations: 7.938 kB / 354.2 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.09781, allocations: 39.58 kB / 354.2 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.09816, allocations: 87.25 kB / 354.3 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.09849, allocations: 99.81 kB / 354.4 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004677/0.09897, allocations: 354.6 kB / 354.8 MB, free: 368 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.09918, allocations: 88.55 kB / 354.8 MB, free: 276 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.09939, allocations: 131.5 kB / 355 MB, free: 144 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.09962, allocations: 151.3 kB / 355.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.792e-05/0.09969, allocations: 28 kB / 355.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.393e-05/0.09976, allocations: 36 kB / 355.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.449e-05/0.09984, allocations: 63.75 kB / 355.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.1, allocations: 151.2 kB / 355.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.1004, allocations: 311.2 kB / 355.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1004, allocations: 0 / 355.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1004, allocations: 0 / 355.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.1004, allocations: 0 / 355.7 MB, free: 15.41 MB / 302.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.001265/0.1017, allocations: 0.6457 MB / 356.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1017, allocations: 15.89 kB / 356.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.026e-05/0.1018, allocations: 32.56 kB / 356.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.1022, allocations: 275.6 kB / 356.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.1022, allocations: 16.81 kB / 356.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.1023, allocations: 20.38 kB / 356.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007121/0.103, allocations: 282 kB / 357 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.103, allocations: 0 / 357 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.149e-05/0.103, allocations: 12 kB / 357 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.1031, allocations: 4 kB / 357 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008353/0.1039, allocations: 245.6 kB / 357.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.1057, allocations: 0.9364 MB / 358.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008332/0.1066, allocations: 250.5 kB / 358.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.1069, allocations: 100.8 kB / 358.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.107, allocations: 0 / 358.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005508/0.1075, allocations: 186.2 kB / 358.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.1075, allocations: 0 / 358.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002352/0.1099, allocations: 0.6586 MB / 359.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.11, allocations: 106.8 kB / 359.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.1103, allocations: 274.5 kB / 359.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.1103, allocations: 33.92 kB / 359.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.1104, allocations: 171.9 kB / 359.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.1105, allocations: 51.33 kB / 360 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.85e-05/0.1106, allocations: 53.55 kB / 360 MB, free: 10.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1107, allocations: 334.8 kB / 360.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.1111, allocations: 99.91 kB / 360.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/0.1115, allocations: 178.2 kB / 360.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007096/0.1122, allocations: 286 kB / 360.9 MB, free: 9.844 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1122, allocations: 0 / 360.9 MB, free: 9.844 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001257/0.1134, allocations: 447.6 kB / 361.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/0.1135, allocations: 37.69 kB / 361.4 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.1135, allocations: 4 kB / 361.4 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003638/0.1139, allocations: 80.86 kB / 361.5 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.1141, allocations: 39.97 kB / 361.5 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002804/0.1169, allocations: 2.001 MB / 363.5 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.1173, allocations: 51.86 kB / 363.5 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.1173, allocations: 8 kB / 363.5 MB, free: 7.02 MB / 302.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.0001347/0.1174, allocations: 141.8 kB / 363.7 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.1175, allocations: 19.72 kB / 363.7 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.451e-05/0.1176, allocations: 33.77 kB / 363.7 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1176, allocations: 4 kB / 363.7 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1176, allocations: 4.172 kB / 363.7 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.1176, allocations: 11.97 kB / 363.8 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.1178, allocations: 289.3 kB / 364 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1179, allocations: 0 / 364 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.118, allocations: 23.97 kB / 364.1 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002894/0.1183, allocations: 76.8 kB / 364.1 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.1183, allocations: 7.938 kB / 364.1 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/0.1207, allocations: 1.908 MB / 366.1 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1207, allocations: 12 kB / 366.1 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.1218, allocations: 353.3 kB / 366.4 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.223e-05/0.1219, allocations: 108.8 kB / 366.5 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.122, allocations: 0 / 366.5 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/0.1222, allocations: 40.09 kB / 366.6 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.391e-05/0.1223, allocations: 19.97 kB / 366.6 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.1223, allocations: 7.938 kB / 366.6 MB, free: 3.742 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001843/0.1225, allocations: 198 kB / 366.8 MB, free: 3.551 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1225, allocations: 0 / 366.8 MB, free: 3.551 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004063/0.123, allocations: 63.94 kB / 366.8 MB, free: 3.488 MB / 302.1 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 0.0001374/0.1231, allocations: 115.1 kB / 367 MB, free: 3.363 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.1244, allocations: 482.1 kB / 367.4 MB, free: 2.867 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.1244, allocations: 4.062 kB / 367.4 MB, free: 2.863 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000484/0.1249, allocations: 234.5 kB / 367.7 MB, free: 2.621 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.1253, allocations: 54.5 kB / 367.7 MB, free: 2.574 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/0.1285, allocations: 0.9154 MB / 368.6 MB, free: 1.621 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.1288, allocations: 0.7555 MB / 369.4 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.741e-05/0.1289, allocations: 27.42 kB / 369.4 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1289, allocations: 0 / 369.4 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of Templates: time 0.1915/0.3204, allocations: 4.173 MB / 373.6 MB, free: 25.05 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches