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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00157/0.00157, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001946/0.001946, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 62.05 kB / 306.9 MB, free: 1.008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08833/0.08952, allocations: 50.52 MB / 357.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003895/0.09345, allocations: 2.824 MB / 360.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.09484, allocations: 0.7129 MB / 361 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.09509, allocations: 4 kB / 361 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.09527, allocations: 31.77 kB / 361 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.0955, allocations: 75.39 kB / 361.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.09579, allocations: 87.91 kB / 361.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003512/0.09615, allocations: 330.6 kB / 361.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.09634, allocations: 75.36 kB / 361.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.09653, allocations: 123.4 kB / 361.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.09672, allocations: 147.3 kB / 361.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.443e-05/0.09678, allocations: 20 kB / 361.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.934e-05/0.09683, allocations: 16 kB / 361.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.107e-05/0.0969, allocations: 55.77 kB / 361.9 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.09704, allocations: 139.2 kB / 362.1 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.09727, allocations: 231.7 kB / 362.3 MB, free: 9.605 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.09728, allocations: 3.984 kB / 362.3 MB, free: 9.602 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.09729, allocations: 0 / 362.3 MB, free: 9.602 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.0973, allocations: 0 / 362.3 MB, free: 9.602 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.00123/0.09853, allocations: 0.6457 MB / 362.9 MB, free: 8.895 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.09858, allocations: 8.031 kB / 362.9 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.078e-05/0.09866, allocations: 32.56 kB / 363 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.09898, allocations: 275.6 kB / 363.2 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.09901, allocations: 20.81 kB / 363.3 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/0.09906, allocations: 24.31 kB / 363.3 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000614/0.09968, allocations: 274.1 kB / 363.6 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.0997, allocations: 8 kB / 363.6 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.09973, allocations: 8 kB / 363.6 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.09975, allocations: 4 kB / 363.6 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007157/0.1005, allocations: 249.5 kB / 363.8 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.102, allocations: 0.9403 MB / 364.8 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000783/0.1028, allocations: 246.5 kB / 365 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.1031, allocations: 100.8 kB / 365.1 MB, free: 6.594 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.1032, allocations: 4 kB / 365.1 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004848/0.1036, allocations: 177.8 kB / 365.3 MB, free: 6.395 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 3.817e-06/0.1037, allocations: 3.984 kB / 365.3 MB, free: 6.391 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002106/0.1058, allocations: 0.6512 MB / 365.9 MB, free: 5.711 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.1059, allocations: 110.8 kB / 366 MB, free: 5.578 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.1061, allocations: 274.5 kB / 366.3 MB, free: 5.305 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1062, allocations: 29.7 kB / 366.3 MB, free: 5.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.1063, allocations: 179.8 kB / 366.5 MB, free: 5.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.1063, allocations: 47.39 kB / 366.6 MB, free: 5.043 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.126e-05/0.1064, allocations: 45.61 kB / 366.6 MB, free: 4.992 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1065, allocations: 342.8 kB / 366.9 MB, free: 4.648 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003302/0.1069, allocations: 91.92 kB / 367 MB, free: 4.559 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003726/0.1073, allocations: 183.3 kB / 367.2 MB, free: 4.344 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006537/0.1079, allocations: 286.1 kB / 367.5 MB, free: 4.027 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1079, allocations: 0 / 367.5 MB, free: 4.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001152/0.1091, allocations: 446.4 kB / 367.9 MB, free: 3.578 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.1091, allocations: 29.7 kB / 368 MB, free: 3.543 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.1092, allocations: 4 kB / 368 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003611/0.1095, allocations: 80.86 kB / 368 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.1097, allocations: 43.91 kB / 368.1 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/0.1123, allocations: 1.818 MB / 369.9 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.1126, allocations: 51.8 kB / 369.9 MB, free: 1.398 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.1127, allocations: 16.06 kB / 370 MB, free: 1.383 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.0001354/0.1128, allocations: 138.6 kB / 370.1 MB, free: 1.238 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.1129, allocations: 27.7 kB / 370.1 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.468e-05/0.1129, allocations: 25.78 kB / 370.1 MB, free: 1.191 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1129, allocations: 4 kB / 370.2 MB, free: 1.188 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1129, allocations: 3.938 kB / 370.2 MB, free: 1.184 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1129, allocations: 3.984 kB / 370.2 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.1132, allocations: 293.3 kB / 370.4 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1132, allocations: 4 kB / 370.5 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.1134, allocations: 23.97 kB / 370.5 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002618/0.1136, allocations: 76.73 kB / 370.5 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.1137, allocations: 7.938 kB / 370.6 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1604/0.2741, allocations: 1.721 MB / 372.3 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2741, allocations: 0 / 372.3 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.2752, allocations: 367.2 kB / 372.6 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.592e-05/0.2753, allocations: 99.17 kB / 372.7 MB, free: 19.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.2754, allocations: 6.906 kB / 372.7 MB, free: 19.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.2757, allocations: 36.36 kB / 372.8 MB, free: 19.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.816e-05/0.2757, allocations: 22.94 kB / 372.8 MB, free: 19.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.2758, allocations: 3.484 kB / 372.8 MB, free: 19.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001873/0.276, allocations: 196.6 kB / 373 MB, free: 19.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.276, allocations: 0 / 373 MB, free: 19.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004335/0.2764, allocations: 69.45 kB / 373.1 MB, free: 19.09 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.0001312/0.2765, allocations: 102.5 kB / 373.2 MB, free: 19 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.2778, allocations: 483.5 kB / 373.6 MB, free: 18.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2778, allocations: 0.6875 kB / 373.6 MB, free: 18.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004529/0.2783, allocations: 229.3 kB / 373.9 MB, free: 18.72 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.2786, allocations: 47.39 kB / 373.9 MB, free: 18.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.2817, allocations: 1.016 MB / 374.9 MB, free: 18.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.2819, allocations: 0.7483 MB / 375.7 MB, free: 17.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.983e-05/0.2819, allocations: 21.67 kB / 375.7 MB, free: 17.7 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2819, allocations: 1.344 kB / 375.7 MB, free: 17.7 MB / 302.1 MB Notification: Performance of Templates: time 0.006756/0.2887, allocations: 4.171 MB / 379.9 MB, free: 17.44 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches