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) 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.SchmittTrigger,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.SchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,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.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007215/0.0007216, allocations: 94.19 kB / 17.31 MB, free: 6.539 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.0007864/0.0007864, allocations: 176.3 kB / 18.21 MB, free: 5.68 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.273/1.273, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002282/0.0002283, allocations: 13.19 kB / 302.1 MB, free: 6.109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0734/0.07365, allocations: 50.42 MB / 352.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.002532/0.0762, allocations: 2.436 MB / 354.9 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.07729, allocations: 0.6662 MB / 355.6 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.07743, allocations: 11.94 kB / 355.6 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.07755, allocations: 27.77 kB / 355.6 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.07774, allocations: 79.38 kB / 355.7 MB, free: 456 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.07799, allocations: 83.91 kB / 355.8 MB, free: 372 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003257/0.07832, allocations: 338.5 kB / 356.1 MB, free: 32 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.0785, allocations: 80.98 kB / 356.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.07865, allocations: 111.5 kB / 356.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.07882, allocations: 131.4 kB / 356.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.07887, allocations: 16 kB / 356.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.103e-05/0.07891, allocations: 19.94 kB / 356.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.07897, allocations: 47.75 kB / 356.5 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.0791, allocations: 153 kB / 356.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.07932, allocations: 235.6 kB / 356.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.07933, allocations: 0 / 356.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.07934, allocations: 3.938 kB / 356.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.07935, allocations: 3.938 kB / 356.9 MB, free: 15.23 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.001102/0.08046, allocations: 0.6108 MB / 357.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.0805, allocations: 8.031 kB / 357.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.183e-05/0.08058, allocations: 32.56 kB / 357.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.08086, allocations: 275.6 kB / 357.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.08089, allocations: 16.81 kB / 357.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.08093, allocations: 20.38 kB / 357.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006476/0.08159, allocations: 294.1 kB / 358.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.08161, allocations: 7.938 kB / 358.2 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.08164, allocations: 8 kB / 358.2 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.08166, allocations: 4 kB / 358.2 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008077/0.08247, allocations: 269.6 kB / 358.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.084, allocations: 0.9754 MB / 359.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008805/0.0849, allocations: 270.5 kB / 359.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/0.08527, allocations: 120.8 kB / 359.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.0853, allocations: 0 / 359.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004952/0.0858, allocations: 197.8 kB / 360 MB, free: 11.94 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.08581, allocations: 224 / 360 MB, free: 11.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002478/0.0883, allocations: 0.7348 MB / 360.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.08836, allocations: 114.7 kB / 360.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.08862, allocations: 266.5 kB / 361.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.08866, allocations: 33.7 kB / 361.1 MB, free: 10.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.91e-05/0.08876, allocations: 167.9 kB / 361.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.08881, allocations: 51.38 kB / 361.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.08885, allocations: 25.7 kB / 361.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.589e-05/0.08895, allocations: 334.8 kB / 361.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.08934, allocations: 111.9 kB / 361.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004094/0.08976, allocations: 192.3 kB / 362 MB, free: 9.828 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007274/0.09049, allocations: 295 kB / 362.3 MB, free: 9.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.09051, allocations: 0 / 362.3 MB, free: 9.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001275/0.09179, allocations: 471.6 kB / 362.7 MB, free: 9.035 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.09183, allocations: 33.7 kB / 362.8 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.09184, allocations: 4 kB / 362.8 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003519/0.0922, allocations: 84.86 kB / 362.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.09242, allocations: 43.91 kB / 362.9 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/0.09486, allocations: 1.803 MB / 364.7 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/0.0952, allocations: 55.8 kB / 364.8 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.09524, allocations: 8 kB / 364.8 MB, free: 6.859 MB / 302.1 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.0001249/0.09537, allocations: 141.8 kB / 364.9 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.09541, allocations: 23.72 kB / 364.9 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.545e-05/0.09546, allocations: 21.83 kB / 365 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.09547, allocations: 4 kB / 365 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.09548, allocations: 3.984 kB / 365 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.09549, allocations: 3.984 kB / 365 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.09575, allocations: 305.5 kB / 365.3 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.09576, allocations: 0 / 365.3 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.09591, allocations: 27.98 kB / 365.3 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002751/0.0962, allocations: 76.8 kB / 365.4 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.09622, allocations: 4 kB / 365.4 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/0.0983, allocations: 1.668 MB / 367 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.09831, allocations: 0 / 367 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.09945, allocations: 401.4 kB / 367.4 MB, free: 3.984 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.09952, allocations: 100.8 kB / 367.5 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.09957, allocations: 7.984 kB / 367.5 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.09986, allocations: 44.16 kB / 367.6 MB, free: 3.816 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.888e-05/0.09994, allocations: 27.91 kB / 367.6 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.09995, allocations: 3.938 kB / 367.6 MB, free: 3.785 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.1001, allocations: 194 kB / 367.8 MB, free: 3.598 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1001, allocations: 0 / 367.8 MB, free: 3.598 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003485/0.1005, allocations: 75.84 kB / 367.9 MB, free: 3.523 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.0001027/0.1006, allocations: 103.2 kB / 368 MB, free: 3.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009806/0.1016, allocations: 437.4 kB / 368.4 MB, free: 2.961 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1016, allocations: 0 / 368.4 MB, free: 2.961 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000489/0.1021, allocations: 246.8 kB / 368.6 MB, free: 2.707 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.1024, allocations: 48.41 kB / 368.7 MB, free: 2.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009166/0.1034, allocations: 0.5776 MB / 369.3 MB, free: 2.047 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.1036, allocations: 0.7404 MB / 370 MB, free: 1.281 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.764e-05/0.1037, allocations: 19.44 kB / 370 MB, free: 1.262 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1037, allocations: 4 kB / 370 MB, free: 1.258 MB / 302.1 MB Notification: Performance of Templates: time 0.1368/0.2405, allocations: 4.109 MB / 374.1 MB, free: 24.5 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches