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.001075/0.001075, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00117/0.00117, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.64 kB / 306.9 MB, free: 0.6484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1163, allocations: 50.54 MB / 357.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004299/0.1207, allocations: 2.763 MB / 360.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.1222, allocations: 0.7167 MB / 361 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.1225, allocations: 4 kB / 361 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.1227, allocations: 39.58 kB / 361 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.123, allocations: 91.19 kB / 361.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003729/0.1234, allocations: 103.8 kB / 361.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004755/0.1239, allocations: 358.5 kB / 361.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.1241, allocations: 74.36 kB / 361.6 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.1243, allocations: 139.5 kB / 361.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.1246, allocations: 151.3 kB / 361.9 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.416e-05/0.1246, allocations: 28 kB / 361.9 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.169e-05/0.1247, allocations: 32 kB / 362 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.131e-05/0.1248, allocations: 59.75 kB / 362 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.125, allocations: 151.3 kB / 362.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000363/0.1253, allocations: 323.1 kB / 362.5 MB, free: 9.078 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1253, allocations: 0 / 362.5 MB, free: 9.078 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1253, allocations: 0 / 362.5 MB, free: 9.078 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.1254, allocations: 0 / 362.5 MB, free: 9.078 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.001356/0.1267, allocations: 0.6418 MB / 363.1 MB, free: 8.379 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1268, allocations: 12.03 kB / 363.1 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.984e-05/0.1269, allocations: 32.56 kB / 363.2 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.1272, allocations: 275.6 kB / 363.4 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.1273, allocations: 16.81 kB / 363.5 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.1273, allocations: 16.38 kB / 363.5 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006592/0.128, allocations: 286 kB / 363.8 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.128, allocations: 0 / 363.8 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.128, allocations: 15.98 kB / 363.8 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.128, allocations: 4 kB / 363.8 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000775/0.1288, allocations: 245.6 kB / 364 MB, free: 7.441 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.1305, allocations: 0.9364 MB / 365 MB, free: 6.434 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008514/0.1314, allocations: 246.5 kB / 365.2 MB, free: 6.184 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.1317, allocations: 104.8 kB / 365.3 MB, free: 6.078 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.1318, allocations: 224 / 365.3 MB, free: 6.078 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000546/0.1323, allocations: 185.7 kB / 365.5 MB, free: 5.875 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.1323, allocations: 3.938 kB / 365.5 MB, free: 5.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002318/0.1347, allocations: 0.6512 MB / 366.1 MB, free: 5.191 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.1347, allocations: 102.8 kB / 366.2 MB, free: 5.066 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003332/0.1351, allocations: 278.5 kB / 366.5 MB, free: 4.789 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.1351, allocations: 25.7 kB / 366.5 MB, free: 4.758 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.1352, allocations: 175.9 kB / 366.7 MB, free: 4.582 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.1353, allocations: 47.39 kB / 366.7 MB, free: 4.535 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.1354, allocations: 49.61 kB / 366.8 MB, free: 4.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1355, allocations: 338.8 kB / 367.1 MB, free: 4.141 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.1359, allocations: 95.92 kB / 367.2 MB, free: 4.047 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/0.1363, allocations: 183.3 kB / 367.4 MB, free: 3.832 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006868/0.1369, allocations: 285 kB / 367.7 MB, free: 3.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.137, allocations: 0 / 367.7 MB, free: 3.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0012/0.1382, allocations: 443.6 kB / 368.1 MB, free: 3.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.1382, allocations: 33.7 kB / 368.1 MB, free: 3.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1382, allocations: 3.984 kB / 368.1 MB, free: 3.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003885/0.1386, allocations: 84.81 kB / 368.2 MB, free: 2.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.1388, allocations: 39.95 kB / 368.3 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002795/0.1416, allocations: 2.009 MB / 370.3 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/0.142, allocations: 55.8 kB / 370.3 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.142, allocations: 12 kB / 370.3 MB, free: 0.6758 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.0001445/0.1422, allocations: 145.1 kB / 370.5 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.1422, allocations: 19.72 kB / 370.5 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.505e-05/0.1423, allocations: 33.77 kB / 370.5 MB, free: 492 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1423, allocations: 4 kB / 370.5 MB, free: 488 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.1423, allocations: 0 / 370.5 MB, free: 488 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.1423, allocations: 7.922 kB / 370.5 MB, free: 480 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.1426, allocations: 301.3 kB / 370.8 MB, free: 128 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1426, allocations: 0 / 370.8 MB, free: 128 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.1427, allocations: 27.91 kB / 370.9 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002672/0.143, allocations: 72.8 kB / 370.9 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.143, allocations: 11.88 kB / 371 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2201/0.3631, allocations: 1.91 MB / 372.9 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3632, allocations: 1.312 kB / 372.9 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.3644, allocations: 354.9 kB / 373.2 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.427e-05/0.3645, allocations: 103.8 kB / 373.3 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.3645, allocations: 2.109 kB / 373.3 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.3648, allocations: 36.19 kB / 373.3 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.199e-05/0.3649, allocations: 17.17 kB / 373.4 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.3649, allocations: 3.844 kB / 373.4 MB, free: 18.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002265/0.3652, allocations: 200.8 kB / 373.6 MB, free: 18.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3652, allocations: 0 / 373.6 MB, free: 18.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004649/0.3657, allocations: 72.31 kB / 373.6 MB, free: 18.7 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.0001623/0.3658, allocations: 107.5 kB / 373.7 MB, free: 18.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.3672, allocations: 486.7 kB / 374.2 MB, free: 18.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3672, allocations: 0.5625 kB / 374.2 MB, free: 18.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004986/0.3678, allocations: 231.2 kB / 374.4 MB, free: 18.33 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.3681, allocations: 46.31 kB / 374.5 MB, free: 18.33 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.3717, allocations: 0.899 MB / 375.4 MB, free: 18.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.3719, allocations: 0.7453 MB / 376.1 MB, free: 17.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.3721, allocations: 30 kB / 376.2 MB, free: 17.42 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.334e-05/0.3721, allocations: 19.75 kB / 376.2 MB, free: 17.41 MB / 302.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3721, allocations: 1.625 kB / 376.2 MB, free: 17.41 MB / 302.1 MB Notification: Performance of Templates: time 0.01012/0.3823, allocations: 3.809 MB / 380 MB, free: 17.21 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","/var/lib/jenkins/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