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.001368/0.001368, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001627/0.001627, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.476/1.476, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.001988/0.001988, allocations: 68.75 kB / 379.1 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2843, allocations: 53.36 MB / 432.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004204/0.2885, allocations: 2.819 MB / 435.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.2898, allocations: 0.7167 MB / 436 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.29, allocations: 7.938 kB / 436 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.2901, allocations: 43.58 kB / 436 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.2903, allocations: 91.25 kB / 436.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.2906, allocations: 95.83 kB / 436.2 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004382/0.291, allocations: 362.5 kB / 436.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.2912, allocations: 56.91 kB / 436.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.2914, allocations: 139.5 kB / 436.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.2916, allocations: 151.3 kB / 436.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.918e-05/0.2916, allocations: 28 kB / 436.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.705e-05/0.2917, allocations: 28 kB / 437 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.755e-05/0.2917, allocations: 67.77 kB / 437 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.2919, allocations: 147.2 kB / 437.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004328/0.2923, allocations: 332.3 kB / 437.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2923, allocations: 0 / 437.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2923, allocations: 0 / 437.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.2923, allocations: 0 / 437.5 MB, free: 1.859 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.001259/0.2936, allocations: 0.5702 MB / 438.1 MB, free: 1.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2936, allocations: 12.02 kB / 438.1 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.182e-05/0.2937, allocations: 32.75 kB / 438.1 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/0.2941, allocations: 229.9 kB / 438.3 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.2941, allocations: 16.81 kB / 438.3 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.2942, allocations: 24.38 kB / 438.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006502/0.2948, allocations: 278 kB / 438.6 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2948, allocations: 0 / 438.6 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.2949, allocations: 8 kB / 438.6 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2949, allocations: 8 kB / 438.7 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007427/0.2956, allocations: 241.6 kB / 438.9 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.2974, allocations: 0.9135 MB / 439.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000827/0.2982, allocations: 230.6 kB / 440 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/0.2986, allocations: 97 kB / 440.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.2986, allocations: 7.938 kB / 440.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004637/0.299, allocations: 177.7 kB / 440.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.299, allocations: 0 / 440.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002226/0.3013, allocations: 0.576 MB / 440.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/0.3013, allocations: 106.8 kB / 441 MB, free: 14.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/0.3017, allocations: 277.8 kB / 441.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.3017, allocations: 29.7 kB / 441.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.3018, allocations: 184 kB / 441.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.468e-05/0.3019, allocations: 43.67 kB / 441.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-05/0.302, allocations: 45.66 kB / 441.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.3022, allocations: 342.8 kB / 441.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/0.3025, allocations: 99.92 kB / 442 MB, free: 13.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004059/0.3029, allocations: 182.2 kB / 442.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006997/0.3036, allocations: 292.7 kB / 442.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.3036, allocations: 0 / 442.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001207/0.3048, allocations: 443.7 kB / 442.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/0.3049, allocations: 33.7 kB / 442.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3049, allocations: 4 kB / 442.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003718/0.3053, allocations: 76.8 kB / 443 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.3055, allocations: 51.95 kB / 443 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003012/0.3085, allocations: 1.89 MB / 444.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.3088, allocations: 51.81 kB / 445 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.3089, allocations: 15.98 kB / 445 MB, free: 9.895 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.0001914/0.309, allocations: 141.8 kB / 445.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.3091, allocations: 23.86 kB / 445.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.503e-05/0.3091, allocations: 29.83 kB / 445.2 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3091, allocations: 4 kB / 445.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3091, allocations: 4 kB / 445.2 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3092, allocations: 0 / 445.2 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.3095, allocations: 260.5 kB / 445.5 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3095, allocations: 4 kB / 445.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.3096, allocations: 31.84 kB / 445.5 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002743/0.3099, allocations: 76.8 kB / 445.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.3099, allocations: 7.938 kB / 445.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002532/0.3124, allocations: 1.808 MB / 447.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3124, allocations: 3.938 kB / 447.4 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.3135, allocations: 353.6 kB / 447.7 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.3135, allocations: 31.73 kB / 447.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.817e-05/0.3136, allocations: 8.172 kB / 447.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.3138, allocations: 43.94 kB / 447.8 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.3139, allocations: 15.97 kB / 447.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.3139, allocations: 4 kB / 447.8 MB, free: 6.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000213/0.3141, allocations: 197.2 kB / 448 MB, free: 6.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3141, allocations: 0 / 448 MB, free: 6.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000394/0.3145, allocations: 67.94 kB / 448.1 MB, free: 6.613 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.000142/0.3146, allocations: 107.2 kB / 448.2 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.316, allocations: 476.7 kB / 448.7 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.316, allocations: 0 / 448.7 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004911/0.3165, allocations: 222.6 kB / 448.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.3168, allocations: 55.61 kB / 448.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/0.3197, allocations: 0.8982 MB / 449.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.3202, allocations: 0.748 MB / 450.6 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.3203, allocations: 22.3 kB / 450.6 MB, free: 4.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.489e-05/0.3204, allocations: 23.42 kB / 450.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3204, allocations: 0 / 450.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of Templates: time 0.008831/0.3292, allocations: 4.004 MB / 454.6 MB, free: 20 kB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","/var/lib/jenkins/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: 4.634861272759736]