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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 103.2 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 196.5 kB / 22.76 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 251.4 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] 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.001504/0.001504, allocations: 47.92 kB / 369.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2658, allocations: 52.15 MB / 421.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004288/0.2701, allocations: 2.767 MB / 424.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.2714, allocations: 0.6739 MB / 424.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.2716, allocations: 4 kB / 424.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.2717, allocations: 43.58 kB / 424.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.2719, allocations: 91.25 kB / 424.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.2722, allocations: 95.81 kB / 425 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004199/0.2726, allocations: 362.5 kB / 425.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.2728, allocations: 60.66 kB / 425.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.273, allocations: 127.5 kB / 425.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.2732, allocations: 159.3 kB / 425.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.66e-05/0.2732, allocations: 28 kB / 425.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.674e-05/0.2733, allocations: 36 kB / 425.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.34e-05/0.2734, allocations: 59.77 kB / 425.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.2735, allocations: 139.3 kB / 426 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004088/0.2739, allocations: 327.9 kB / 426.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2739, allocations: 3.938 kB / 426.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.2739, allocations: 0 / 426.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.2739, allocations: 0 / 426.3 MB, free: 10.2 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.001265/0.2752, allocations: 0.6532 MB / 426.9 MB, free: 9.496 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.455e-05/0.2752, allocations: 8.031 kB / 426.9 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.743e-05/0.2753, allocations: 32.75 kB / 427 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.2757, allocations: 279.9 kB / 427.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.2757, allocations: 20.8 kB / 427.3 MB, free: 9.125 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.2757, allocations: 16.38 kB / 427.3 MB, free: 9.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006273/0.2764, allocations: 273.9 kB / 427.5 MB, free: 8.828 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.2764, allocations: 0 / 427.5 MB, free: 8.828 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.2764, allocations: 19.92 kB / 427.6 MB, free: 8.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.2764, allocations: 8 kB / 427.6 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007118/0.2771, allocations: 237.6 kB / 427.8 MB, free: 8.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.2787, allocations: 0.9483 MB / 428.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000771/0.2794, allocations: 242.5 kB / 429 MB, free: 7.301 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.2797, allocations: 92.78 kB / 429.1 MB, free: 7.207 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.2798, allocations: 8 kB / 429.1 MB, free: 7.199 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000449/0.2802, allocations: 173.8 kB / 429.3 MB, free: 7.008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.2802, allocations: 0 / 429.3 MB, free: 7.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002209/0.2824, allocations: 0.6508 MB / 429.9 MB, free: 6.332 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/0.2825, allocations: 118.8 kB / 430 MB, free: 6.191 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.2828, allocations: 270.5 kB / 430.3 MB, free: 5.922 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.2828, allocations: 29.7 kB / 430.3 MB, free: 5.887 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.2829, allocations: 176.4 kB / 430.5 MB, free: 5.711 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.283, allocations: 43.64 kB / 430.5 MB, free: 5.668 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.2831, allocations: 45.64 kB / 430.6 MB, free: 5.617 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.2832, allocations: 330.8 kB / 430.9 MB, free: 5.285 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.2835, allocations: 103.9 kB / 431 MB, free: 5.184 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/0.2839, allocations: 171.9 kB / 431.2 MB, free: 4.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006581/0.2846, allocations: 267.5 kB / 431.4 MB, free: 4.699 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2846, allocations: 0 / 431.4 MB, free: 4.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001182/0.2858, allocations: 431.7 kB / 431.9 MB, free: 4.262 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.2858, allocations: 33.69 kB / 431.9 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2858, allocations: 4 kB / 431.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003213/0.2861, allocations: 80.86 kB / 432 MB, free: 4.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.2863, allocations: 39.91 kB / 432 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/0.289, allocations: 1.958 MB / 434 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.2893, allocations: 51.75 kB / 434 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.2894, allocations: 11.98 kB / 434 MB, free: 1.938 MB / 334.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.0001689/0.2895, allocations: 145.8 kB / 434.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.2896, allocations: 31.73 kB / 434.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.629e-05/0.2896, allocations: 21.83 kB / 434.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2896, allocations: 4 kB / 434.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.2896, allocations: 0 / 434.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2896, allocations: 0 / 434.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002999/0.2899, allocations: 289.5 kB / 434.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2899, allocations: 48 / 434.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.2901, allocations: 23.95 kB / 434.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002759/0.2903, allocations: 84.73 kB / 434.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.2904, allocations: 0 / 434.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00237/0.2927, allocations: 1.766 MB / 436.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2927, allocations: 0 / 436.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.2938, allocations: 357.6 kB / 436.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.159e-05/0.2939, allocations: 100.9 kB / 436.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.2939, allocations: 11.98 kB / 436.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.2942, allocations: 31.97 kB / 436.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.154e-05/0.2942, allocations: 23.91 kB / 436.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.2943, allocations: 4 kB / 436.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000201/0.2945, allocations: 190 kB / 437.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2945, allocations: 0 / 437.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003682/0.2948, allocations: 71.88 kB / 437.2 MB, free: 14.56 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.0001469/0.295, allocations: 115.2 kB / 437.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000977/0.296, allocations: 394 kB / 437.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.296, allocations: 3.938 kB / 437.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004818/0.2964, allocations: 230.5 kB / 437.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.2968, allocations: 52.97 kB / 437.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.2978, allocations: 476.7 kB / 438.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.2982, allocations: 0.744 MB / 439.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.486e-05/0.2983, allocations: 23.44 kB / 439.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2983, allocations: 4 kB / 439.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of Templates: time 0.006705/0.305, allocations: 4.17 MB / 443.3 MB, free: 8.285 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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