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.00099/0.00099, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001584/0.002574, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009616/0.0009616, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001386/0.002347, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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 1.012/1.012, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09177/1.103, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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.403e-06/1.403e-06, allocations: 0 / 244.8 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.88e-05, allocations: 2.312 kB / 244.8 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.002824/0.002843, allocations: 2.811 MB / 247.6 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.004017, allocations: 0.728 MB / 248.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.004175, allocations: 7.938 kB / 248.3 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.305e-05/0.004269, allocations: 47.56 kB / 248.4 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.004432, allocations: 99.12 kB / 248.5 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.004673, allocations: 99.75 kB / 248.5 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003609/0.005034, allocations: 358.4 kB / 248.9 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.005165, allocations: 62.86 kB / 249 MB, free: 9.957 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.005415, allocations: 232 kB / 249.2 MB, free: 9.73 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.005554, allocations: 119.6 kB / 249.3 MB, free: 9.613 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.00559, allocations: 28 kB / 249.3 MB, free: 9.586 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.525e-05/0.005625, allocations: 32 kB / 249.4 MB, free: 9.555 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.026e-05/0.005666, allocations: 39.88 kB / 249.4 MB, free: 9.516 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.292e-05/0.005739, allocations: 87.81 kB / 249.5 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.005959, allocations: 195.3 kB / 249.7 MB, free: 9.238 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.262e-05/0.005971, allocations: 0 / 249.7 MB, free: 9.238 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.005972, allocations: 0 / 249.7 MB, free: 9.238 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.005982, allocations: 0 / 249.7 MB, free: 9.238 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.0007184/0.0067, allocations: 0.5802 MB / 250.3 MB, free: 8.625 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.006733, allocations: 12.03 kB / 250.3 MB, free: 8.613 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.761e-05/0.00679, allocations: 36.89 kB / 250.3 MB, free: 8.578 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.007008, allocations: 189.3 kB / 250.5 MB, free: 8.367 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.007028, allocations: 12.88 kB / 250.5 MB, free: 8.355 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.007056, allocations: 24.38 kB / 250.5 MB, free: 8.332 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.007336, allocations: 263.4 kB / 250.8 MB, free: 8.051 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.007344, allocations: 4.125 kB / 250.8 MB, free: 8.047 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.007358, allocations: 12.31 kB / 250.8 MB, free: 8.035 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.007365, allocations: 7.938 kB / 250.8 MB, free: 8.027 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.653e-05/0.007452, allocations: 55.47 kB / 250.9 MB, free: 7.969 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007088/0.008161, allocations: 0.6227 MB / 251.5 MB, free: 7.309 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.008346, allocations: 106.5 kB / 251.6 MB, free: 7.195 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.685e-05/0.008383, allocations: 24.86 kB / 251.6 MB, free: 7.168 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.008404, allocations: 4 kB / 251.6 MB, free: 7.164 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.008597, allocations: 170.2 kB / 251.8 MB, free: 6.965 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 8.21e-07/0.008598, allocations: 0 / 251.8 MB, free: 6.965 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005684/0.009167, allocations: 270 kB / 252 MB, free: 6.695 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.009204, allocations: 51.41 kB / 252.1 MB, free: 6.633 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.009346, allocations: 233 kB / 252.3 MB, free: 6.391 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.009364, allocations: 29.7 kB / 252.4 MB, free: 6.355 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.799e-05/0.009432, allocations: 168.1 kB / 252.5 MB, free: 6.188 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.009457, allocations: 51.52 kB / 252.6 MB, free: 6.137 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/0.009513, allocations: 53.67 kB / 252.6 MB, free: 6.078 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.541e-05/0.009588, allocations: 326.8 kB / 252.9 MB, free: 5.75 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.728e-05/0.009635, allocations: 45.69 kB / 253 MB, free: 5.699 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.628e-05/0.009722, allocations: 172.1 kB / 253.2 MB, free: 5.484 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.009828, allocations: 144.4 kB / 253.3 MB, free: 5.312 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.00983, allocations: 0 / 253.3 MB, free: 5.312 MB / 250.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00024/0.01007, allocations: 245.6 kB / 253.5 MB, free: 5.051 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.496e-05/0.01011, allocations: 45.12 kB / 253.6 MB, free: 5.004 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.01011, allocations: 0 / 253.6 MB, free: 5.004 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002016/0.01031, allocations: 68.97 kB / 253.6 MB, free: 4.934 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.145e-05/0.01039, allocations: 39.91 kB / 253.7 MB, free: 4.895 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008116/0.0112, allocations: 1.45 MB / 255.1 MB, free: 3.359 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.01133, allocations: 43.81 kB / 255.2 MB, free: 3.316 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.01134, allocations: 11.94 kB / 255.2 MB, free: 3.305 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 8.67e-05/0.01143, allocations: 125.7 kB / 255.3 MB, free: 3.172 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.01145, allocations: 15.98 kB / 255.3 MB, free: 3.156 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.01148, allocations: 29.8 kB / 255.4 MB, free: 3.129 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.01148, allocations: 4 kB / 255.4 MB, free: 3.125 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.01148, allocations: 0 / 255.4 MB, free: 3.125 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01148, allocations: 0 / 255.4 MB, free: 3.125 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.01161, allocations: 137.7 kB / 255.5 MB, free: 2.973 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01162, allocations: 0 / 255.5 MB, free: 2.973 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.01166, allocations: 15.98 kB / 255.5 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.01168, allocations: 23.8 kB / 255.5 MB, free: 2.934 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001538/0.01183, allocations: 72.73 kB / 255.6 MB, free: 2.859 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.01184, allocations: 4 kB / 255.6 MB, free: 2.855 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000653/0.0125, allocations: 1.276 MB / 256.9 MB, free: 1.492 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.0125, allocations: 3.984 kB / 256.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.01268, allocations: 169.8 kB / 257.1 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.01269, allocations: 0 / 257.1 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.01277, allocations: 31.95 kB / 257.1 MB, free: 1.27 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.01281, allocations: 19.97 kB / 257.1 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.01282, allocations: 3.984 kB / 257.1 MB, free: 1.246 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.395e-05/0.01288, allocations: 78.78 kB / 257.2 MB, free: 1.168 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01288, allocations: 0 / 257.2 MB, free: 1.168 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002052/0.01309, allocations: 67.89 kB / 257.2 MB, free: 1.102 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.986e-05/0.01319, allocations: 88.41 kB / 257.3 MB, free: 1.004 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000262/0.01345, allocations: 303.5 kB / 257.6 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.01346, allocations: 0 / 257.6 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.01358, allocations: 179.3 kB / 257.8 MB, free: 496 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.01386, allocations: 422.4 kB / 258.2 MB, free: 15.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.01531, allocations: 444.7 kB / 258.7 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.515e-05/0.01536, allocations: 88.2 kB / 258.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.65e-05/0.01542, allocations: 25.94 kB / 258.8 MB, free: 15.4 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.01554, allocations: 95.33 kB / 258.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01554, allocations: 0 / 258.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of Templates: time 0.005587/0.02113, allocations: 4.228 MB / 263.1 MB, free: 11.16 MB / 266.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5895514776930213]