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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001154/0.001154, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009912/0.0009913, allocations: 97.67 kB / 296.7 MB, free: 6.504 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008855/0.0008855, allocations: 51.92 kB / 356.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2061, allocations: 50.45 MB / 407.1 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003664/0.2099, allocations: 2.821 MB / 409.9 MB, free: 25.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.211, allocations: 0.7053 MB / 410.6 MB, free: 24.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.2112, allocations: 7.938 kB / 410.6 MB, free: 24.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.2113, allocations: 33.61 kB / 410.6 MB, free: 24.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002426/0.2116, allocations: 75.39 kB / 410.7 MB, free: 24.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.212, allocations: 83.92 kB / 410.8 MB, free: 24.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003905/0.2124, allocations: 342.5 kB / 411.1 MB, free: 23.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.2126, allocations: 73.12 kB / 411.2 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.2128, allocations: 127.4 kB / 411.3 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.2129, allocations: 139.4 kB / 411.4 MB, free: 23.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.671e-05/0.213, allocations: 20 kB / 411.5 MB, free: 23.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.554e-05/0.213, allocations: 19.94 kB / 411.5 MB, free: 23.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.2131, allocations: 47.83 kB / 411.5 MB, free: 23.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.2132, allocations: 147.2 kB / 411.7 MB, free: 23.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.2135, allocations: 304.5 kB / 412 MB, free: 22.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.2135, allocations: 0 / 412 MB, free: 22.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2136, allocations: 3.938 kB / 412 MB, free: 22.9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.2136, allocations: 0 / 412 MB, free: 22.9 MB / 298.7 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.001254/0.2148, allocations: 0.6341 MB / 412.6 MB, free: 22.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.2149, allocations: 12.88 kB / 412.6 MB, free: 22.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.387e-05/0.2149, allocations: 28.56 kB / 412.7 MB, free: 22.17 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.2152, allocations: 279.6 kB / 412.9 MB, free: 21.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.2152, allocations: 24.73 kB / 413 MB, free: 21.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.2153, allocations: 16.38 kB / 413 MB, free: 21.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005415/0.2158, allocations: 278.1 kB / 413.2 MB, free: 21.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2158, allocations: 0 / 413.2 MB, free: 21.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.2159, allocations: 11.98 kB / 413.2 MB, free: 21.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.2159, allocations: 8 kB / 413.3 MB, free: 21.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006662/0.2166, allocations: 245.5 kB / 413.5 MB, free: 21.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.2178, allocations: 0.9441 MB / 414.4 MB, free: 20.26 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007457/0.2186, allocations: 242.5 kB / 414.7 MB, free: 20.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.2189, allocations: 104.8 kB / 414.8 MB, free: 19.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.2189, allocations: 0 / 414.8 MB, free: 19.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004682/0.2194, allocations: 178 kB / 415 MB, free: 19.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.384e-06/0.2194, allocations: 0 / 415 MB, free: 19.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.00216/0.2216, allocations: 0.6604 MB / 415.6 MB, free: 19.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.2217, allocations: 110.8 kB / 415.7 MB, free: 18.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.2219, allocations: 270.5 kB / 416 MB, free: 18.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.2219, allocations: 25.7 kB / 416 MB, free: 18.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.405e-05/0.222, allocations: 179.8 kB / 416.2 MB, free: 18.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.222, allocations: 43.45 kB / 416.2 MB, free: 18.37 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.116e-05/0.2221, allocations: 49.61 kB / 416.3 MB, free: 18.31 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.903e-05/0.2222, allocations: 338.8 kB / 416.6 MB, free: 17.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.2225, allocations: 95.92 kB / 416.7 MB, free: 17.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.2228, allocations: 187.7 kB / 416.9 MB, free: 17.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006343/0.2235, allocations: 284.7 kB / 417.2 MB, free: 17.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2235, allocations: 0 / 417.2 MB, free: 17.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001124/0.2246, allocations: 451.6 kB / 417.6 MB, free: 16.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.2247, allocations: 33.7 kB / 417.6 MB, free: 16.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2247, allocations: 0 / 417.6 MB, free: 16.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003405/0.225, allocations: 84.86 kB / 417.7 MB, free: 16.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.2252, allocations: 39.91 kB / 417.8 MB, free: 16.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.2274, allocations: 1.818 MB / 419.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003297/0.2278, allocations: 43.75 kB / 419.6 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.2278, allocations: 12 kB / 419.6 MB, free: 14.71 MB / 298.7 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.0001189/0.228, allocations: 151.3 kB / 419.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.228, allocations: 19.72 kB / 419.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.2281, allocations: 25.84 kB / 419.8 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2281, allocations: 0 / 419.8 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.2281, allocations: 7.922 kB / 419.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2281, allocations: 0 / 419.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.2283, allocations: 297.4 kB / 420.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2283, allocations: 4.125 kB / 420.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.2284, allocations: 27.97 kB / 420.2 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002471/0.2287, allocations: 72.73 kB / 420.2 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.2287, allocations: 8 kB / 420.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/0.2304, allocations: 1.721 MB / 422 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2304, allocations: 0 / 422 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.2319, allocations: 1.05 MB / 423 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.2319, allocations: 104.8 kB / 423.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.232, allocations: 4 kB / 423.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.2322, allocations: 27.97 kB / 423.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.244e-05/0.2323, allocations: 19.97 kB / 423.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.2323, allocations: 8 kB / 423.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001348/0.2324, allocations: 194 kB / 423.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2325, allocations: 0 / 423.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004622/0.2329, allocations: 71.91 kB / 423.4 MB, free: 10.65 MB / 298.7 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.0001111/0.233, allocations: 103.2 kB / 423.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.2342, allocations: 477.9 kB / 424 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2342, allocations: 0 / 424 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000413/0.2346, allocations: 227 kB / 424.2 MB, free: 9.812 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.235, allocations: 55.47 kB / 424.3 MB, free: 9.762 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.2377, allocations: 1.119 MB / 425.4 MB, free: 8.598 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.2379, allocations: 0.752 MB / 426.1 MB, free: 7.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.238, allocations: 26.28 kB / 426.2 MB, free: 7.797 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.2381, allocations: 23.44 kB / 426.2 MB, free: 7.773 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2381, allocations: 0 / 426.2 MB, free: 7.773 MB / 298.7 MB Notification: Performance of Templates: time 0.00576/0.2439, allocations: 3.619 MB / 429.8 MB, free: 4.188 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches