Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 114.9 kB / 17.74 MB, free: 5.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001035, allocations: 188.4 kB / 18.67 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009792/0.0009792, allocations: 43.94 kB / 352 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2214, allocations: 49.43 MB / 401.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003548/0.2249, allocations: 2.775 MB / 404.2 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.226, allocations: 0.6661 MB / 404.9 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.2261, allocations: 4 kB / 404.9 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.2262, allocations: 43.56 kB / 404.9 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.2264, allocations: 95.19 kB / 405 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.2266, allocations: 91.83 kB / 405.1 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003437/0.227, allocations: 358.5 kB / 405.5 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.2272, allocations: 80.72 kB / 405.5 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.2273, allocations: 135.5 kB / 405.7 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.2275, allocations: 143.4 kB / 405.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.883e-05/0.2276, allocations: 36 kB / 405.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.884e-05/0.2276, allocations: 28 kB / 405.9 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.858e-05/0.2277, allocations: 71.69 kB / 405.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.2278, allocations: 147.3 kB / 406.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.2281, allocations: 324.1 kB / 406.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2281, allocations: 0 / 406.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2282, allocations: 0 / 406.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.2282, allocations: 4 kB / 406.4 MB, free: 4.027 MB / 318.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.001144/0.2293, allocations: 0.6379 MB / 407 MB, free: 3.336 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.2294, allocations: 11.89 kB / 407 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.791e-05/0.2294, allocations: 28.66 kB / 407.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.2298, allocations: 279.6 kB / 407.4 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.2298, allocations: 20.81 kB / 407.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.2298, allocations: 16.38 kB / 407.4 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000576/0.2304, allocations: 278 kB / 407.7 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2304, allocations: 4 kB / 407.7 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.2305, allocations: 12 kB / 407.7 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.2305, allocations: 4 kB / 407.7 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006753/0.2312, allocations: 241.6 kB / 407.9 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.2326, allocations: 0.948 MB / 408.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007496/0.2333, allocations: 242.5 kB / 409.1 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/0.2337, allocations: 108.8 kB / 409.2 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.2337, allocations: 0 / 409.2 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004148/0.2341, allocations: 177.7 kB / 409.4 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.2341, allocations: 4 kB / 409.4 MB, free: 0.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.002076/0.2362, allocations: 0.6544 MB / 410 MB, free: 156 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.2363, allocations: 110.8 kB / 410.1 MB, free: 20 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.2365, allocations: 262.6 kB / 410.4 MB, free: 15.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.2366, allocations: 29.7 kB / 410.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.2367, allocations: 183.7 kB / 410.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.2367, allocations: 47.38 kB / 410.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-05/0.2368, allocations: 45.7 kB / 410.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2369, allocations: 334.8 kB / 411 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.2373, allocations: 103.9 kB / 411.1 MB, free: 15 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003623/0.2376, allocations: 182.4 kB / 411.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006304/0.2383, allocations: 289.9 kB / 411.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2383, allocations: 0 / 411.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001087/0.2394, allocations: 451.5 kB / 412 MB, free: 14.01 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.2394, allocations: 33.7 kB / 412.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2394, allocations: 0 / 412.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003458/0.2398, allocations: 88.86 kB / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.24, allocations: 35.97 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002559/0.2426, allocations: 2.005 MB / 414.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.2429, allocations: 51.66 kB / 414.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.2429, allocations: 8 kB / 414.2 MB, free: 11.64 MB / 334.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.0001306/0.2431, allocations: 145.9 kB / 414.4 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.2431, allocations: 23.66 kB / 414.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.2431, allocations: 33.77 kB / 414.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2432, allocations: 0 / 414.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.2432, allocations: 0 / 414.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2432, allocations: 0 / 414.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.2434, allocations: 289.4 kB / 414.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2434, allocations: 0 / 414.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.2436, allocations: 28.09 kB / 414.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002469/0.2438, allocations: 76.8 kB / 414.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.2438, allocations: 7.938 kB / 414.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/0.246, allocations: 1.919 MB / 416.8 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.246, allocations: 3.938 kB / 416.8 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009451/0.247, allocations: 353.5 kB / 417.1 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.207e-05/0.247, allocations: 112.8 kB / 417.2 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.2471, allocations: 0 / 417.2 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.2473, allocations: 36 kB / 417.3 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.18e-05/0.2474, allocations: 19.97 kB / 417.3 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.2474, allocations: 4 kB / 417.3 MB, free: 8.367 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001779/0.2476, allocations: 198 kB / 417.5 MB, free: 8.172 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2476, allocations: 0 / 417.5 MB, free: 8.172 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003641/0.248, allocations: 67.91 kB / 417.5 MB, free: 8.105 MB / 334.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.0001214/0.2481, allocations: 111.1 kB / 417.6 MB, free: 7.984 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.2493, allocations: 490 kB / 418.1 MB, free: 7.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2493, allocations: 3.938 kB / 418.1 MB, free: 7.477 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004463/0.2497, allocations: 226.6 kB / 418.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.2501, allocations: 54.28 kB / 418.4 MB, free: 7.191 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.2527, allocations: 0.9191 MB / 419.3 MB, free: 6.242 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.253, allocations: 0.748 MB / 420.1 MB, free: 5.465 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.429e-05/0.253, allocations: 19.44 kB / 420.1 MB, free: 5.445 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2531, allocations: 0 / 420.1 MB, free: 5.445 MB / 334.1 MB Notification: Performance of Templates: time 0.005571/0.2586, allocations: 4.201 MB / 424.3 MB, free: 1.258 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches