Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.0007426/0.0007426, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001128/0.001871, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006552/0.0006552, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009622/0.001617, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8655/0.8655, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1641/1.03, allocations: 52.48 MB / 238.5 MB, free: 7.633 MB / 234.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.SchmittTrigger,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.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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 239.8 MB, free: 6.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.484e-05, allocations: 3.531 kB / 239.8 MB, free: 6.324 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003399/0.003424, allocations: 2.805 MB / 242.6 MB, free: 3.52 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.004456, allocations: 0.6828 MB / 243.3 MB, free: 2.836 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.00458, allocations: 7.938 kB / 243.3 MB, free: 2.828 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.604e-05/0.004676, allocations: 43.58 kB / 243.3 MB, free: 2.785 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.004824, allocations: 100.6 kB / 243.4 MB, free: 2.688 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.005025, allocations: 99.73 kB / 243.5 MB, free: 2.59 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003239/0.005349, allocations: 363.1 kB / 243.9 MB, free: 2.234 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.005485, allocations: 66.84 kB / 243.9 MB, free: 2.168 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002516/0.005737, allocations: 229.1 kB / 244.2 MB, free: 1.945 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.005874, allocations: 115.7 kB / 244.3 MB, free: 1.832 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.005912, allocations: 28 kB / 244.3 MB, free: 1.805 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.301e-05/0.005945, allocations: 31.12 kB / 244.3 MB, free: 1.777 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.555e-05/0.005991, allocations: 47.81 kB / 244.4 MB, free: 1.73 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.586e-05/0.006067, allocations: 83.81 kB / 244.5 MB, free: 1.648 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.006287, allocations: 191.3 kB / 244.6 MB, free: 1.461 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.345e-05/0.0063, allocations: 0 / 244.6 MB, free: 1.461 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.006302, allocations: 4 kB / 244.7 MB, free: 1.457 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.006312, allocations: 0 / 244.7 MB, free: 1.457 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.0007269/0.007039, allocations: 0.5709 MB / 245.2 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.007069, allocations: 12.03 kB / 245.2 MB, free: 0.8438 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.098e-05/0.00713, allocations: 39.94 kB / 245.3 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.007362, allocations: 197.1 kB / 245.5 MB, free: 0.5898 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.007376, allocations: 12.88 kB / 245.5 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.007402, allocations: 24.38 kB / 245.5 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.007677, allocations: 264.3 kB / 245.8 MB, free: 280 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.007685, allocations: 192 / 245.8 MB, free: 280 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.007701, allocations: 8.375 kB / 245.8 MB, free: 272 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.007708, allocations: 8.844 kB / 245.8 MB, free: 264 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.354e-05/0.007791, allocations: 63.41 kB / 245.8 MB, free: 204 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007872/0.008579, allocations: 0.6355 MB / 246.5 MB, free: 15.53 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.008757, allocations: 90.52 kB / 246.6 MB, free: 15.43 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.62e-05/0.008793, allocations: 30.55 kB / 246.6 MB, free: 15.4 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.008811, allocations: 7.938 kB / 246.6 MB, free: 15.39 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.008964, allocations: 169 kB / 246.8 MB, free: 15.2 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.008965, allocations: 0 / 246.8 MB, free: 15.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005534/0.009519, allocations: 268.6 kB / 247 MB, free: 14.93 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.009551, allocations: 55.41 kB / 247.1 MB, free: 14.86 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.00969, allocations: 225 kB / 247.3 MB, free: 14.63 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.009708, allocations: 29.7 kB / 247.3 MB, free: 14.6 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.00978, allocations: 168.1 kB / 247.5 MB, free: 14.43 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.009808, allocations: 47.62 kB / 247.5 MB, free: 14.38 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/0.009863, allocations: 45.69 kB / 247.6 MB, free: 14.33 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.478e-05/0.009948, allocations: 334.8 kB / 247.9 MB, free: 14 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.807e-05/0.009996, allocations: 41.7 kB / 248 MB, free: 13.95 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.006e-05/0.01009, allocations: 177.6 kB / 248.1 MB, free: 13.73 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.0102, allocations: 150.6 kB / 248.3 MB, free: 13.55 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.0102, allocations: 0 / 248.3 MB, free: 13.55 MB / 250.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002592/0.01046, allocations: 245.6 kB / 248.5 MB, free: 13.29 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.01049, allocations: 33.7 kB / 248.5 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.0105, allocations: 4 kB / 248.6 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000218/0.01072, allocations: 64.97 kB / 248.6 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.0108, allocations: 43.91 kB / 248.7 MB, free: 13.14 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008751/0.01168, allocations: 1.446 MB / 250.1 MB, free: 11.6 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.0118, allocations: 39.8 kB / 250.1 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.01181, allocations: 12 kB / 250.2 MB, free: 11.55 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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 7.665e-05/0.01189, allocations: 125.8 kB / 250.3 MB, free: 11.42 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.01191, allocations: 20.02 kB / 250.3 MB, free: 11.4 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.01193, allocations: 25.77 kB / 250.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.01193, allocations: 4 kB / 250.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01193, allocations: 0 / 250.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01194, allocations: 0 / 250.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.01205, allocations: 141.7 kB / 250.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01205, allocations: 0 / 250.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.718e-05/0.0121, allocations: 15.98 kB / 250.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.784e-05/0.01213, allocations: 27.73 kB / 250.5 MB, free: 11.17 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001557/0.01228, allocations: 68.8 kB / 250.6 MB, free: 11.1 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.01229, allocations: 7.938 kB / 250.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006971/0.01299, allocations: 1.268 MB / 251.8 MB, free: 9.734 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01299, allocations: 0 / 251.8 MB, free: 9.734 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.01319, allocations: 165.8 kB / 252 MB, free: 9.551 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.0132, allocations: 0 / 252 MB, free: 9.551 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.806e-05/0.01328, allocations: 31.91 kB / 252 MB, free: 9.52 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.01333, allocations: 15.97 kB / 252.1 MB, free: 9.504 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.01334, allocations: 4 kB / 252.1 MB, free: 9.5 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.857e-05/0.0134, allocations: 78.77 kB / 252.1 MB, free: 9.422 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0134, allocations: 7.938 kB / 252.1 MB, free: 9.414 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001944/0.01359, allocations: 71.84 kB / 252.2 MB, free: 9.344 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 9.609e-05/0.01369, allocations: 84.42 kB / 252.3 MB, free: 9.254 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.01397, allocations: 300.4 kB / 252.6 MB, free: 8.926 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/0.01398, allocations: 4 kB / 252.6 MB, free: 8.922 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.01412, allocations: 179.3 kB / 252.8 MB, free: 8.73 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.01442, allocations: 438.3 kB / 253.2 MB, free: 8.227 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.01592, allocations: 432.2 kB / 253.6 MB, free: 7.781 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.326e-05/0.01596, allocations: 80.31 kB / 253.7 MB, free: 7.684 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.541e-05/0.01603, allocations: 21.95 kB / 253.7 MB, free: 7.66 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.01615, allocations: 99.33 kB / 253.8 MB, free: 7.562 MB / 250.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01615, allocations: 0 / 253.8 MB, free: 7.562 MB / 250.7 MB Notification: Performance of Templates: time 0.006139/0.02229, allocations: 4.234 MB / 258.1 MB, free: 3.41 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4699412593618035]