Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.001311/0.001311, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.001351/0.001351, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.435/1.435, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.InvertingSchmittTrigger,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.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,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.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 55.92 kB / 371.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2861, allocations: 52.18 MB / 423.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004571/0.2907, allocations: 2.795 MB / 426.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.2925, allocations: 0.6778 MB / 427.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.2927, allocations: 7.938 kB / 427.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.2929, allocations: 35.58 kB / 427.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.2933, allocations: 103.2 kB / 427.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.2936, allocations: 95.81 kB / 427.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005688/0.2942, allocations: 354.5 kB / 428 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.2944, allocations: 60.89 kB / 428 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002715/0.2947, allocations: 139.4 kB / 428.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.295, allocations: 155.4 kB / 428.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.674e-05/0.295, allocations: 32 kB / 428.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.207e-05/0.2951, allocations: 31.94 kB / 428.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.451e-05/0.2952, allocations: 59.83 kB / 428.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.2954, allocations: 143.2 kB / 428.6 MB, free: 9.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004498/0.2958, allocations: 323.9 kB / 428.9 MB, free: 9.672 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.2958, allocations: 4 kB / 428.9 MB, free: 9.668 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2958, allocations: 0 / 428.9 MB, free: 9.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.2958, allocations: 0 / 428.9 MB, free: 9.668 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.001395/0.2972, allocations: 0.5779 MB / 429.5 MB, free: 9.055 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.2973, allocations: 11.97 kB / 429.5 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.407e-05/0.2974, allocations: 32.75 kB / 429.5 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004922/0.2979, allocations: 230 kB / 429.7 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.2979, allocations: 16.81 kB / 429.8 MB, free: 8.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.2979, allocations: 16.38 kB / 429.8 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006829/0.2986, allocations: 278.1 kB / 430 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.2986, allocations: 4 kB / 430.1 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.2986, allocations: 4 kB / 430.1 MB, free: 8.438 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.2987, allocations: 11.94 kB / 430.1 MB, free: 8.426 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007688/0.2994, allocations: 245.5 kB / 430.3 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.3012, allocations: 0.9058 MB / 431.2 MB, free: 7.215 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008701/0.3021, allocations: 234.5 kB / 431.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/0.3025, allocations: 100.7 kB / 431.5 MB, free: 6.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.3025, allocations: 4 kB / 431.5 MB, free: 6.871 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005215/0.303, allocations: 177.8 kB / 431.7 MB, free: 6.676 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 2.856e-06/0.303, allocations: 4 kB / 431.7 MB, free: 6.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002338/0.3053, allocations: 0.5721 MB / 432.3 MB, free: 6.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.258e-05/0.3054, allocations: 114.8 kB / 432.4 MB, free: 5.953 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003625/0.3058, allocations: 265.8 kB / 432.7 MB, free: 5.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.3058, allocations: 33.7 kB / 432.7 MB, free: 5.641 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.306, allocations: 184 kB / 432.9 MB, free: 5.457 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.949e-05/0.3061, allocations: 43.64 kB / 432.9 MB, free: 5.414 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.423e-05/0.3061, allocations: 45.7 kB / 433 MB, free: 5.363 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3063, allocations: 339 kB / 433.3 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.3067, allocations: 99.92 kB / 433.4 MB, free: 4.926 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004209/0.3071, allocations: 186.1 kB / 433.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007273/0.3078, allocations: 278.1 kB / 433.8 MB, free: 4.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.3078, allocations: 4 kB / 433.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001336/0.3092, allocations: 446.6 kB / 434.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.842e-05/0.3092, allocations: 41.69 kB / 434.3 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.3092, allocations: 4 kB / 434.3 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000417/0.3097, allocations: 72.88 kB / 434.4 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.3099, allocations: 51.89 kB / 434.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00327/0.3132, allocations: 1.903 MB / 436.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.3135, allocations: 55.8 kB / 436.4 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.3136, allocations: 4 kB / 436.4 MB, free: 1.691 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 19 * 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.0001994/0.3138, allocations: 149.8 kB / 436.6 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.3138, allocations: 23.86 kB / 436.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.767e-05/0.3139, allocations: 25.7 kB / 436.6 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3139, allocations: 4 kB / 436.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.3139, allocations: 0 / 436.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3139, allocations: 0 / 436.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003232/0.3142, allocations: 256.6 kB / 436.9 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3142, allocations: 3.984 kB / 436.9 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.3143, allocations: 19.98 kB / 436.9 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003001/0.3146, allocations: 84.73 kB / 437 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.3147, allocations: 3.938 kB / 437 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002717/0.3174, allocations: 1.82 MB / 438.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.3174, allocations: 3.984 kB / 438.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.3185, allocations: 364.7 kB / 439.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.88e-05/0.3186, allocations: 31.72 kB / 439.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.3186, allocations: 8 kB / 439.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.3189, allocations: 31.95 kB / 439.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/0.319, allocations: 15.97 kB / 439.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.319, allocations: 8 kB / 439.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002316/0.3192, allocations: 193.2 kB / 439.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3192, allocations: 4 kB / 439.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004633/0.3197, allocations: 71.89 kB / 439.5 MB, free: 14.41 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.0001691/0.3199, allocations: 103.2 kB / 439.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001518/0.3214, allocations: 477.8 kB / 440.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3214, allocations: 0 / 440.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005531/0.322, allocations: 222.5 kB / 440.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.3223, allocations: 48.84 kB / 440.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00328/0.3256, allocations: 0.9157 MB / 441.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.326, allocations: 0.748 MB / 442 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.769e-05/0.3261, allocations: 19.44 kB / 442 MB, free: 11.79 MB / 350.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3261, allocations: 0 / 442 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Templates: time 0.007825/0.3339, allocations: 4.222 MB / 446.2 MB, free: 7.578 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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: 7.404835582012311]