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.0008946/0.0008947, allocations: 94.02 kB / 17.31 MB, free: 6.535 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.0009728/0.0009728, allocations: 175.7 kB / 18.21 MB, free: 5.684 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.28/1.28, allocations: 223.3 MB / 242.3 MB, free: 192 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002388/0.0002388, allocations: 19.92 kB / 302.1 MB, free: 6.102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07377/0.07402, allocations: 50.41 MB / 352.5 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.00256/0.0766, allocations: 2.44 MB / 354.9 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.07773, allocations: 0.6662 MB / 355.6 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.07787, allocations: 4 kB / 355.6 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.07799, allocations: 31.77 kB / 355.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.07819, allocations: 79.38 kB / 355.7 MB, free: 444 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.07844, allocations: 83.91 kB / 355.8 MB, free: 360 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003162/0.07876, allocations: 338.5 kB / 356.1 MB, free: 20 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.07895, allocations: 76.98 kB / 356.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.0791, allocations: 111.5 kB / 356.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.07927, allocations: 131.4 kB / 356.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.018e-05/0.07932, allocations: 16 kB / 356.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.973e-05/0.07937, allocations: 16 kB / 356.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.321e-05/0.07943, allocations: 51.7 kB / 356.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.07956, allocations: 153 kB / 356.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.07978, allocations: 247.5 kB / 356.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.07979, allocations: 0 / 356.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.0798, allocations: 0 / 356.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.07981, allocations: 0 / 356.9 MB, free: 15.22 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.001101/0.08091, allocations: 0.6108 MB / 357.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.08095, allocations: 12.03 kB / 357.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.721e-05/0.08103, allocations: 32.56 kB / 357.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.08132, allocations: 279.6 kB / 357.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.08135, allocations: 16.81 kB / 357.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.08139, allocations: 16.38 kB / 357.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006563/0.08205, allocations: 298 kB / 358.2 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.08207, allocations: 0 / 358.2 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.08211, allocations: 8 kB / 358.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.08212, allocations: 4 kB / 358.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007972/0.08292, allocations: 277.6 kB / 358.5 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.08446, allocations: 0.9637 MB / 359.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008703/0.08534, allocations: 278.5 kB / 359.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003516/0.08571, allocations: 116.8 kB / 359.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.08574, allocations: 4 kB / 359.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000483/0.08623, allocations: 197 kB / 360 MB, free: 11.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.08624, allocations: 0 / 360 MB, free: 11.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002465/0.08871, allocations: 0.7335 MB / 360.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.08878, allocations: 110.8 kB / 360.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.08905, allocations: 274.4 kB / 361.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.08908, allocations: 29.7 kB / 361.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.08919, allocations: 175.9 kB / 361.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.08923, allocations: 55.23 kB / 361.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.08928, allocations: 21.72 kB / 361.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.08938, allocations: 338.8 kB / 361.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.08977, allocations: 119.9 kB / 361.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.09019, allocations: 190.2 kB / 362 MB, free: 9.793 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007552/0.09095, allocations: 310.1 kB / 362.3 MB, free: 9.453 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.09097, allocations: 0 / 362.3 MB, free: 9.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001314/0.09229, allocations: 490.1 kB / 362.8 MB, free: 8.961 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.09233, allocations: 37.69 kB / 362.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.09234, allocations: 0 / 362.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003629/0.09271, allocations: 96.8 kB / 362.9 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.09293, allocations: 43.97 kB / 363 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002646/0.09559, allocations: 1.854 MB / 364.8 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/0.09595, allocations: 59.78 kB / 364.9 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.09598, allocations: 15.92 kB / 364.9 MB, free: 6.711 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.0001254/0.09611, allocations: 133.8 kB / 365 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.09616, allocations: 23.72 kB / 365.1 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.949e-05/0.09621, allocations: 25.83 kB / 365.1 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.09622, allocations: 4 kB / 365.1 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.09623, allocations: 7.938 kB / 365.1 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.09624, allocations: 0 / 365.1 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.09649, allocations: 289.4 kB / 365.4 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.0965, allocations: 0 / 365.4 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.09666, allocations: 32.03 kB / 365.4 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002852/0.09695, allocations: 84.8 kB / 365.5 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.09698, allocations: 4 kB / 365.5 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002196/0.09918, allocations: 1.772 MB / 367.3 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.0992, allocations: 4.031 kB / 367.3 MB, free: 4.148 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.1003, allocations: 393.5 kB / 367.7 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.637e-05/0.1004, allocations: 108.8 kB / 367.8 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.1005, allocations: 3.938 kB / 367.8 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.1008, allocations: 47.91 kB / 367.8 MB, free: 3.566 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.1008, allocations: 19.97 kB / 367.8 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.1008, allocations: 4 kB / 367.8 MB, free: 3.543 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001781/0.101, allocations: 198 kB / 368 MB, free: 3.352 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.101, allocations: 0 / 368 MB, free: 3.352 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003882/0.1014, allocations: 67.84 kB / 368.1 MB, free: 3.285 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.000107/0.1015, allocations: 111.2 kB / 368.2 MB, free: 3.164 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.1029, allocations: 0.5056 MB / 368.7 MB, free: 2.633 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1029, allocations: 4.375 kB / 368.7 MB, free: 2.629 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004994/0.1034, allocations: 246.5 kB / 369 MB, free: 2.375 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.1037, allocations: 48.16 kB / 369 MB, free: 2.332 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.1069, allocations: 1.092 MB / 370.1 MB, free: 1.207 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.1071, allocations: 0.7443 MB / 370.8 MB, free: 448 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.169e-05/0.1072, allocations: 19.44 kB / 370.9 MB, free: 428 kB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1072, allocations: 0 / 370.9 MB, free: 428 kB / 302.1 MB Notification: Performance of Templates: time 0.1377/0.2449, allocations: 4.155 MB / 375 MB, free: 24.37 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