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.001643/0.001643, allocations: 114 kB / 21.18 MB, free: 0.5898 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: 206.6 kB / 24.47 MB, free: 3.996 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.443/1.443, allocations: 230.5 MB / 258.1 MB, free: 8.133 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.001897/0.001897, allocations: 71.83 kB / 378.8 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2762, allocations: 53.31 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004398/0.2806, allocations: 2.792 MB / 434.9 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.2821, allocations: 0.7283 MB / 435.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.2822, allocations: 4 kB / 435.6 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.2824, allocations: 47.5 kB / 435.7 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002192/0.2826, allocations: 95.25 kB / 435.8 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.2829, allocations: 95.81 kB / 435.8 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004498/0.2834, allocations: 354.6 kB / 436.2 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.2836, allocations: 56.72 kB / 436.2 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.2837, allocations: 135.5 kB / 436.4 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.284, allocations: 147.3 kB / 436.5 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.741e-05/0.284, allocations: 28 kB / 436.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.737e-05/0.2841, allocations: 32 kB / 436.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.146e-05/0.2841, allocations: 71.67 kB / 436.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.2843, allocations: 143.3 kB / 436.8 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004283/0.2847, allocations: 332.6 kB / 437.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2847, allocations: 0 / 437.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2847, allocations: 0 / 437.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.2847, allocations: 0 / 437.1 MB, free: 2.332 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.001375/0.2861, allocations: 0.6455 MB / 437.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2862, allocations: 12.03 kB / 437.8 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.853e-05/0.2862, allocations: 32.75 kB / 437.8 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004403/0.2867, allocations: 283.8 kB / 438.1 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.2867, allocations: 12.81 kB / 438.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.507e-05/0.2867, allocations: 28.38 kB / 438.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006632/0.2874, allocations: 278 kB / 438.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.2874, allocations: 0 / 438.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.2874, allocations: 8 kB / 438.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.2875, allocations: 4 kB / 438.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007608/0.2882, allocations: 241.6 kB / 438.6 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.2899, allocations: 0.9522 MB / 439.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008468/0.2908, allocations: 234.5 kB / 439.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/0.2911, allocations: 92.78 kB / 439.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.2911, allocations: 4 kB / 439.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004774/0.2916, allocations: 181.7 kB / 440.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.2916, allocations: 0 / 440.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002437/0.294, allocations: 0.6513 MB / 440.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.042e-05/0.2941, allocations: 114.8 kB / 440.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/0.2944, allocations: 274.5 kB / 441.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.2945, allocations: 33.7 kB / 441.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.2946, allocations: 180.2 kB / 441.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/0.2946, allocations: 47.56 kB / 441.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.661e-05/0.2947, allocations: 45.66 kB / 441.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.2949, allocations: 342.8 kB / 441.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.2953, allocations: 99.92 kB / 441.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/0.2957, allocations: 178.2 kB / 442 MB, free: 13.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007348/0.2964, allocations: 288.8 kB / 442.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.2964, allocations: 8 kB / 442.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001265/0.2977, allocations: 439.7 kB / 442.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.2977, allocations: 37.77 kB / 442.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.2977, allocations: 4 kB / 442.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003953/0.2981, allocations: 76.8 kB / 442.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.2983, allocations: 43.95 kB / 442.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003136/0.3015, allocations: 2.006 MB / 444.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/0.3018, allocations: 43.86 kB / 445 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.3018, allocations: 11.98 kB / 445 MB, free: 9.941 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.000184/0.302, allocations: 138.1 kB / 445.1 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.3021, allocations: 27.8 kB / 445.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.509e-05/0.3021, allocations: 37.89 kB / 445.2 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3021, allocations: 0 / 445.2 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3021, allocations: 8 kB / 445.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3021, allocations: 0 / 445.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.3025, allocations: 293.4 kB / 445.5 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3025, allocations: 0 / 445.5 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.3026, allocations: 23.97 kB / 445.5 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003105/0.3029, allocations: 76.8 kB / 445.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.3029, allocations: 7.938 kB / 445.6 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/0.3057, allocations: 1.912 MB / 447.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.3057, allocations: 7.969 kB / 447.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.3068, allocations: 363.9 kB / 447.8 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.3069, allocations: 104.9 kB / 447.9 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.3069, allocations: 128 / 448 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.3072, allocations: 43.95 kB / 448 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/0.3072, allocations: 19.97 kB / 448 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.3073, allocations: 4 kB / 448 MB, free: 6.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002141/0.3075, allocations: 186 kB / 448.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3075, allocations: 0 / 448.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004116/0.3079, allocations: 71.95 kB / 448.3 MB, free: 6.41 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.0001859/0.3081, allocations: 119.1 kB / 448.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.3094, allocations: 467 kB / 448.8 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3094, allocations: 4.375 kB / 448.8 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005064/0.3099, allocations: 230.5 kB / 449.1 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.3103, allocations: 52.39 kB / 449.1 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/0.3135, allocations: 0.9383 MB / 450.1 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.314, allocations: 0.744 MB / 450.8 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.107e-05/0.314, allocations: 19.44 kB / 450.8 MB, free: 3.746 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.314, allocations: 0 / 450.8 MB, free: 3.746 MB / 350.1 MB Notification: Performance of Templates: time 0.007123/0.3212, allocations: 4.219 MB / 455 MB, free: 15.55 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.302772046998143]