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.00167/0.001671, allocations: 117 kB / 18.41 MB, free: 4.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001917/0.001917, allocations: 200.5 kB / 19.36 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 67.97 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09947/0.1006, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003784/0.1044, allocations: 2.775 MB / 361.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1056, allocations: 0.7089 MB / 362.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.1057, allocations: 7.938 kB / 362.4 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.1058, allocations: 39.58 kB / 362.4 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.106, allocations: 87.25 kB / 362.5 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.1063, allocations: 99.73 kB / 362.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003495/0.1066, allocations: 350.6 kB / 363 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.1068, allocations: 90.33 kB / 363.1 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.107, allocations: 131.5 kB / 363.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.1072, allocations: 151.3 kB / 363.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.605e-05/0.1072, allocations: 28 kB / 363.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.839e-05/0.1073, allocations: 28 kB / 363.4 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.221e-05/0.1073, allocations: 71.69 kB / 363.5 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.1075, allocations: 147.2 kB / 363.6 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.1078, allocations: 322.8 kB / 363.9 MB, free: 8.309 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1078, allocations: 8 kB / 363.9 MB, free: 8.301 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1078, allocations: 0 / 363.9 MB, free: 8.301 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.1078, allocations: 0 / 363.9 MB, free: 8.301 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.001129/0.109, allocations: 0.6379 MB / 364.6 MB, free: 7.605 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.109, allocations: 8.031 kB / 364.6 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.443e-05/0.1091, allocations: 32.56 kB / 364.6 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.1095, allocations: 283.6 kB / 364.9 MB, free: 7.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.1095, allocations: 20.75 kB / 364.9 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.1095, allocations: 16.38 kB / 364.9 MB, free: 7.211 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005715/0.1101, allocations: 282.1 kB / 365.2 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1101, allocations: 0 / 365.2 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.1102, allocations: 11.98 kB / 365.2 MB, free: 6.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.1102, allocations: 8 kB / 365.2 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006755/0.1109, allocations: 245.5 kB / 365.5 MB, free: 6.664 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.1123, allocations: 0.9481 MB / 366.4 MB, free: 5.645 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007237/0.1131, allocations: 234.6 kB / 366.6 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.1134, allocations: 100.8 kB / 366.7 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.1134, allocations: 0 / 366.7 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004127/0.1138, allocations: 185.7 kB / 366.9 MB, free: 5.102 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.1138, allocations: 4 kB / 366.9 MB, free: 5.098 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002129/0.116, allocations: 0.6545 MB / 367.6 MB, free: 4.418 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/0.1161, allocations: 106.8 kB / 367.7 MB, free: 4.289 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.1163, allocations: 270.5 kB / 367.9 MB, free: 4.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.1164, allocations: 33.7 kB / 368 MB, free: 3.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.1165, allocations: 175.9 kB / 368.1 MB, free: 3.805 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/0.1166, allocations: 47.38 kB / 368.2 MB, free: 3.758 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-05/0.1167, allocations: 49.61 kB / 368.2 MB, free: 3.703 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.1168, allocations: 338.8 kB / 368.6 MB, free: 3.363 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003304/0.1172, allocations: 99.91 kB / 368.7 MB, free: 3.266 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/0.1176, allocations: 183.2 kB / 368.8 MB, free: 3.051 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006325/0.1182, allocations: 280.6 kB / 369.1 MB, free: 2.742 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1182, allocations: 3.938 kB / 369.1 MB, free: 2.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001258/0.1195, allocations: 447.6 kB / 369.6 MB, free: 2.285 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.44e-05/0.1196, allocations: 37.69 kB / 369.6 MB, free: 2.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.1196, allocations: 4 kB / 369.6 MB, free: 2.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000385/0.12, allocations: 80.86 kB / 369.7 MB, free: 2.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.1202, allocations: 44.12 kB / 369.7 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1555/0.2757, allocations: 2.002 MB / 371.7 MB, free: 20.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/0.2761, allocations: 52.2 kB / 371.8 MB, free: 20.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.2762, allocations: 8.891 kB / 371.8 MB, free: 20.23 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.0001282/0.2763, allocations: 147.9 kB / 371.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.2763, allocations: 22.06 kB / 372 MB, free: 20.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.718e-05/0.2764, allocations: 29.97 kB / 372 MB, free: 20.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2764, allocations: 3.25 kB / 372 MB, free: 20.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2764, allocations: 1.203 kB / 372 MB, free: 20.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2764, allocations: 0.6094 kB / 372 MB, free: 20.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.2766, allocations: 295.6 kB / 372.3 MB, free: 19.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2767, allocations: 1.656 kB / 372.3 MB, free: 19.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.2768, allocations: 21.75 kB / 372.3 MB, free: 19.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002734/0.2771, allocations: 78.28 kB / 372.4 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.2771, allocations: 6.156 kB / 372.4 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.279, allocations: 1.921 MB / 374.3 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2791, allocations: 0.6094 kB / 374.3 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009868/0.2801, allocations: 359.3 kB / 374.7 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.2801, allocations: 105 kB / 374.8 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.2802, allocations: 2.156 kB / 374.8 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.2804, allocations: 33.48 kB / 374.8 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.2805, allocations: 23.23 kB / 374.8 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.2805, allocations: 8.359 kB / 374.8 MB, free: 18.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.2807, allocations: 195.2 kB / 375 MB, free: 18.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2807, allocations: 0 / 375 MB, free: 18.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003834/0.2811, allocations: 67.67 kB / 375.1 MB, free: 18.1 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 9.715e-05/0.2812, allocations: 112 kB / 375.2 MB, free: 18.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.2823, allocations: 482.6 kB / 375.7 MB, free: 17.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2823, allocations: 1.031 kB / 375.7 MB, free: 17.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004247/0.2827, allocations: 235.4 kB / 375.9 MB, free: 17.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.2831, allocations: 45.41 kB / 375.9 MB, free: 17.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.2858, allocations: 0.8895 MB / 376.8 MB, free: 17.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.286, allocations: 0.7476 MB / 377.6 MB, free: 16.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.121e-05/0.2861, allocations: 20.64 kB / 377.6 MB, free: 16.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.2862, allocations: 21.14 kB / 377.6 MB, free: 16.67 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.2862, allocations: 3.844 kB / 377.6 MB, free: 16.67 MB / 302.1 MB Notification: Performance of Templates: time 0.007266/0.2934, allocations: 3.818 MB / 381.4 MB, free: 16.46 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 -s gbode -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