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.00157/0.00157, allocations: 98.48 kB / 17.06 MB, free: 6.121 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.001877/0.001877, allocations: 194.9 kB / 17.99 MB, free: 5.199 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.619/1.619, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 39.94 kB / 351.3 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4696/0.471, allocations: 49.43 MB / 400.8 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.005723/0.4769, allocations: 2.77 MB / 403.5 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.4787, allocations: 0.6661 MB / 404.2 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.479, allocations: 4 kB / 404.2 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.4792, allocations: 39.58 kB / 404.2 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.4795, allocations: 99.19 kB / 404.3 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004257/0.48, allocations: 91.81 kB / 404.4 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000531/0.4805, allocations: 370.5 kB / 404.8 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000303/0.4808, allocations: 76.72 kB / 404.9 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.4811, allocations: 135.5 kB / 405 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.4813, allocations: 147.4 kB / 405.1 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.899e-05/0.4814, allocations: 31.94 kB / 405.2 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.401e-05/0.4815, allocations: 28 kB / 405.2 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.987e-05/0.4816, allocations: 63.77 kB / 405.3 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.4818, allocations: 139.3 kB / 405.4 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004856/0.4822, allocations: 331.9 kB / 405.7 MB, free: 3.855 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.4823, allocations: 0 / 405.7 MB, free: 3.855 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.4823, allocations: 0 / 405.7 MB, free: 3.855 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.4823, allocations: 0 / 405.7 MB, free: 3.855 MB / 318.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.001508/0.4838, allocations: 0.6418 MB / 406.4 MB, free: 3.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.4839, allocations: 8.031 kB / 406.4 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.402e-05/0.484, allocations: 32.66 kB / 406.4 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005658/0.4845, allocations: 279.7 kB / 406.7 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.4846, allocations: 12.81 kB / 406.7 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.4846, allocations: 20.38 kB / 406.7 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000815/0.4855, allocations: 286 kB / 407 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.4855, allocations: 0 / 407 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.4855, allocations: 4 kB / 407 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.4855, allocations: 8 kB / 407 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008462/0.4864, allocations: 245.6 kB / 407.2 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.4883, allocations: 0.9519 MB / 408.2 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000898/0.4892, allocations: 242.5 kB / 408.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.4896, allocations: 96.78 kB / 408.5 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-05/0.4896, allocations: 7.938 kB / 408.5 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004808/0.4901, allocations: 187.6 kB / 408.7 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.903e-06/0.4901, allocations: 0 / 408.7 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.002404/0.4925, allocations: 0.6473 MB / 409.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.4926, allocations: 106.8 kB / 409.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000349/0.493, allocations: 262.6 kB / 409.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.493, allocations: 33.7 kB / 409.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.4932, allocations: 179.8 kB / 409.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.4933, allocations: 35.45 kB / 410 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.64e-05/0.4934, allocations: 45.92 kB / 410 MB, free: 15.28 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.4936, allocations: 334.8 kB / 410.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.4939, allocations: 99.86 kB / 410.4 MB, free: 14.85 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003825/0.4943, allocations: 164.5 kB / 410.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007176/0.495, allocations: 274.6 kB / 410.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.4951, allocations: 0 / 410.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00128/0.4963, allocations: 435.6 kB / 411.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.741e-05/0.4964, allocations: 33.7 kB / 411.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.4965, allocations: 0 / 411.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005142/0.497, allocations: 84.8 kB / 411.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.4972, allocations: 35.97 kB / 411.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003636/0.5009, allocations: 1.962 MB / 413.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.5013, allocations: 55.69 kB / 413.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.5013, allocations: 4 kB / 413.5 MB, free: 11.59 MB / 334.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.0003166/0.5016, allocations: 145.8 kB / 413.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.502e-05/0.5017, allocations: 19.72 kB / 413.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.107e-05/0.5018, allocations: 29.84 kB / 413.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.5018, allocations: 0 / 413.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.5018, allocations: 3.984 kB / 413.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5019, allocations: 0 / 413.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005107/0.5024, allocations: 289.5 kB / 413.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.5024, allocations: 0 / 413.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.5025, allocations: 23.97 kB / 414 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003308/0.5029, allocations: 80.73 kB / 414 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.5029, allocations: 7.938 kB / 414 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00266/0.5056, allocations: 1.758 MB / 415.8 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.5056, allocations: 7.922 kB / 415.8 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.5066, allocations: 363.6 kB / 416.2 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.441e-05/0.5067, allocations: 96.83 kB / 416.3 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.5068, allocations: 3.938 kB / 416.3 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.507, allocations: 39.95 kB / 416.3 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.5072, allocations: 19.97 kB / 416.3 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.5072, allocations: 11.94 kB / 416.3 MB, free: 8.473 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002185/0.5074, allocations: 186 kB / 416.5 MB, free: 8.289 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5074, allocations: 0 / 416.5 MB, free: 8.289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004512/0.5079, allocations: 71.84 kB / 416.6 MB, free: 8.219 MB / 334.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.0002241/0.5081, allocations: 112 kB / 416.7 MB, free: 8.098 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001335/0.5094, allocations: 410.1 kB / 417.1 MB, free: 7.672 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5095, allocations: 4.062 kB / 417.1 MB, free: 7.668 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005519/0.51, allocations: 234.5 kB / 417.3 MB, free: 7.426 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.5105, allocations: 49.91 kB / 417.4 MB, free: 7.379 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.5119, allocations: 435.4 kB / 417.8 MB, free: 6.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.5123, allocations: 0.7518 MB / 418.5 MB, free: 6.148 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.5125, allocations: 26.28 kB / 418.6 MB, free: 6.125 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.501e-05/0.5125, allocations: 19.44 kB / 418.6 MB, free: 6.105 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5125, allocations: 0 / 418.6 MB, free: 6.105 MB / 334.1 MB Notification: Performance of Templates: time 0.009678/0.5222, allocations: 3.877 MB / 422.5 MB, free: 2.27 MB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins/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