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.000885/0.000885, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.0009216/0.0009216, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9476/0.9476, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] 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 1.543e-06/1.543e-06, allocations: 0 / 272.9 MB, free: 1.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.745e-05, allocations: 6.25 kB / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.002907/0.002934, allocations: 2.817 MB / 275.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.004037, allocations: 0.6739 MB / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.004176, allocations: 11.94 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.004312, allocations: 43.52 kB / 276.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.004485, allocations: 103.2 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.004741, allocations: 79.83 kB / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.005067, allocations: 370.3 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.005218, allocations: 60.75 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.005435, allocations: 199.5 kB / 277.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.005578, allocations: 123.6 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.005617, allocations: 28 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.526e-05/0.005653, allocations: 32 kB / 277.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.798e-05/0.005701, allocations: 63.73 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.382e-05/0.005794, allocations: 107.7 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.006034, allocations: 215.2 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.006036, allocations: 0 / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.006037, allocations: 4 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.006043, allocations: 0 / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007589/0.006802, allocations: 0.6428 MB / 278.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.006839, allocations: 15.98 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.939e-05/0.006918, allocations: 52.73 kB / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.007205, allocations: 220 kB / 278.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.007222, allocations: 16.88 kB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.007253, allocations: 28.38 kB / 278.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.007575, allocations: 266.4 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.007586, allocations: 192 / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.007604, allocations: 4.375 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.007615, allocations: 11.94 kB / 279.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.007764, allocations: 86.94 kB / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009179/0.008681, allocations: 0.808 MB / 280 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.008899, allocations: 111.2 kB / 280.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.126e-05/0.00896, allocations: 39.66 kB / 280.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.008985, allocations: 7.984 kB / 280.1 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/0.009177, allocations: 220.8 kB / 280.4 MB, free: 9.734 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.009178, allocations: 0 / 280.4 MB, free: 9.734 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006866/0.009865, allocations: 292.1 kB / 280.7 MB, free: 9.441 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.009919, allocations: 132.5 kB / 280.8 MB, free: 9.281 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.01011, allocations: 296.3 kB / 281.1 MB, free: 8.977 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.01013, allocations: 25.7 kB / 281.1 MB, free: 8.945 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.795e-05/0.01022, allocations: 230.9 kB / 281.3 MB, free: 8.715 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.01025, allocations: 55.53 kB / 281.4 MB, free: 8.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/0.01032, allocations: 47.36 kB / 281.4 MB, free: 8.605 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.01043, allocations: 0.5117 MB / 281.9 MB, free: 8.082 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.039e-05/0.0105, allocations: 57.69 kB / 282 MB, free: 8.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.01063, allocations: 235.5 kB / 282.2 MB, free: 7.723 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.01077, allocations: 167.5 kB / 282.4 MB, free: 7.527 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01077, allocations: 0 / 282.4 MB, free: 7.527 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003346/0.01111, allocations: 296.3 kB / 282.7 MB, free: 7.215 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.01114, allocations: 36.3 kB / 282.7 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.01114, allocations: 4 kB / 282.7 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002868/0.01143, allocations: 83.8 kB / 282.8 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.01152, allocations: 35.97 kB / 282.8 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.01271, allocations: 1.984 MB / 284.8 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.01283, allocations: 35.83 kB / 284.8 MB, free: 4.898 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.01284, allocations: 8 kB / 284.9 MB, free: 4.891 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 9.502e-05/0.01294, allocations: 176.5 kB / 285 MB, free: 4.707 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.01297, allocations: 31.84 kB / 285.1 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.01299, allocations: 22.12 kB / 285.1 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.01299, allocations: 0 / 285.1 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.013, allocations: 8 kB / 285.1 MB, free: 4.641 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.013, allocations: 3.984 kB / 285.1 MB, free: 4.637 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.01314, allocations: 208.4 kB / 285.3 MB, free: 4.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01315, allocations: 0 / 285.3 MB, free: 4.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.304e-05/0.0132, allocations: 15.98 kB / 285.3 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001989/0.0134, allocations: 91.73 kB / 285.4 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.01341, allocations: 7.984 kB / 285.4 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009341/0.01434, allocations: 1.977 MB / 287.4 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.01435, allocations: 3.938 kB / 287.4 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.01459, allocations: 219.8 kB / 287.6 MB, free: 1.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.429e-05/0.01462, allocations: 23.86 kB / 287.6 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.01464, allocations: 0 / 287.6 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.435e-05/0.01472, allocations: 27.97 kB / 287.7 MB, free: 1.879 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.01478, allocations: 23.95 kB / 287.7 MB, free: 1.855 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.01479, allocations: 8 kB / 287.7 MB, free: 1.848 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000107/0.0149, allocations: 205.1 kB / 287.9 MB, free: 1.652 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0149, allocations: 4 kB / 287.9 MB, free: 1.648 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002205/0.01512, allocations: 79.84 kB / 288 MB, free: 1.57 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,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 (11): * Single equations (assignments): 8 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 9.972e-05/0.01522, allocations: 103.2 kB / 288.1 MB, free: 1.461 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003769/0.0156, allocations: 389.4 kB / 288.4 MB, free: 1.043 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.0156, allocations: 0 / 288.4 MB, free: 1.043 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.01576, allocations: 253.7 kB / 288.7 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.01598, allocations: 47.88 kB / 288.7 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009626/0.01694, allocations: 487.1 kB / 289.2 MB, free: 232 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.106e-05/0.01699, allocations: 84.17 kB / 289.3 MB, free: 128 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.129e-05/0.01705, allocations: 22.28 kB / 289.3 MB, free: 108 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.971e-05/0.0171, allocations: 28.48 kB / 289.3 MB, free: 80 kB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.0171, allocations: 4 kB / 289.4 MB, free: 76 kB / 266.7 MB Notification: Performance of Templates: time 0.005728/0.02283, allocations: 4.126 MB / 293.5 MB, free: 11.99 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0204933118075132]