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.001045/0.001045, allocations: 76.08 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001089/0.001089, allocations: 141.1 kB / 24.54 MB, free: 28 kB / 18.57 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 0.9947/0.9947, allocations: 173.3 MB / 201.1 MB, free: 9.297 MB / 186.7 MB " [Timeout remaining time 179] 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 1.773e-06/1.773e-06, allocations: 0 / 268 MB, free: 6.352 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.888e-05/3.066e-05, allocations: 2.312 kB / 268 MB, free: 6.348 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004418/0.004449, allocations: 2.775 MB / 270.8 MB, free: 3.559 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.006069, allocations: 0.6622 MB / 271.5 MB, free: 2.891 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.006229, allocations: 7.938 kB / 271.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.006382, allocations: 39.58 kB / 271.5 MB, free: 2.844 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.006568, allocations: 95.19 kB / 271.6 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.006922, allocations: 99.8 kB / 271.7 MB, free: 2.652 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003691/0.007291, allocations: 370.3 kB / 272.1 MB, free: 2.289 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.007465, allocations: 60.83 kB / 272.1 MB, free: 2.227 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/0.007745, allocations: 195.6 kB / 272.3 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.007901, allocations: 119.6 kB / 272.4 MB, free: 1.918 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.619e-05/0.007947, allocations: 28 kB / 272.5 MB, free: 1.891 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.727e-05/0.007984, allocations: 32 kB / 272.5 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.008038, allocations: 63.73 kB / 272.6 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.00815, allocations: 111.7 kB / 272.7 MB, free: 1.688 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.008445, allocations: 215.2 kB / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.00845, allocations: 0 / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.008451, allocations: 0 / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.008458, allocations: 0 / 272.9 MB, free: 1.477 MB / 250.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.0009961/0.009454, allocations: 0.6467 MB / 273.5 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.009497, allocations: 12.03 kB / 273.5 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.0096, allocations: 44.75 kB / 273.6 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.009925, allocations: 224.1 kB / 273.8 MB, free: 500 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.009947, allocations: 16.86 kB / 273.8 MB, free: 480 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.009978, allocations: 28.36 kB / 273.8 MB, free: 452 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.01034, allocations: 269.1 kB / 274.1 MB, free: 152 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.01035, allocations: 192 / 274.1 MB, free: 152 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.01037, allocations: 16.36 kB / 274.1 MB, free: 136 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.01038, allocations: 7.938 kB / 274.1 MB, free: 128 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.01053, allocations: 82.89 kB / 274.2 MB, free: 48 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.01157, allocations: 0.878 MB / 275.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.0118, allocations: 115.1 kB / 275.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.822e-05/0.01186, allocations: 39.89 kB / 275.2 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.01189, allocations: 7.938 kB / 275.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.01206, allocations: 179.2 kB / 275.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.714e-06/0.01206, allocations: 0 / 275.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006842/0.01275, allocations: 312.9 kB / 275.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.0128, allocations: 114.8 kB / 275.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.01301, allocations: 304.2 kB / 276.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.01303, allocations: 29.7 kB / 276.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.01314, allocations: 230.9 kB / 276.4 MB, free: 13.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.01316, allocations: 43.64 kB / 276.4 MB, free: 13.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/0.01322, allocations: 51.36 kB / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.01336, allocations: 0.5001 MB / 277 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.917e-05/0.01344, allocations: 57.69 kB / 277 MB, free: 13.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.01358, allocations: 225.3 kB / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.01376, allocations: 201.3 kB / 277.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.01376, allocations: 0 / 277.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004143/0.01418, allocations: 300.3 kB / 277.7 MB, free: 12.17 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.254e-05/0.01422, allocations: 41.62 kB / 277.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.01423, allocations: 4 kB / 277.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003731/0.0146, allocations: 79.86 kB / 277.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.871e-05/0.0147, allocations: 47.97 kB / 277.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.01602, allocations: 2.168 MB / 280.1 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.01615, allocations: 31.92 kB / 280.1 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.01617, allocations: 23.91 kB / 280.1 MB, free: 9.637 MB / 266.7 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.0001084/0.01628, allocations: 168.5 kB / 280.3 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.01631, allocations: 27.86 kB / 280.3 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.01634, allocations: 25.77 kB / 280.4 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.01634, allocations: 0 / 280.4 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.01634, allocations: 4.031 kB / 280.4 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01635, allocations: 0 / 280.4 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.01651, allocations: 212.4 kB / 280.6 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01651, allocations: 0 / 280.6 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.912e-05/0.01656, allocations: 15.98 kB / 280.6 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001917/0.01675, allocations: 83.7 kB / 280.7 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.01676, allocations: 3.984 kB / 280.7 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.01782, allocations: 2.121 MB / 282.8 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01782, allocations: 0 / 282.8 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.01808, allocations: 211.8 kB / 283 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.446e-05/0.0181, allocations: 27.8 kB / 283 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.01812, allocations: 4 kB / 283 MB, free: 6.551 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-05/0.01821, allocations: 28 kB / 283.1 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.01827, allocations: 19.91 kB / 283.1 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.01828, allocations: 4 kB / 283.1 MB, free: 6.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001244/0.0184, allocations: 213 kB / 283.3 MB, free: 6.289 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0184, allocations: 0 / 283.3 MB, free: 6.289 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002576/0.01866, allocations: 75.89 kB / 283.4 MB, free: 6.215 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: 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.00011/0.01877, allocations: 99.28 kB / 283.5 MB, free: 6.105 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005452/0.01931, allocations: 426.3 kB / 283.9 MB, free: 5.648 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01931, allocations: 0 / 283.9 MB, free: 5.648 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.01947, allocations: 225.5 kB / 284.1 MB, free: 5.406 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.01969, allocations: 56.22 kB / 284.1 MB, free: 5.355 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.021, allocations: 0.6665 MB / 284.8 MB, free: 4.664 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.615e-05/0.02105, allocations: 84.31 kB / 284.9 MB, free: 4.562 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.166e-05/0.02111, allocations: 22.3 kB / 284.9 MB, free: 4.543 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.02116, allocations: 24.5 kB / 284.9 MB, free: 4.52 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02116, allocations: 0 / 284.9 MB, free: 4.52 MB / 266.7 MB Notification: Performance of Templates: time 0.005759/0.02692, allocations: 3.874 MB / 288.8 MB, free: 0.6875 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.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.046333718113601]