Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001539/0.001539, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 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.001522/0.001522, allocations: 166.3 kB / 25.02 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 158.6 MB / 186.8 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 250.4 MB, free: 7.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/2.997e-05, allocations: 5.406 kB / 250.4 MB, free: 7.801 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.006632/0.006662, allocations: 2.548 MB / 252.9 MB, free: 5.234 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00242/0.009082, allocations: 0.6981 MB / 253.6 MB, free: 4.527 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.009243, allocations: 7.938 kB / 253.6 MB, free: 4.52 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000211/0.009454, allocations: 43.56 kB / 253.7 MB, free: 4.477 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.00981, allocations: 95.25 kB / 253.8 MB, free: 4.383 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.01028, allocations: 99.69 kB / 253.9 MB, free: 4.285 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008078/0.01108, allocations: 370.3 kB / 254.2 MB, free: 3.922 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/0.01135, allocations: 52.89 kB / 254.3 MB, free: 3.867 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000483/0.01183, allocations: 203.5 kB / 254.5 MB, free: 3.668 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/0.01216, allocations: 111.7 kB / 254.6 MB, free: 3.559 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.01226, allocations: 32 kB / 254.6 MB, free: 3.527 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.955e-05/0.01235, allocations: 28 kB / 254.7 MB, free: 3.5 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.01246, allocations: 67.69 kB / 254.7 MB, free: 3.434 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.0127, allocations: 99.75 kB / 254.8 MB, free: 3.332 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.01371, allocations: 338.9 kB / 255.2 MB, free: 3 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.01372, allocations: 4 kB / 255.2 MB, free: 2.996 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01372, allocations: 0 / 255.2 MB, free: 2.996 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.01373, allocations: 0 / 255.2 MB, free: 2.996 MB / 234.7 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.002224/0.01596, allocations: 0.5703 MB / 255.7 MB, free: 2.391 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.01601, allocations: 11.98 kB / 255.7 MB, free: 2.379 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.01621, allocations: 56.69 kB / 255.8 MB, free: 2.324 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00072/0.01693, allocations: 225.2 kB / 256 MB, free: 2.078 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.7e-05/0.01696, allocations: 20.81 kB / 256 MB, free: 2.059 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.874e-05/0.01703, allocations: 20.38 kB / 256.1 MB, free: 2.039 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.01825, allocations: 296 kB / 256.3 MB, free: 1.73 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.01827, allocations: 4.188 kB / 256.4 MB, free: 1.727 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/0.01831, allocations: 8.375 kB / 256.4 MB, free: 1.719 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.01832, allocations: 7.938 kB / 256.4 MB, free: 1.711 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.0198, allocations: 237.8 kB / 256.6 MB, free: 1.477 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002926/0.02272, allocations: 0.7511 MB / 257.4 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.02421, allocations: 226.6 kB / 257.6 MB, free: 456 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006509/0.02486, allocations: 92.78 kB / 257.7 MB, free: 360 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.02489, allocations: 4 kB / 257.7 MB, free: 356 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009299/0.02582, allocations: 233.2 kB / 257.9 MB, free: 88 kB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.004e-06/0.02582, allocations: 0 / 257.9 MB, free: 88 kB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.004529/0.03035, allocations: 0.5994 MB / 258.5 MB, free: 15.48 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.03048, allocations: 110.8 kB / 258.6 MB, free: 15.34 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005374/0.03102, allocations: 249.7 kB / 258.8 MB, free: 15.09 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/0.03108, allocations: 29.7 kB / 258.9 MB, free: 15.06 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.03132, allocations: 176.2 kB / 259 MB, free: 14.88 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.289e-05/0.03141, allocations: 43.69 kB / 259.1 MB, free: 14.84 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.03157, allocations: 45.66 kB / 259.1 MB, free: 14.79 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002856/0.03186, allocations: 330.8 kB / 259.5 MB, free: 14.46 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006938/0.03255, allocations: 138.5 kB / 259.6 MB, free: 14.31 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000842/0.03339, allocations: 244.7 kB / 259.8 MB, free: 14.03 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.0347, allocations: 250.8 kB / 260.1 MB, free: 13.76 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.0347, allocations: 224 / 260.1 MB, free: 13.76 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002494/0.03719, allocations: 485.3 kB / 260.5 MB, free: 13.26 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.526e-05/0.03726, allocations: 37.64 kB / 260.6 MB, free: 13.22 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.03727, allocations: 4 kB / 260.6 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.03841, allocations: 144.7 kB / 260.7 MB, free: 13.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.03877, allocations: 35.97 kB / 260.8 MB, free: 13.04 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004701/0.04347, allocations: 1.821 MB / 262.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004221/0.04389, allocations: 51.94 kB / 262.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.04392, allocations: 8 kB / 262.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004212/0.04434, allocations: 201.8 kB / 262.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004047/0.04475, allocations: 224.7 kB / 263.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006151/0.04536, allocations: 223.6 kB / 263.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.694e-06/0.04537, allocations: 0 / 263.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0008697/0.04624, allocations: 368.5 kB / 263.6 MB, free: 9.953 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.04627, allocations: 29.7 kB / 263.7 MB, free: 9.918 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.04628, allocations: 4 kB / 263.7 MB, free: 9.914 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001909/0.04647, allocations: 48.94 kB / 263.7 MB, free: 9.863 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.04667, allocations: 39.97 kB / 263.8 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.04817, allocations: 1.489 MB / 265.2 MB, free: 8.234 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/0.04849, allocations: 43.92 kB / 265.3 MB, free: 8.191 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.04851, allocations: 15.98 kB / 265.3 MB, free: 8.176 MB / 250.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: 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 (18): * Single equations (assignments): 16 * 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.0001879/0.0487, allocations: 192.2 kB / 265.5 MB, free: 7.98 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.349e-05/0.04877, allocations: 27.8 kB / 265.5 MB, free: 7.953 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.774e-05/0.04882, allocations: 25.77 kB / 265.5 MB, free: 7.926 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.04883, allocations: 4 kB / 265.6 MB, free: 7.922 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.04883, allocations: 0 / 265.6 MB, free: 7.922 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.04883, allocations: 0 / 265.6 MB, free: 7.922 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.04911, allocations: 197.2 kB / 265.7 MB, free: 7.699 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.04911, allocations: 0 / 265.7 MB, free: 7.699 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.04925, allocations: 15.98 kB / 265.8 MB, free: 7.684 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006829/0.04994, allocations: 140.7 kB / 265.9 MB, free: 7.543 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.04996, allocations: 7.938 kB / 265.9 MB, free: 7.535 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002607/0.05257, allocations: 1.628 MB / 267.5 MB, free: 5.805 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.05257, allocations: 0 / 267.5 MB, free: 5.805 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.05374, allocations: 361.5 kB / 267.9 MB, free: 5.434 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.05379, allocations: 23.84 kB / 267.9 MB, free: 5.41 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.05383, allocations: 7.938 kB / 267.9 MB, free: 5.402 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.05408, allocations: 31.97 kB / 267.9 MB, free: 5.371 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-05/0.05417, allocations: 31.89 kB / 268 MB, free: 5.34 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.05418, allocations: 0 / 268 MB, free: 5.34 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002126/0.05439, allocations: 181.2 kB / 268.2 MB, free: 5.16 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05439, allocations: 0 / 268.2 MB, free: 5.16 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005837/0.05498, allocations: 131.7 kB / 268.3 MB, free: 5.031 MB / 250.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: 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.0001515/0.05513, allocations: 103.2 kB / 268.4 MB, free: 4.918 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001661/0.05679, allocations: 0.733 MB / 269.1 MB, free: 4.125 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.05679, allocations: 4.125 kB / 269.1 MB, free: 4.121 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005133/0.0573, allocations: 218.5 kB / 269.3 MB, free: 3.895 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.05765, allocations: 56 kB / 269.4 MB, free: 3.844 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.05888, allocations: 444.8 kB / 269.8 MB, free: 3.383 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.05905, allocations: 142.5 kB / 270 MB, free: 3.223 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000121/0.05917, allocations: 21.95 kB / 270 MB, free: 3.203 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.021e-05/0.05924, allocations: 20.5 kB / 270 MB, free: 3.184 MB / 250.7 MB Notification: Performance of SimCode: time 6.12e-07/0.05924, allocations: 3.938 kB / 270 MB, free: 3.18 MB / 250.7 MB Notification: Performance of Templates: time 0.00989/0.06913, allocations: 4.207 MB / 274.2 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.557347281021066]