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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 109.5 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 183.5 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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.001603/0.001603, allocations: 43.92 kB / 371 MB, free: 9.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2994, allocations: 52.18 MB / 423.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.00445/0.3039, allocations: 2.787 MB / 425.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.3052, allocations: 0.6817 MB / 426.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.3053, allocations: 11.94 kB / 426.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.3055, allocations: 47.56 kB / 426.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.3057, allocations: 87.25 kB / 426.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.306, allocations: 95.81 kB / 426.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004617/0.3065, allocations: 358.5 kB / 427.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.3067, allocations: 60.89 kB / 427.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.3069, allocations: 139.5 kB / 427.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.3071, allocations: 151.4 kB / 427.6 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.704e-05/0.3071, allocations: 28 kB / 427.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.731e-05/0.3072, allocations: 28 kB / 427.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.849e-05/0.3073, allocations: 67.7 kB / 427.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.3074, allocations: 147.2 kB / 427.8 MB, free: 9.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004265/0.3079, allocations: 319.9 kB / 428.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3079, allocations: 0 / 428.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3079, allocations: 4 kB / 428.1 MB, free: 9.684 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.3079, allocations: 0 / 428.1 MB, free: 9.684 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.3093, allocations: 0.5741 MB / 428.7 MB, free: 9.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3093, allocations: 8.031 kB / 428.7 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.409e-05/0.3094, allocations: 40.69 kB / 428.8 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/0.3099, allocations: 222 kB / 429 MB, free: 8.785 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/0.3099, allocations: 20.81 kB / 429 MB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.3099, allocations: 20.38 kB / 429 MB, free: 8.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007226/0.3107, allocations: 278 kB / 429.3 MB, free: 8.461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3107, allocations: 4 kB / 429.3 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.3107, allocations: 8 kB / 429.3 MB, free: 8.449 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.3107, allocations: 4 kB / 429.3 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008325/0.3116, allocations: 249.6 kB / 429.5 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.3132, allocations: 0.9018 MB / 430.4 MB, free: 7.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008934/0.3141, allocations: 230.6 kB / 430.7 MB, free: 7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/0.3144, allocations: 96.78 kB / 430.8 MB, free: 6.902 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.3145, allocations: 4 kB / 430.8 MB, free: 6.898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005463/0.315, allocations: 185 kB / 430.9 MB, free: 6.699 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/0.315, allocations: 0 / 430.9 MB, free: 6.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002507/0.3175, allocations: 0.576 MB / 431.5 MB, free: 6.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001685/0.3177, allocations: 106.8 kB / 431.6 MB, free: 5.984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/0.3181, allocations: 269.8 kB / 431.9 MB, free: 5.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.3181, allocations: 29.7 kB / 431.9 MB, free: 5.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.3184, allocations: 172.1 kB / 432.1 MB, free: 5.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.3184, allocations: 47.58 kB / 432.1 MB, free: 5.453 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.061e-05/0.3185, allocations: 41.7 kB / 432.2 MB, free: 5.406 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.3187, allocations: 346.7 kB / 432.5 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003993/0.3191, allocations: 96.14 kB / 432.6 MB, free: 4.965 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004933/0.3196, allocations: 171.9 kB / 432.8 MB, free: 4.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007602/0.3203, allocations: 275.5 kB / 433 MB, free: 4.473 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.3203, allocations: 4 kB / 433 MB, free: 4.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001312/0.3217, allocations: 427.6 kB / 433.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.878e-05/0.3217, allocations: 45.75 kB / 433.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.3217, allocations: 0 / 433.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004077/0.3221, allocations: 72.8 kB / 433.6 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.3223, allocations: 39.97 kB / 433.6 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003133/0.3255, allocations: 1.859 MB / 435.5 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.3258, allocations: 47.84 kB / 435.5 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.3258, allocations: 12.06 kB / 435.5 MB, free: 1.836 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.0001655/0.326, allocations: 137.8 kB / 435.7 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.326, allocations: 19.86 kB / 435.7 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.168e-05/0.3261, allocations: 29.72 kB / 435.7 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3261, allocations: 3.984 kB / 435.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.3261, allocations: 0 / 435.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3261, allocations: 0 / 435.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.3264, allocations: 260.6 kB / 436 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3264, allocations: 4 kB / 436 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.3265, allocations: 35.91 kB / 436 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002771/0.3268, allocations: 68.8 kB / 436.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.3268, allocations: 11.94 kB / 436.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002574/0.3294, allocations: 1.655 MB / 437.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3294, allocations: 0 / 437.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.3306, allocations: 357.6 kB / 438.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.3306, allocations: 27.8 kB / 438.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.3307, allocations: 8.125 kB / 438.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.3309, allocations: 35.95 kB / 438.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-05/0.331, allocations: 19.97 kB / 438.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.331, allocations: 4 kB / 438.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002177/0.3313, allocations: 189.2 kB / 438.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3313, allocations: 4 kB / 438.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003912/0.3316, allocations: 71.95 kB / 438.5 MB, free: 14.73 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.0001517/0.3318, allocations: 99.23 kB / 438.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.333, allocations: 413.8 kB / 439 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.333, allocations: 0 / 439 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005248/0.3335, allocations: 226.8 kB / 439.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.3338, allocations: 44.41 kB / 439.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.335, allocations: 461.7 kB / 439.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005568/0.3356, allocations: 0.748 MB / 440.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.3357, allocations: 18.3 kB / 440.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.3358, allocations: 19.44 kB / 440.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3358, allocations: 0 / 440.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of Templates: time 0.009672/0.3455, allocations: 4.015 MB / 444.5 MB, free: 8.648 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 4.589542504400015]