Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 118.4 kB / 18.41 MB, free: 4.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 190.7 kB / 21.35 MB, free: 1.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 247.1 MB, free: 4.168 MB / 190.1 MB " [Timeout remaining time 178] 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.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 47.92 kB / 358.7 MB, free: 8.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09395/0.09545, allocations: 49.43 MB / 408.1 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004134/0.09962, allocations: 2.753 MB / 410.9 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.1009, allocations: 0.67 MB / 411.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.1011, allocations: 4 kB / 411.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.1013, allocations: 47.58 kB / 411.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.1015, allocations: 87.25 kB / 411.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.1018, allocations: 91.83 kB / 411.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004551/0.1023, allocations: 362.5 kB / 412.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.1025, allocations: 88.64 kB / 412.2 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.1027, allocations: 135.4 kB / 412.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.1029, allocations: 143.4 kB / 412.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.368e-05/0.103, allocations: 39.88 kB / 412.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.679e-05/0.1031, allocations: 28 kB / 412.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.014e-05/0.1031, allocations: 63.81 kB / 412.6 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.1033, allocations: 143.2 kB / 412.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003798/0.1037, allocations: 322.7 kB / 413.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1037, allocations: 7.938 kB / 413.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1037, allocations: 4 kB / 413.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.1037, allocations: 0 / 413.1 MB, free: 1.789 MB / 334.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.001278/0.105, allocations: 0.6377 MB / 413.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1051, allocations: 16.03 kB / 413.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.702e-05/0.1051, allocations: 36.75 kB / 413.8 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.1055, allocations: 279.8 kB / 414.1 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.1056, allocations: 12.81 kB / 414.1 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.1056, allocations: 24.38 kB / 414.1 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006465/0.1063, allocations: 278.1 kB / 414.4 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1063, allocations: 0 / 414.4 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.1063, allocations: 8 kB / 414.4 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.1063, allocations: 4 kB / 414.4 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007739/0.1071, allocations: 249.5 kB / 414.6 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.1087, allocations: 0.9483 MB / 415.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008344/0.1096, allocations: 242.5 kB / 415.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/0.1099, allocations: 104.8 kB / 415.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.11, allocations: 0 / 415.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004637/0.1104, allocations: 182 kB / 416.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.1105, allocations: 3.938 kB / 416.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002378/0.1128, allocations: 0.6551 MB / 416.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.1129, allocations: 110.8 kB / 416.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.1133, allocations: 262.6 kB / 417.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.1133, allocations: 29.7 kB / 417.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.1134, allocations: 180.1 kB / 417.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.1135, allocations: 39.64 kB / 417.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.189e-05/0.1136, allocations: 49.7 kB / 417.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1137, allocations: 330.8 kB / 417.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.1141, allocations: 103.8 kB / 417.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.1145, allocations: 174.9 kB / 418 MB, free: 12.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007219/0.1153, allocations: 262.4 kB / 418.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1153, allocations: 4 kB / 418.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00135/0.1166, allocations: 435.7 kB / 418.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4e-05/0.1167, allocations: 35.42 kB / 418.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.1167, allocations: 0 / 418.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003648/0.1171, allocations: 76.8 kB / 418.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.1173, allocations: 47.91 kB / 418.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002978/0.1203, allocations: 1.954 MB / 420.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003528/0.1206, allocations: 55.89 kB / 420.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.1207, allocations: 8 kB / 420.9 MB, free: 9.516 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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.0001814/0.1209, allocations: 141.7 kB / 421 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.1209, allocations: 23.86 kB / 421 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.47e-05/0.121, allocations: 25.77 kB / 421 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.121, allocations: 4 kB / 421 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.121, allocations: 128 / 421 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.121, allocations: 4 kB / 421 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003411/0.1214, allocations: 297.5 kB / 421.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1214, allocations: 0 / 421.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.1215, allocations: 19.97 kB / 421.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002968/0.1218, allocations: 72.81 kB / 421.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.1219, allocations: 11.92 kB / 421.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002441/0.1243, allocations: 1.758 MB / 423.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1243, allocations: 192 / 423.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.1254, allocations: 361.6 kB / 423.6 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.887e-05/0.1256, allocations: 105 kB / 423.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/0.1256, allocations: 11.88 kB / 423.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.1259, allocations: 31.95 kB / 423.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.198e-05/0.1259, allocations: 15.98 kB / 423.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.126, allocations: 11.98 kB / 423.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002076/0.1262, allocations: 190 kB / 423.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1262, allocations: 0 / 423.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003843/0.1266, allocations: 71.89 kB / 424 MB, free: 6.141 MB / 350.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.0001608/0.1267, allocations: 111.6 kB / 424.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.1278, allocations: 405.8 kB / 424.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1278, allocations: 0 / 424.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005003/0.1283, allocations: 242.9 kB / 424.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.1287, allocations: 41.8 kB / 424.8 MB, free: 5.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.1297, allocations: 476.7 kB / 425.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.1301, allocations: 0.744 MB / 426 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.498e-05/0.1302, allocations: 19.44 kB / 426 MB, free: 4.02 MB / 350.1 MB Notification: Performance of SimCode: time 9.989e-06/0.1302, allocations: 7.938 kB / 426 MB, free: 4.012 MB / 350.1 MB Notification: Performance of Templates: time 0.2279/0.3581, allocations: 4.177 MB / 430.2 MB, free: 22.33 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.886678837006912]