Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002049/0.002049, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002539/0.002539, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 7.992 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 47.92 kB / 378.3 MB, free: 2.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2902, allocations: 53.37 MB / 431.7 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004415/0.2946, allocations: 2.797 MB / 434.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.2961, allocations: 0.7283 MB / 435.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.2962, allocations: 4 kB / 435.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.2964, allocations: 47.52 kB / 435.2 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.2966, allocations: 91.25 kB / 435.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.2968, allocations: 95.83 kB / 435.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004335/0.2973, allocations: 354.6 kB / 435.8 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.2974, allocations: 56.91 kB / 435.8 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.2976, allocations: 135.5 kB / 436 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.2979, allocations: 155.3 kB / 436.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.153e-05/0.2979, allocations: 28 kB / 436.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.531e-05/0.298, allocations: 32 kB / 436.2 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.115e-05/0.298, allocations: 67.69 kB / 436.2 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.2982, allocations: 147.3 kB / 436.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004166/0.2986, allocations: 323.9 kB / 436.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2986, allocations: 0 / 436.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2986, allocations: 4 kB / 436.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.2986, allocations: 0 / 436.7 MB, free: 1.852 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.001308/0.2999, allocations: 0.5741 MB / 437.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3, allocations: 8.031 kB / 437.3 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.132e-05/0.3, allocations: 32.75 kB / 437.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004005/0.3004, allocations: 221.9 kB / 437.5 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.3005, allocations: 20.8 kB / 437.6 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.3005, allocations: 16.38 kB / 437.6 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006645/0.3012, allocations: 286 kB / 437.8 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3012, allocations: 0 / 437.8 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.3012, allocations: 12 kB / 437.9 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3012, allocations: 4 kB / 437.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007631/0.302, allocations: 241.6 kB / 438.1 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.3037, allocations: 0.9135 MB / 439 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008499/0.3046, allocations: 238.5 kB / 439.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/0.3049, allocations: 96.78 kB / 439.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.3049, allocations: 0 / 439.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004977/0.3054, allocations: 181.7 kB / 439.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.3054, allocations: 0 / 439.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002361/0.3078, allocations: 0.5838 MB / 440.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.3079, allocations: 102.8 kB / 440.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.3082, allocations: 265.8 kB / 440.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/0.3082, allocations: 29.7 kB / 440.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.3084, allocations: 176.1 kB / 440.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.3084, allocations: 51.56 kB / 440.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.287e-05/0.3085, allocations: 45.66 kB / 440.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3086, allocations: 338.8 kB / 441.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.309, allocations: 95.92 kB / 441.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004048/0.3094, allocations: 170.1 kB / 441.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007085/0.3101, allocations: 268.3 kB / 441.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3101, allocations: 0 / 441.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001262/0.3114, allocations: 430.2 kB / 442 MB, free: 12.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/0.3114, allocations: 41.62 kB / 442.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3114, allocations: 0 / 442.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004024/0.3118, allocations: 80.86 kB / 442.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.312, allocations: 35.97 kB / 442.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002921/0.315, allocations: 1.855 MB / 444 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.3153, allocations: 47.92 kB / 444.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.3153, allocations: 15.98 kB / 444.1 MB, free: 10.01 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.0001656/0.3155, allocations: 132.9 kB / 444.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.3155, allocations: 23.86 kB / 444.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.222e-05/0.3156, allocations: 29.7 kB / 444.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3156, allocations: 224 / 444.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.3156, allocations: 8 kB / 444.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3156, allocations: 3.938 kB / 444.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/0.3159, allocations: 260.5 kB / 444.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3159, allocations: 0 / 444.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.316, allocations: 31.91 kB / 444.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002871/0.3163, allocations: 76.8 kB / 444.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.3163, allocations: 7.938 kB / 444.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002394/0.3187, allocations: 1.651 MB / 446.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3187, allocations: 0 / 446.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.3199, allocations: 361.6 kB / 446.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.3199, allocations: 27.78 kB / 446.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.3199, allocations: 7.938 kB / 446.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.3202, allocations: 31.97 kB / 446.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/0.3203, allocations: 19.97 kB / 446.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.3203, allocations: 7.984 kB / 446.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002133/0.3205, allocations: 185.2 kB / 446.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3205, allocations: 0 / 446.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003786/0.3209, allocations: 71.95 kB / 447 MB, free: 6.91 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.0001465/0.321, allocations: 99.23 kB / 447.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.3221, allocations: 413.6 kB / 447.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3221, allocations: 448 / 447.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005067/0.3226, allocations: 230.1 kB / 447.7 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.3229, allocations: 44.45 kB / 447.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.3241, allocations: 459.6 kB / 448.2 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.3245, allocations: 0.748 MB / 449 MB, free: 4.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.994e-05/0.3246, allocations: 26.28 kB / 449 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.436e-05/0.3247, allocations: 19.42 kB / 449 MB, free: 4.801 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3247, allocations: 0 / 449 MB, free: 4.801 MB / 350.1 MB Notification: Performance of Templates: time 0.009517/0.3342, allocations: 4.04 MB / 453.1 MB, free: 0.7969 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.720143522135913]