Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001944/0.001944, allocations: 181.3 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.32/3.32, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.001321/0.001321, allocations: 89.42 kB / 271.9 MB, free: 8.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005193/0.0005195, allocations: 12 kB / 328.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4945/0.495, allocations: 47.57 MB / 375.7 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1737/0.6688, allocations: 79.25 MB / 455 MB, free: 1.406 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004539/0.6694, allocations: 87.95 kB / 455.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02606/0.6955, allocations: 5.737 MB / 460.8 MB, free: 11.56 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.6955, allocations: 0 / 460.8 MB, free: 11.56 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.894e-05/0.6956, allocations: 4 kB / 460.8 MB, free: 11.55 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.00145/0.6971, allocations: 0.5991 MB / 461.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.047e-05/0.6971, allocations: 8.031 kB / 461.4 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.6973, allocations: 32.56 kB / 461.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005426/0.6978, allocations: 288 kB / 461.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.52e-05/0.6979, allocations: 12.81 kB / 461.7 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.164e-05/0.698, allocations: 28.36 kB / 461.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008392/0.6988, allocations: 259.7 kB / 462 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.6988, allocations: 4.188 kB / 462 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.952e-05/0.6989, allocations: 11.94 kB / 462 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.6989, allocations: 4 kB / 462 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009711/0.6999, allocations: 273.6 kB / 462.3 MB, free: 9.953 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/0.7023, allocations: 0.9482 MB / 463.3 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.7035, allocations: 278.5 kB / 463.5 MB, free: 8.645 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004279/0.7039, allocations: 112.8 kB / 463.6 MB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.243e-05/0.704, allocations: 11.94 kB / 463.7 MB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007019/0.7047, allocations: 193.8 kB / 463.8 MB, free: 8.309 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 4.208e-06/0.7047, allocations: 0 / 463.8 MB, free: 8.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.003186/0.7079, allocations: 0.7449 MB / 464.6 MB, free: 7.535 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.427e-05/0.708, allocations: 110.8 kB / 464.7 MB, free: 7.402 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/0.7084, allocations: 258.5 kB / 464.9 MB, free: 7.145 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.7085, allocations: 29.7 kB / 465 MB, free: 7.109 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.7087, allocations: 175.9 kB / 465.1 MB, free: 6.934 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.7087, allocations: 43.45 kB / 465.2 MB, free: 6.891 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/0.7087, allocations: 4 kB / 465.2 MB, free: 6.887 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.7089, allocations: 334.8 kB / 465.5 MB, free: 6.551 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004417/0.7094, allocations: 111.9 kB / 465.6 MB, free: 6.441 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005076/0.7099, allocations: 174.1 kB / 465.8 MB, free: 6.246 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009038/0.7108, allocations: 297.7 kB / 466.1 MB, free: 5.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.7108, allocations: 4 kB / 466.1 MB, free: 5.926 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0016/0.7124, allocations: 468.5 kB / 466.6 MB, free: 5.453 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.7126, allocations: 163.9 kB / 466.7 MB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.7126, allocations: 4 kB / 466.7 MB, free: 5.258 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005041/0.7131, allocations: 80.8 kB / 466.8 MB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.7134, allocations: 47.91 kB / 466.8 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003572/0.717, allocations: 1.812 MB / 468.7 MB, free: 3.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004628/0.7216, allocations: 59.86 kB / 468.7 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.579e-05/0.7218, allocations: 8.219 kB / 468.7 MB, free: 3.113 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.7218, allocations: 4.938 kB / 468.7 MB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001096/0.7229, allocations: 302.1 kB / 469 MB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.7229, allocations: 0 / 469 MB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001663/0.7231, allocations: 36.97 kB / 469.1 MB, free: 2.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.7234, allocations: 51.89 kB / 469.1 MB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/0.725, allocations: 1.424 MB / 470.5 MB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004895/0.7256, allocations: 47.91 kB / 470.6 MB, free: 1.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.7256, allocations: 12 kB / 470.6 MB, free: 1.094 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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.0003475/0.726, allocations: 213 kB / 470.8 MB, free: 0.875 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/0.726, allocations: 23.72 kB / 470.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.131e-05/0.7261, allocations: 29.83 kB / 470.9 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.7261, allocations: 0 / 470.9 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.7261, allocations: 0 / 470.9 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.7261, allocations: 0 / 470.9 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/0.7265, allocations: 289.4 kB / 471.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.7266, allocations: 4 kB / 471.1 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.7267, allocations: 35.91 kB / 471.2 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003489/0.7271, allocations: 80.8 kB / 471.3 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.7271, allocations: 7.938 kB / 471.3 MB, free: 376 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002629/0.7298, allocations: 1.675 MB / 472.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7298, allocations: 0 / 472.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.7312, allocations: 393.1 kB / 473.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.7314, allocations: 108.8 kB / 473.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/0.7314, allocations: 4 kB / 473.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/0.7318, allocations: 39.95 kB / 473.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.7319, allocations: 23.97 kB / 473.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.7319, allocations: 0 / 473.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002696/0.7322, allocations: 194 kB / 473.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7322, allocations: 0 / 473.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008663/0.7331, allocations: 127.7 kB / 473.8 MB, free: 13.65 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.0002307/0.7333, allocations: 107.2 kB / 473.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002106/0.7355, allocations: 0.7271 MB / 474.6 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.7355, allocations: 0 / 474.6 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005779/0.7361, allocations: 246.9 kB / 474.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.7366, allocations: 47.53 kB / 474.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.738, allocations: 0.547 MB / 475.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.7385, allocations: 0.7485 MB / 476.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.966e-05/0.7386, allocations: 19.44 kB / 476.2 MB, free: 11.09 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.7386, allocations: 0 / 476.2 MB, free: 11.09 MB / 362.7 MB Notification: Performance of Templates: time 0.01371/0.7523, allocations: 4.17 MB / 480.4 MB, free: 6.926 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches