Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 183 kB / 18.04 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.4 MB / 224.2 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009925/0.0009923, allocations: 86.36 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005237/0.0005237, allocations: 12 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3047, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09847/0.4032, allocations: 79.25 MB / 456.3 MB, free: 1.285 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.4035, allocations: 75.97 kB / 456.4 MB, free: 1.211 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01704/0.4206, allocations: 5.757 MB / 462.1 MB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4206, allocations: 0 / 462.1 MB, free: 11.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.342e-05/0.4207, allocations: 4 kB / 462.1 MB, free: 11.43 MB / 346.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.001184/0.4219, allocations: 0.603 MB / 462.7 MB, free: 10.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.4219, allocations: 8.031 kB / 462.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.4221, allocations: 32.56 kB / 462.8 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005103/0.4226, allocations: 284 kB / 463 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/0.4226, allocations: 16.81 kB / 463.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.4227, allocations: 16.38 kB / 463.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007142/0.4234, allocations: 267.7 kB / 463.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.4234, allocations: 192 / 463.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.4235, allocations: 7.938 kB / 463.3 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.4235, allocations: 8 kB / 463.4 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007845/0.4243, allocations: 269.6 kB / 463.6 MB, free: 9.832 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.4264, allocations: 0.9481 MB / 464.6 MB, free: 8.805 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008578/0.4272, allocations: 278.5 kB / 464.8 MB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.4276, allocations: 120.8 kB / 465 MB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.4276, allocations: 0 / 465 MB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005155/0.4281, allocations: 193.9 kB / 465.1 MB, free: 8.191 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.4281, allocations: 0 / 465.1 MB, free: 8.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.002351/0.4305, allocations: 0.7446 MB / 465.9 MB, free: 7.422 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/0.4306, allocations: 110.8 kB / 466 MB, free: 7.289 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.4309, allocations: 270.5 kB / 466.3 MB, free: 7.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.431, allocations: 29.7 kB / 466.3 MB, free: 6.984 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.4311, allocations: 183.8 kB / 466.5 MB, free: 6.801 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.4312, allocations: 39.45 kB / 466.5 MB, free: 6.762 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-06/0.4312, allocations: 0 / 466.5 MB, free: 6.762 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4313, allocations: 342.8 kB / 466.8 MB, free: 6.418 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003769/0.4317, allocations: 111.9 kB / 467 MB, free: 6.309 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/0.4321, allocations: 194 kB / 467.1 MB, free: 6.086 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000688/0.4328, allocations: 311.2 kB / 467.4 MB, free: 5.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4328, allocations: 0 / 467.4 MB, free: 5.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001235/0.4341, allocations: 487.3 kB / 467.9 MB, free: 5.262 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001609/0.4342, allocations: 183.3 kB / 468.1 MB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.4342, allocations: 4 kB / 468.1 MB, free: 5.043 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004726/0.4347, allocations: 84.8 kB / 468.2 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.435, allocations: 51.91 kB / 468.2 MB, free: 4.906 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002845/0.4378, allocations: 1.865 MB / 470.1 MB, free: 2.902 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.4382, allocations: 67.8 kB / 470.2 MB, free: 2.836 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.4382, allocations: 8 kB / 470.2 MB, free: 2.828 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.4383, allocations: 9 kB / 470.2 MB, free: 2.82 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007427/0.439, allocations: 306.4 kB / 470.5 MB, free: 2.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.439, allocations: 4 kB / 470.5 MB, free: 2.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.36e-05/0.4391, allocations: 24.84 kB / 470.5 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.4393, allocations: 52 kB / 470.6 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009491/0.4403, allocations: 1.315 MB / 471.9 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.4406, allocations: 43.81 kB / 471.9 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.4406, allocations: 8 kB / 471.9 MB, free: 0.9258 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002233/0.4409, allocations: 209.9 kB / 472.1 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.4409, allocations: 35.72 kB / 472.2 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.043e-05/0.441, allocations: 25.83 kB / 472.2 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.441, allocations: 0 / 472.2 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.441, allocations: 0 / 472.2 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.441, allocations: 0 / 472.2 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.4413, allocations: 301.4 kB / 472.5 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.4414, allocations: 0 / 472.5 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.4415, allocations: 31.92 kB / 472.5 MB, free: 288 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002768/0.4418, allocations: 88.73 kB / 472.6 MB, free: 196 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.4418, allocations: 3.984 kB / 472.6 MB, free: 192 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/0.4442, allocations: 1.748 MB / 474.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.4442, allocations: 4.078 kB / 474.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.4452, allocations: 401.4 kB / 474.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.4453, allocations: 108.7 kB / 474.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.4454, allocations: 4 kB / 474.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.4456, allocations: 47.95 kB / 474.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.116e-05/0.4457, allocations: 19.97 kB / 474.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.4457, allocations: 0 / 474.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002054/0.446, allocations: 194 kB / 475.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.446, allocations: 0 / 475.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006151/0.4466, allocations: 135.7 kB / 475.3 MB, free: 13.37 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002271/0.4468, allocations: 107.1 kB / 475.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001808/0.4486, allocations: 0.8016 MB / 476.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.4487, allocations: 4.312 kB / 476.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004976/0.4492, allocations: 250.5 kB / 476.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.4497, allocations: 40.48 kB / 476.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/0.4527, allocations: 1.045 MB / 477.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.4531, allocations: 0.7485 MB / 478.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001751/0.4533, allocations: 26.3 kB / 478.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.196e-05/0.4533, allocations: 23.42 kB / 478.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4533, allocations: 0 / 478.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of Templates: time 0.009244/0.4626, allocations: 3.697 MB / 482 MB, free: 6.527 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches