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.001337/0.001337, allocations: 101 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001713/0.001713, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246.3 MB, free: 9.051 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 59.09 kB / 306.3 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1039, allocations: 50.54 MB / 356.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.0046/0.1085, allocations: 2.824 MB / 359.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.1098, allocations: 0.7052 MB / 360.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.11, allocations: 7.938 kB / 360.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.1102, allocations: 27.77 kB / 360.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.1104, allocations: 79.38 kB / 360.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.1106, allocations: 83.92 kB / 360.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003301/0.111, allocations: 338.5 kB / 360.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.1112, allocations: 73.14 kB / 360.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.1113, allocations: 123.4 kB / 361.1 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.1115, allocations: 139.4 kB / 361.2 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.1116, allocations: 16 kB / 361.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.965e-05/0.1116, allocations: 20 kB / 361.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.604e-05/0.1117, allocations: 51.75 kB / 361.3 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.1118, allocations: 143.2 kB / 361.4 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.1121, allocations: 303.2 kB / 361.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1121, allocations: 0 / 361.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.1121, allocations: 4 kB / 361.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1121, allocations: 3.938 kB / 361.7 MB, free: 9.32 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.001239/0.1134, allocations: 0.638 MB / 362.4 MB, free: 8.621 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1134, allocations: 8.031 kB / 362.4 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.948e-05/0.1135, allocations: 36.56 kB / 362.4 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.1139, allocations: 279.6 kB / 362.7 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.1139, allocations: 16.81 kB / 362.7 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.1139, allocations: 24.36 kB / 362.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006632/0.1146, allocations: 278.1 kB / 363 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1146, allocations: 0 / 363 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.1147, allocations: 12 kB / 363 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1147, allocations: 4 kB / 363 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007322/0.1154, allocations: 249.5 kB / 363.2 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.117, allocations: 0.9403 MB / 364.2 MB, free: 6.668 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008163/0.1178, allocations: 238.6 kB / 364.4 MB, free: 6.426 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.1181, allocations: 108.7 kB / 364.5 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.1182, allocations: 3.938 kB / 364.5 MB, free: 6.312 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004903/0.1187, allocations: 181.8 kB / 364.7 MB, free: 6.113 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.1187, allocations: 224 / 364.7 MB, free: 6.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002245/0.1209, allocations: 0.655 MB / 365.4 MB, free: 5.434 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/0.121, allocations: 110.8 kB / 365.5 MB, free: 5.301 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.1213, allocations: 274.5 kB / 365.7 MB, free: 5.027 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.1213, allocations: 29.7 kB / 365.8 MB, free: 4.992 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.1215, allocations: 175.9 kB / 365.9 MB, free: 4.816 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.1215, allocations: 47.39 kB / 366 MB, free: 4.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.495e-05/0.1216, allocations: 49.61 kB / 366 MB, free: 4.715 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1217, allocations: 338.8 kB / 366.4 MB, free: 4.375 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.1221, allocations: 95.92 kB / 366.5 MB, free: 4.281 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003752/0.1224, allocations: 187.2 kB / 366.6 MB, free: 4.062 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006831/0.1231, allocations: 284.9 kB / 366.9 MB, free: 3.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1232, allocations: 0 / 366.9 MB, free: 3.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001187/0.1243, allocations: 443.6 kB / 367.3 MB, free: 3.301 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/0.1244, allocations: 33.7 kB / 367.4 MB, free: 3.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.1244, allocations: 4 kB / 367.4 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003781/0.1248, allocations: 80.86 kB / 367.5 MB, free: 3.176 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.125, allocations: 47.89 kB / 367.5 MB, free: 3.129 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/0.1276, allocations: 1.822 MB / 369.3 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.128, allocations: 39.81 kB / 369.4 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.128, allocations: 15.98 kB / 369.4 MB, free: 1.105 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.0001562/0.1282, allocations: 153.8 kB / 369.5 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.1282, allocations: 23.72 kB / 369.6 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.1283, allocations: 25.83 kB / 369.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1283, allocations: 0 / 369.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1283, allocations: 7.938 kB / 369.6 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1283, allocations: 0 / 369.6 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.1286, allocations: 297.3 kB / 369.9 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1286, allocations: 0 / 369.9 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.1288, allocations: 27.97 kB / 369.9 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000259/0.129, allocations: 68.8 kB / 370 MB, free: 472 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.1291, allocations: 8 kB / 370 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2313/0.3604, allocations: 1.719 MB / 371.7 MB, free: 19.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3604, allocations: 1.031 kB / 371.7 MB, free: 19.03 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.3616, allocations: 362.7 kB / 372.1 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.111e-05/0.3617, allocations: 108 kB / 372.2 MB, free: 18.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.652e-05/0.3617, allocations: 6.906 kB / 372.2 MB, free: 18.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.362, allocations: 32.7 kB / 372.2 MB, free: 18.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.874e-05/0.3621, allocations: 24.89 kB / 372.2 MB, free: 18.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.3621, allocations: 4.547 kB / 372.2 MB, free: 18.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002003/0.3623, allocations: 195.4 kB / 372.4 MB, free: 18.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3623, allocations: 0 / 372.4 MB, free: 18.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000454/0.3628, allocations: 69.95 kB / 372.5 MB, free: 18.79 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.000134/0.3629, allocations: 103.3 kB / 372.6 MB, free: 18.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.3643, allocations: 484.2 kB / 373.1 MB, free: 18.53 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3643, allocations: 0 / 373.1 MB, free: 18.53 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004773/0.3648, allocations: 234.6 kB / 373.3 MB, free: 18.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.3651, allocations: 38.23 kB / 373.3 MB, free: 18.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.3682, allocations: 0.9828 MB / 374.3 MB, free: 18.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.3684, allocations: 0.743 MB / 375.1 MB, free: 17.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000136/0.3685, allocations: 28.86 kB / 375.1 MB, free: 17.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.3e-05/0.3686, allocations: 18.12 kB / 375.1 MB, free: 17.42 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3686, allocations: 3.812 kB / 375.1 MB, free: 17.42 MB / 302.1 MB Notification: Performance of Templates: time 0.007681/0.3763, allocations: 3.463 MB / 378.6 MB, free: 17.25 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