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.001676/0.001676, allocations: 84.69 kB / 21.43 MB, free: 296 kB / 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.001843/0.001843, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 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.394/1.394, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 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.804e-06/1.804e-06, allocations: 0 / 299 MB, free: 8.691 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.59e-05/3.77e-05, allocations: 6.219 kB / 299 MB, free: 8.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004406/0.004443, allocations: 2.548 MB / 301.5 MB, free: 6.113 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.005803, allocations: 0.6903 MB / 302.2 MB, free: 5.414 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.005973, allocations: 7.938 kB / 302.2 MB, free: 5.406 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.00613, allocations: 39.58 kB / 302.3 MB, free: 5.367 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.006345, allocations: 95.19 kB / 302.4 MB, free: 5.273 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.006695, allocations: 99.8 kB / 302.5 MB, free: 5.176 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004809/0.007176, allocations: 374.3 kB / 302.8 MB, free: 4.809 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.007372, allocations: 48.92 kB / 302.9 MB, free: 4.766 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003166/0.007688, allocations: 203.4 kB / 303.1 MB, free: 4.566 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.007932, allocations: 111.7 kB / 303.2 MB, free: 4.457 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.739e-05/0.008009, allocations: 32 kB / 303.2 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.456e-05/0.008074, allocations: 28 kB / 303.2 MB, free: 4.398 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.977e-05/0.008174, allocations: 67.69 kB / 303.3 MB, free: 4.332 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.008355, allocations: 107.7 kB / 303.4 MB, free: 4.227 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005195/0.008874, allocations: 334.9 kB / 303.7 MB, free: 3.898 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.008878, allocations: 0 / 303.7 MB, free: 3.898 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.00888, allocations: 0 / 303.7 MB, free: 3.898 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.008886, allocations: 4 kB / 303.7 MB, free: 3.895 MB / 286.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.001435/0.01032, allocations: 0.5702 MB / 304.3 MB, free: 3.289 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.01037, allocations: 15.98 kB / 304.3 MB, free: 3.273 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.966e-05/0.01046, allocations: 32.75 kB / 304.4 MB, free: 3.242 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.01095, allocations: 225.2 kB / 304.6 MB, free: 2.996 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.01097, allocations: 12.88 kB / 304.6 MB, free: 2.984 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.01102, allocations: 24.36 kB / 304.6 MB, free: 2.961 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007052/0.01173, allocations: 299.9 kB / 304.9 MB, free: 2.648 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.01174, allocations: 4.188 kB / 304.9 MB, free: 2.645 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.01178, allocations: 12.38 kB / 304.9 MB, free: 2.633 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.01178, allocations: 7.938 kB / 304.9 MB, free: 2.625 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007707/0.01256, allocations: 245.8 kB / 305.2 MB, free: 2.387 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.01425, allocations: 0.7315 MB / 305.9 MB, free: 1.605 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008721/0.01512, allocations: 230.5 kB / 306.1 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003411/0.01546, allocations: 100.8 kB / 306.2 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.01548, allocations: 0 / 306.2 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005072/0.01599, allocations: 229.3 kB / 306.5 MB, free: 1.012 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.01599, allocations: 0 / 306.5 MB, free: 1.012 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.002505/0.0185, allocations: 0.5916 MB / 307 MB, free: 420 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.422e-05/0.01859, allocations: 110.8 kB / 307.2 MB, free: 284 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/0.01892, allocations: 253.7 kB / 307.4 MB, free: 20 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.918e-05/0.01897, allocations: 25.7 kB / 307.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.01913, allocations: 184.2 kB / 307.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.01917, allocations: 39.69 kB / 307.6 MB, free: 15.76 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-05/0.01925, allocations: 45.66 kB / 307.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.01941, allocations: 334.8 kB / 308 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.01979, allocations: 138.5 kB / 308.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004576/0.02025, allocations: 240.8 kB / 308.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007129/0.02096, allocations: 265.9 kB / 308.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.02096, allocations: 4 kB / 308.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00134/0.0223, allocations: 465.4 kB / 309.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.271e-05/0.02235, allocations: 33.73 kB / 309.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.02235, allocations: 7.984 kB / 309.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004811/0.02284, allocations: 72.81 kB / 309.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.02303, allocations: 39.95 kB / 309.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/0.02598, allocations: 1.821 MB / 311.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.02632, allocations: 48.14 kB / 311.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.02635, allocations: 15.92 kB / 311.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003929/0.02674, allocations: 213.7 kB / 311.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003866/0.02713, allocations: 224.6 kB / 311.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000553/0.02768, allocations: 230.5 kB / 311.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.02768, allocations: 4 kB / 311.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0008589/0.02854, allocations: 341.5 kB / 312.1 MB, free: 10.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.02858, allocations: 29.7 kB / 312.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.02858, allocations: 8 kB / 312.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001158/0.0287, allocations: 32.97 kB / 312.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.02889, allocations: 47.95 kB / 312.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.03028, allocations: 1.469 MB / 313.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/0.03058, allocations: 43.89 kB / 313.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.03059, allocations: 12.06 kB / 313.8 MB, free: 9.195 MB / 302.1 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.0001629/0.03076, allocations: 192.2 kB / 314 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.0308, allocations: 31.78 kB / 314 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.776e-05/0.03085, allocations: 17.78 kB / 314 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/0.03085, allocations: 4.141 kB / 314 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.03085, allocations: 0 / 314 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.03086, allocations: 7.969 kB / 314 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.03117, allocations: 201.2 kB / 314.2 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.03117, allocations: 0 / 314.2 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.03131, allocations: 27.97 kB / 314.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003367/0.03165, allocations: 72.8 kB / 314.3 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.03167, allocations: 7.938 kB / 314.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002628/0.0343, allocations: 1.62 MB / 315.9 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.0343, allocations: 0 / 315.9 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.03538, allocations: 353.6 kB / 316.3 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.03543, allocations: 27.83 kB / 316.3 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.03546, allocations: 7.938 kB / 316.3 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.03571, allocations: 27.97 kB / 316.3 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.03579, allocations: 23.91 kB / 316.4 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.0358, allocations: 7.984 kB / 316.4 MB, free: 6.418 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001897/0.03599, allocations: 181.2 kB / 316.6 MB, free: 6.242 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.03599, allocations: 0 / 316.6 MB, free: 6.242 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000547/0.03654, allocations: 127.7 kB / 316.7 MB, free: 6.117 MB / 302.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.0002158/0.03675, allocations: 103.9 kB / 316.8 MB, free: 6.008 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001574/0.03833, allocations: 0.7298 MB / 317.5 MB, free: 5.215 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.03833, allocations: 4 kB / 317.5 MB, free: 5.211 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005544/0.03889, allocations: 231.2 kB / 317.7 MB, free: 4.973 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.0392, allocations: 40.61 kB / 317.8 MB, free: 4.934 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009806/0.04018, allocations: 442.3 kB / 318.2 MB, free: 4.469 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.0403, allocations: 142.5 kB / 318.4 MB, free: 4.316 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.04042, allocations: 29.92 kB / 318.4 MB, free: 4.285 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.526e-05/0.04048, allocations: 20.5 kB / 318.4 MB, free: 4.266 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.04048, allocations: 0 / 318.4 MB, free: 4.266 MB / 302.1 MB Notification: Performance of Templates: time 0.009618/0.0501, allocations: 4.184 MB / 322.6 MB, free: 80 kB / 302.1 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.402728095650673]