Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.006075/0.006075, allocations: 108.5 kB / 21.97 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001724/0.001724, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.413/1.413, allocations: 230.6 MB / 259 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 67.89 kB / 379.8 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2887, allocations: 53.36 MB / 433.2 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004511/0.2932, allocations: 2.812 MB / 436 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.2948, allocations: 0.7128 MB / 436.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.295, allocations: 0 / 436.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.2952, allocations: 47.52 kB / 436.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002332/0.2954, allocations: 99.25 kB / 436.9 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.2958, allocations: 99.8 kB / 437 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004806/0.2962, allocations: 350.5 kB / 437.3 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.2964, allocations: 65.83 kB / 437.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.2966, allocations: 135.5 kB / 437.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.2968, allocations: 147.3 kB / 437.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.538e-05/0.2969, allocations: 32 kB / 437.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.394e-05/0.297, allocations: 32 kB / 437.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.98e-05/0.297, allocations: 67.75 kB / 437.8 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.2972, allocations: 151.2 kB / 437.9 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004812/0.2977, allocations: 316.3 kB / 438.2 MB, free: 2.055 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.2977, allocations: 3.938 kB / 438.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.2977, allocations: 0 / 438.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.2977, allocations: 4 kB / 438.2 MB, free: 2.047 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.001394/0.2991, allocations: 0.5741 MB / 438.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.2991, allocations: 11.97 kB / 438.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.541e-05/0.2992, allocations: 32.75 kB / 438.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.2997, allocations: 229.9 kB / 439.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.2997, allocations: 12.81 kB / 439.1 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.2997, allocations: 20.38 kB / 439.1 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006562/0.3004, allocations: 282 kB / 439.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.3004, allocations: 0 / 439.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/0.3004, allocations: 11.98 kB / 439.4 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.3004, allocations: 8 kB / 439.4 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007332/0.3012, allocations: 237.6 kB / 439.6 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.3029, allocations: 0.9174 MB / 440.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007928/0.3037, allocations: 234.5 kB / 440.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003093/0.304, allocations: 96.78 kB / 440.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.304, allocations: 7.984 kB / 440.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000462/0.3045, allocations: 180.1 kB / 441.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.3045, allocations: 7.938 kB / 441.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002305/0.3068, allocations: 0.5721 MB / 441.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.124e-05/0.3069, allocations: 110.8 kB / 441.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.3073, allocations: 273.8 kB / 442 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.3073, allocations: 29.7 kB / 442.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.3074, allocations: 176.1 kB / 442.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/0.3075, allocations: 47.62 kB / 442.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.946e-05/0.3076, allocations: 45.66 kB / 442.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.3078, allocations: 338.8 kB / 442.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/0.3081, allocations: 99.92 kB / 442.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/0.3086, allocations: 186.2 kB / 442.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007121/0.3093, allocations: 286 kB / 443.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3093, allocations: 0 / 443.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001258/0.3105, allocations: 450.5 kB / 443.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.639e-05/0.3106, allocations: 33.7 kB / 443.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3106, allocations: 0 / 443.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003969/0.311, allocations: 84.86 kB / 443.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.3112, allocations: 43.95 kB / 443.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003014/0.3142, allocations: 1.898 MB / 445.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.3146, allocations: 51.8 kB / 445.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.3146, allocations: 12 kB / 445.8 MB, free: 10.07 MB / 350.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.0001974/0.3148, allocations: 141.8 kB / 445.9 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.3149, allocations: 23.86 kB / 445.9 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.746e-05/0.3149, allocations: 29.7 kB / 446 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3149, allocations: 0 / 446 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.3149, allocations: 4 kB / 446 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3149, allocations: 0 / 446 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002999/0.3152, allocations: 268.5 kB / 446.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.3152, allocations: 7.969 kB / 446.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.3154, allocations: 19.98 kB / 446.2 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002808/0.3156, allocations: 80.92 kB / 446.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.3157, allocations: 7.938 kB / 446.3 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002559/0.3182, allocations: 1.812 MB / 448.1 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.3182, allocations: 7.875 kB / 448.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.3193, allocations: 356 kB / 448.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/0.3193, allocations: 31.75 kB / 448.5 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.3194, allocations: 4 kB / 448.5 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.3196, allocations: 35.95 kB / 448.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.038e-05/0.3197, allocations: 19.97 kB / 448.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.3197, allocations: 4 kB / 448.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002281/0.3199, allocations: 193.2 kB / 448.8 MB, free: 6.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3199, allocations: 0 / 448.8 MB, free: 6.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004293/0.3204, allocations: 71.94 kB / 448.9 MB, free: 6.793 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.0001537/0.3205, allocations: 103.2 kB / 449 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.3218, allocations: 477.9 kB / 449.4 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3218, allocations: 0 / 449.4 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005021/0.3223, allocations: 226.6 kB / 449.6 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.3227, allocations: 52.84 kB / 449.7 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/0.3257, allocations: 0.9195 MB / 450.6 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.3261, allocations: 0.7518 MB / 451.4 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.356e-05/0.3262, allocations: 19.44 kB / 451.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3262, allocations: 0 / 451.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of Templates: time 0.007188/0.3333, allocations: 4.217 MB / 455.6 MB, free: 15.96 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.426867170026526]