Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009303/0.0009303, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001145/0.001145, allocations: 162.8 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9298/0.9298, allocations: 177.1 MB / 206.1 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 274.2 MB, free: 4.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.047e-05, allocations: 3.156 kB / 274.2 MB, free: 4.371 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004175/0.004195, allocations: 2.757 MB / 277 MB, free: 1.613 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.005714, allocations: 0.6948 MB / 277.7 MB, free: 0.918 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.005875, allocations: 4 kB / 277.7 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.006045, allocations: 39.58 kB / 277.7 MB, free: 0.875 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.006261, allocations: 103.1 kB / 277.8 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.006568, allocations: 99.75 kB / 277.9 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004199/0.006988, allocations: 366.3 kB / 278.3 MB, free: 324 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.00716, allocations: 56.89 kB / 278.3 MB, free: 264 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.007455, allocations: 191.6 kB / 278.5 MB, free: 72 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.007658, allocations: 115.6 kB / 278.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.553e-05/0.007714, allocations: 32 kB / 278.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.138e-05/0.007765, allocations: 28 kB / 278.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.706e-05/0.007832, allocations: 63.75 kB / 278.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.007952, allocations: 107.7 kB / 278.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.008254, allocations: 223.1 kB / 279.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.008257, allocations: 0 / 279.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.008259, allocations: 0 / 279.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.008265, allocations: 0 / 279.1 MB, free: 15.51 MB / 266.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.001125/0.00939, allocations: 0.6507 MB / 279.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.009432, allocations: 12.03 kB / 279.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.475e-05/0.009527, allocations: 44.75 kB / 279.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.009829, allocations: 212.1 kB / 280 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.009852, allocations: 16.88 kB / 280 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.009888, allocations: 20.38 kB / 280 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.01032, allocations: 273 kB / 280.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.01034, allocations: 8.172 kB / 280.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.01036, allocations: 8.375 kB / 280.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.01037, allocations: 7.938 kB / 280.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.01054, allocations: 67.44 kB / 280.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.01183, allocations: 0.8356 MB / 281.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.01211, allocations: 111.1 kB / 281.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.49e-05/0.01218, allocations: 31.83 kB / 281.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.0122, allocations: 7.984 kB / 281.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.01241, allocations: 175.4 kB / 281.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.01241, allocations: 4 kB / 281.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009588/0.01337, allocations: 303.6 kB / 281.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.01343, allocations: 106.8 kB / 282 MB, free: 12.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.01367, allocations: 284.1 kB / 282.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.0137, allocations: 37.7 kB / 282.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.01384, allocations: 234.9 kB / 282.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.01388, allocations: 43.62 kB / 282.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.607e-05/0.01396, allocations: 51.34 kB / 282.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004079/0.01437, allocations: 0.4962 MB / 283.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.158e-05/0.01445, allocations: 53.67 kB / 283.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.01463, allocations: 200.8 kB / 283.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.01477, allocations: 167.1 kB / 283.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.01478, allocations: 4 kB / 283.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003473/0.01513, allocations: 282.8 kB / 283.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.01516, allocations: 37.7 kB / 283.8 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.01516, allocations: 4 kB / 283.8 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002377/0.0154, allocations: 71.75 kB / 283.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.917e-05/0.01549, allocations: 31.98 kB / 283.9 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.01657, allocations: 2.122 MB / 286 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.0167, allocations: 35.86 kB / 286.1 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.01672, allocations: 8 kB / 286.1 MB, free: 7.977 MB / 266.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 0.0001001/0.01682, allocations: 168.5 kB / 286.2 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.01685, allocations: 31.8 kB / 286.3 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.01687, allocations: 25.77 kB / 286.3 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.01688, allocations: 4.031 kB / 286.3 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.01688, allocations: 0 / 286.3 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.01688, allocations: 0 / 286.3 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.01702, allocations: 173.1 kB / 286.5 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.01702, allocations: 3.938 kB / 286.5 MB, free: 7.539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.776e-05/0.01707, allocations: 15.98 kB / 286.5 MB, free: 7.523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001723/0.01724, allocations: 71.62 kB / 286.6 MB, free: 7.449 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.01725, allocations: 3.938 kB / 286.6 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008697/0.01812, allocations: 1.846 MB / 288.4 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01812, allocations: 0 / 288.4 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.01836, allocations: 203.8 kB / 288.6 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.01838, allocations: 27.78 kB / 288.6 MB, free: 5.234 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.0184, allocations: 7.938 kB / 288.7 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.338e-05/0.0185, allocations: 28.02 kB / 288.7 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.01854, allocations: 15.97 kB / 288.7 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/0.01855, allocations: 3.984 kB / 288.7 MB, free: 5.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.75e-05/0.01864, allocations: 197.1 kB / 288.9 MB, free: 4.984 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01864, allocations: 0 / 288.9 MB, free: 4.984 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002219/0.01886, allocations: 71.89 kB / 289 MB, free: 4.914 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.0001078/0.01897, allocations: 111.2 kB / 289.1 MB, free: 4.797 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000319/0.01929, allocations: 357.6 kB / 289.4 MB, free: 4.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.01929, allocations: 0 / 289.4 MB, free: 4.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.01944, allocations: 233.3 kB / 289.6 MB, free: 4.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.01966, allocations: 44.97 kB / 289.7 MB, free: 4.117 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006756/0.02033, allocations: 425.7 kB / 290.1 MB, free: 3.672 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.353e-05/0.02037, allocations: 80.31 kB / 290.2 MB, free: 3.574 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.068e-05/0.02045, allocations: 17.95 kB / 290.2 MB, free: 3.559 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.02057, allocations: 122.2 kB / 290.3 MB, free: 3.438 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.02057, allocations: 0 / 290.3 MB, free: 3.438 MB / 266.7 MB Notification: Performance of Templates: time 0.005791/0.02636, allocations: 4.246 MB / 294.6 MB, free: 15.27 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.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: 2.7750430717132986]