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.001663/0.001663, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002078/0.002078, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 247.1 MB, free: 10.69 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 66.98 kB / 307.1 MB, free: 0.9219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09364/0.09493, allocations: 50.53 MB / 357.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004007/0.09898, allocations: 2.823 MB / 360.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.1003, allocations: 0.6974 MB / 361.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.1006, allocations: 7.938 kB / 361.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.1007, allocations: 31.77 kB / 361.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.1009, allocations: 75.44 kB / 361.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.1012, allocations: 83.84 kB / 361.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004019/0.1016, allocations: 358.5 kB / 361.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.1018, allocations: 88.69 kB / 361.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.102, allocations: 131.5 kB / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.1022, allocations: 147.3 kB / 362.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.289e-05/0.1023, allocations: 28 kB / 362.1 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.092e-05/0.1023, allocations: 28 kB / 362.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.179e-05/0.1024, allocations: 75.67 kB / 362.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.1026, allocations: 147.2 kB / 362.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.1028, allocations: 247.7 kB / 362.6 MB, free: 9.434 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1028, allocations: 0 / 362.6 MB, free: 9.434 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1028, allocations: 0 / 362.6 MB, free: 9.434 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.1029, allocations: 0 / 362.6 MB, free: 9.434 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.001242/0.1041, allocations: 0.6444 MB / 363.2 MB, free: 8.734 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1042, allocations: 8.031 kB / 363.2 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.028e-05/0.1042, allocations: 32.56 kB / 363.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.1046, allocations: 279.6 kB / 363.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.1046, allocations: 20.75 kB / 363.6 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.1047, allocations: 16.38 kB / 363.6 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006374/0.1053, allocations: 282.1 kB / 363.9 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1053, allocations: 0 / 363.9 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.1054, allocations: 8 kB / 363.9 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.1054, allocations: 8 kB / 363.9 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007205/0.1061, allocations: 245.6 kB / 364.1 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.1077, allocations: 0.948 MB / 365.1 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007879/0.1085, allocations: 238.6 kB / 365.3 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/0.1088, allocations: 104.8 kB / 365.4 MB, free: 6.434 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.1088, allocations: 4 kB / 365.4 MB, free: 6.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005003/0.1094, allocations: 177.7 kB / 365.6 MB, free: 6.234 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.1094, allocations: 4 kB / 365.6 MB, free: 6.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002288/0.1117, allocations: 0.6509 MB / 366.2 MB, free: 5.555 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.1117, allocations: 110.8 kB / 366.3 MB, free: 5.422 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.112, allocations: 274.5 kB / 366.6 MB, free: 5.148 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.1121, allocations: 29.7 kB / 366.6 MB, free: 5.113 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.1122, allocations: 175.9 kB / 366.8 MB, free: 4.938 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.1122, allocations: 47.38 kB / 366.9 MB, free: 4.891 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-05/0.1123, allocations: 45.61 kB / 366.9 MB, free: 4.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1125, allocations: 342.8 kB / 367.2 MB, free: 4.496 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/0.1128, allocations: 95.92 kB / 367.3 MB, free: 4.402 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.1132, allocations: 191.2 kB / 367.5 MB, free: 4.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006647/0.1139, allocations: 285.2 kB / 367.8 MB, free: 3.867 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1139, allocations: 0 / 367.8 MB, free: 3.867 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001187/0.1151, allocations: 443.6 kB / 368.2 MB, free: 3.418 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.1151, allocations: 33.69 kB / 368.3 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.1152, allocations: 4 kB / 368.3 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003713/0.1155, allocations: 84.84 kB / 368.3 MB, free: 3.289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.1158, allocations: 43.91 kB / 368.4 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002769/0.1185, allocations: 2.001 MB / 370.4 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.1189, allocations: 52.05 kB / 370.4 MB, free: 1.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.1189, allocations: 15.94 kB / 370.5 MB, free: 1.027 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.0001423/0.1191, allocations: 146.4 kB / 370.6 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.1191, allocations: 23.72 kB / 370.6 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.712e-05/0.1192, allocations: 29.77 kB / 370.6 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1192, allocations: 4 kB / 370.7 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.1192, allocations: 0 / 370.7 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1192, allocations: 3.984 kB / 370.7 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.1195, allocations: 297.3 kB / 370.9 MB, free: 492 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1195, allocations: 4 kB / 371 MB, free: 488 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.1196, allocations: 23.97 kB / 371 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002704/0.1199, allocations: 72.8 kB / 371 MB, free: 388 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.1199, allocations: 7.938 kB / 371.1 MB, free: 380 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1531/0.2731, allocations: 1.913 MB / 373 MB, free: 19.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2731, allocations: 0 / 373 MB, free: 19.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.2742, allocations: 364 kB / 373.3 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.789e-05/0.2743, allocations: 105.2 kB / 373.4 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/0.2744, allocations: 5.656 kB / 373.4 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.2746, allocations: 34.56 kB / 373.5 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.851e-05/0.2747, allocations: 16.8 kB / 373.5 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.2747, allocations: 3.469 kB / 373.5 MB, free: 19 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001935/0.2749, allocations: 198.3 kB / 373.7 MB, free: 18.92 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.275, allocations: 0 / 373.7 MB, free: 18.92 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004424/0.2754, allocations: 69.05 kB / 373.7 MB, free: 18.92 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 0.0001342/0.2755, allocations: 104.8 kB / 373.8 MB, free: 18.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.2768, allocations: 498.4 kB / 374.3 MB, free: 18.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2768, allocations: 0.5938 kB / 374.3 MB, free: 18.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004646/0.2773, allocations: 233.1 kB / 374.6 MB, free: 18.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.2776, allocations: 39.22 kB / 374.6 MB, free: 18.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/0.2807, allocations: 1.009 MB / 375.6 MB, free: 18.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.2809, allocations: 0.7454 MB / 376.4 MB, free: 17.53 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.866e-05/0.281, allocations: 23.83 kB / 376.4 MB, free: 17.52 MB / 302.1 MB Notification: Performance of SimCode: time 7.12e-07/0.281, allocations: 0 / 376.4 MB, free: 17.52 MB / 302.1 MB Notification: Performance of Templates: time 0.008892/0.2899, allocations: 4.183 MB / 380.6 MB, free: 17.26 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 -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