Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.001792/0.001792, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.002268/0.002268, allocations: 210.7 kB / 24.54 MB, free: 3.879 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 230.3 MB / 258 MB, free: 8.211 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 67.89 kB / 378.8 MB, free: 2.754 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2855, allocations: 53.36 MB / 432.2 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004723/0.2902, allocations: 2.813 MB / 435 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.2918, allocations: 0.7129 MB / 435.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.292, allocations: 7.938 kB / 435.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.2922, allocations: 43.56 kB / 435.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.2924, allocations: 95.25 kB / 435.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.2928, allocations: 99.81 kB / 435.9 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004974/0.2933, allocations: 354.5 kB / 436.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.2935, allocations: 56.91 kB / 436.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.2937, allocations: 139.4 kB / 436.5 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.2939, allocations: 151.4 kB / 436.6 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.831e-05/0.294, allocations: 28 kB / 436.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-05/0.2941, allocations: 28 kB / 436.7 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.529e-05/0.2941, allocations: 67.77 kB / 436.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.2943, allocations: 147.2 kB / 436.9 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004412/0.2948, allocations: 328.3 kB / 437.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2948, allocations: 0 / 437.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.2948, allocations: 4 kB / 437.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.2948, allocations: 0 / 437.2 MB, free: 2.016 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.001433/0.2962, allocations: 0.5741 MB / 437.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2962, allocations: 12.02 kB / 437.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.623e-05/0.2963, allocations: 32.75 kB / 437.8 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004253/0.2968, allocations: 225.9 kB / 438 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.2968, allocations: 16.81 kB / 438 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.2968, allocations: 20.38 kB / 438.1 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007242/0.2975, allocations: 278.1 kB / 438.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.2976, allocations: 0 / 438.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.2976, allocations: 4 kB / 438.3 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.2976, allocations: 8 kB / 438.4 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008415/0.2984, allocations: 249.5 kB / 438.6 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.3002, allocations: 0.9098 MB / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009234/0.3012, allocations: 230.6 kB / 439.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003612/0.3015, allocations: 104.8 kB / 439.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.3016, allocations: 8 kB / 439.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005177/0.3021, allocations: 177.4 kB / 440 MB, free: 15.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.3021, allocations: 0 / 440 MB, free: 15.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002538/0.3046, allocations: 0.5721 MB / 440.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.972e-05/0.3047, allocations: 106.8 kB / 440.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.305, allocations: 269.8 kB / 441 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.305, allocations: 29.7 kB / 441 MB, free: 14.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.3052, allocations: 180.1 kB / 441.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.506e-05/0.3052, allocations: 43.61 kB / 441.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.218e-05/0.3053, allocations: 49.66 kB / 441.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3055, allocations: 334.8 kB / 441.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003897/0.3059, allocations: 103.9 kB / 441.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004336/0.3063, allocations: 167.5 kB / 441.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008195/0.3071, allocations: 264.4 kB / 442.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3071, allocations: 0 / 442.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001334/0.3085, allocations: 438.2 kB / 442.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.717e-05/0.3085, allocations: 29.7 kB / 442.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3085, allocations: 7.984 kB / 442.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003996/0.3089, allocations: 76.88 kB / 442.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.3091, allocations: 47.89 kB / 442.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.3121, allocations: 1.843 MB / 444.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/0.3124, allocations: 51.84 kB / 444.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.3124, allocations: 4 kB / 444.6 MB, free: 10.19 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.0001602/0.3126, allocations: 145.8 kB / 444.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.3126, allocations: 23.86 kB / 444.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.404e-05/0.3127, allocations: 25.72 kB / 444.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3127, allocations: 3.984 kB / 444.8 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.3127, allocations: 3.938 kB / 444.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3127, allocations: 0 / 444.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.313, allocations: 272.5 kB / 445 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.313, allocations: 0 / 445 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.3131, allocations: 23.97 kB / 445.1 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002772/0.3134, allocations: 76.92 kB / 445.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.3134, allocations: 15.88 kB / 445.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002456/0.3159, allocations: 1.643 MB / 446.8 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3159, allocations: 0 / 446.8 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.317, allocations: 357.6 kB / 447.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.317, allocations: 27.8 kB / 447.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.3171, allocations: 7.938 kB / 447.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.3173, allocations: 35.95 kB / 447.2 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.86e-05/0.3174, allocations: 23.95 kB / 447.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.3174, allocations: 4 kB / 447.3 MB, free: 7.332 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002042/0.3176, allocations: 193.2 kB / 447.4 MB, free: 7.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3176, allocations: 0 / 447.4 MB, free: 7.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003428/0.318, allocations: 67.95 kB / 447.5 MB, free: 7.074 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.000144/0.3181, allocations: 107.2 kB / 447.6 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.3192, allocations: 401.9 kB / 448 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3192, allocations: 0 / 448 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000522/0.3197, allocations: 230.5 kB / 448.2 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.32, allocations: 43.66 kB / 448.3 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.3211, allocations: 470 kB / 448.7 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.3215, allocations: 0.7401 MB / 449.5 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.613e-05/0.3216, allocations: 26.23 kB / 449.5 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.3216, allocations: 23.44 kB / 449.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3216, allocations: 0 / 449.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of Templates: time 0.008575/0.3302, allocations: 4.034 MB / 453.6 MB, free: 0.9648 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.661229784600437]