Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.511/1.511, allocations: 227.7 MB / 247.7 MB, free: 10.41 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 69.72 kB / 307.9 MB, free: 0.5195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1093, allocations: 50.53 MB / 358.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004646/0.114, allocations: 2.779 MB / 361.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1155, allocations: 0.705 MB / 361.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.1157, allocations: 4 kB / 361.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.1159, allocations: 39.58 kB / 362 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.1161, allocations: 91.25 kB / 362.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.1164, allocations: 91.81 kB / 362.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004156/0.1168, allocations: 358.6 kB / 362.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.117, allocations: 90.31 kB / 362.6 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.1172, allocations: 131.4 kB / 362.7 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.1174, allocations: 155.3 kB / 362.9 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.923e-05/0.1175, allocations: 32 kB / 362.9 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.324e-05/0.1176, allocations: 28 kB / 362.9 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.016e-05/0.1176, allocations: 59.77 kB / 363 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.1178, allocations: 147.2 kB / 363.1 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.1182, allocations: 323.1 kB / 363.4 MB, free: 8.941 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1182, allocations: 0 / 363.4 MB, free: 8.941 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1182, allocations: 0 / 363.4 MB, free: 8.941 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1182, allocations: 4 kB / 363.4 MB, free: 8.938 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.001296/0.1195, allocations: 0.6379 MB / 364.1 MB, free: 8.242 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.1196, allocations: 11.97 kB / 364.1 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.869e-05/0.1197, allocations: 32.56 kB / 364.1 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.12, allocations: 275.6 kB / 364.4 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.12, allocations: 16.81 kB / 364.4 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.1201, allocations: 16.38 kB / 364.4 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000671/0.1208, allocations: 282.1 kB / 364.7 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1208, allocations: 0 / 364.7 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.1208, allocations: 12 kB / 364.7 MB, free: 7.555 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.1208, allocations: 4 kB / 364.7 MB, free: 7.551 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007742/0.1216, allocations: 249.5 kB / 365 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.1233, allocations: 0.9403 MB / 365.9 MB, free: 6.297 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008496/0.1241, allocations: 246.5 kB / 366.1 MB, free: 6.047 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003494/0.1245, allocations: 104.8 kB / 366.2 MB, free: 5.941 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.1245, allocations: 224 / 366.2 MB, free: 5.941 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005731/0.1251, allocations: 193 kB / 366.4 MB, free: 5.734 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.1251, allocations: 0 / 366.4 MB, free: 5.734 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002445/0.1276, allocations: 0.6473 MB / 367.1 MB, free: 5.059 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.233e-05/0.1277, allocations: 106.8 kB / 367.2 MB, free: 4.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.128, allocations: 266.5 kB / 367.4 MB, free: 4.664 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.128, allocations: 33.7 kB / 367.5 MB, free: 4.625 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.1282, allocations: 175.9 kB / 367.6 MB, free: 4.449 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.601e-05/0.1282, allocations: 47.3 kB / 367.7 MB, free: 4.402 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.7e-05/0.1283, allocations: 41.7 kB / 367.7 MB, free: 4.355 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1285, allocations: 342.8 kB / 368.1 MB, free: 4.012 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.1289, allocations: 99.78 kB / 368.2 MB, free: 3.914 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004204/0.1293, allocations: 167.8 kB / 368.3 MB, free: 3.723 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007276/0.13, allocations: 270.9 kB / 368.6 MB, free: 3.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.1301, allocations: 4 kB / 368.6 MB, free: 3.426 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001223/0.1313, allocations: 431.7 kB / 369 MB, free: 2.988 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.153e-05/0.1314, allocations: 33.7 kB / 369.1 MB, free: 2.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.1314, allocations: 3.984 kB / 369.1 MB, free: 2.945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003788/0.1318, allocations: 68.81 kB / 369.1 MB, free: 2.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.132, allocations: 51.92 kB / 369.2 MB, free: 2.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002864/0.1348, allocations: 1.951 MB / 371.1 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.1352, allocations: 51.91 kB / 371.2 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.1352, allocations: 7.984 kB / 371.2 MB, free: 0.6641 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.0001741/0.1354, allocations: 140.6 kB / 371.3 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.1355, allocations: 23.72 kB / 371.3 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.942e-05/0.1355, allocations: 29.77 kB / 371.4 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1355, allocations: 0 / 371.4 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.1355, allocations: 128 / 371.4 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1355, allocations: 7.938 kB / 371.4 MB, free: 476 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.1359, allocations: 309.3 kB / 371.7 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1359, allocations: 0 / 371.7 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.136, allocations: 23.97 kB / 371.7 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002805/0.1363, allocations: 72.8 kB / 371.8 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.1363, allocations: 7.938 kB / 371.8 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1725/0.3088, allocations: 1.746 MB / 373.5 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3089, allocations: 1.875 kB / 373.5 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.31, allocations: 360.4 kB / 373.9 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.406e-05/0.3101, allocations: 100.6 kB / 374 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.3102, allocations: 7.344 kB / 374 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.3104, allocations: 35.16 kB / 374 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.401e-05/0.3105, allocations: 19.45 kB / 374 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.3105, allocations: 3.938 kB / 374 MB, free: 18.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001934/0.3107, allocations: 194.3 kB / 374.2 MB, free: 18.76 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3107, allocations: 0 / 374.2 MB, free: 18.76 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000389/0.3111, allocations: 69.44 kB / 374.3 MB, free: 18.76 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.0001291/0.3112, allocations: 102.5 kB / 374.4 MB, free: 18.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009807/0.3122, allocations: 416.2 kB / 374.8 MB, free: 18.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3123, allocations: 0 / 374.8 MB, free: 18.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004457/0.3127, allocations: 232.8 kB / 375 MB, free: 18.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.313, allocations: 56.92 kB / 375.1 MB, free: 18.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009578/0.314, allocations: 478.1 kB / 375.6 MB, free: 18.15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.3142, allocations: 0.7465 MB / 376.3 MB, free: 17.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.651e-05/0.3143, allocations: 18.91 kB / 376.3 MB, free: 17.44 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3143, allocations: 0.6562 kB / 376.3 MB, free: 17.44 MB / 302.1 MB Notification: Performance of Templates: time 0.007296/0.3216, allocations: 4.154 MB / 380.5 MB, free: 17.19 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches