Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009286/0.0009286, allocations: 85.95 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.001071/0.001071, allocations: 161.2 kB / 25.6 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.109/1.109, allocations: 158.6 MB / 187.5 MB, free: 2.812 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.417e-06/3.417e-06, allocations: 3.984 kB / 251.5 MB, free: 7.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.426e-05, allocations: 2.312 kB / 251.5 MB, free: 7.309 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004296/0.004321, allocations: 2.7 MB / 254.2 MB, free: 4.59 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.005765, allocations: 0.702 MB / 254.9 MB, free: 3.879 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.005963, allocations: 7.938 kB / 254.9 MB, free: 3.871 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.006122, allocations: 39.58 kB / 255 MB, free: 3.832 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.006357, allocations: 99.19 kB / 255 MB, free: 3.734 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.00669, allocations: 99.8 kB / 255.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004211/0.007111, allocations: 370.3 kB / 255.5 MB, free: 3.27 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.007287, allocations: 56.78 kB / 255.6 MB, free: 3.211 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000314/0.007601, allocations: 199.5 kB / 255.8 MB, free: 3.016 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.00779, allocations: 115.7 kB / 255.9 MB, free: 2.902 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.719e-05/0.007848, allocations: 32 kB / 255.9 MB, free: 2.871 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.574e-05/0.007893, allocations: 31.94 kB / 255.9 MB, free: 2.84 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/0.007952, allocations: 63.75 kB / 256 MB, free: 2.777 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.008053, allocations: 103.7 kB / 256.1 MB, free: 2.676 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.008345, allocations: 219.2 kB / 256.3 MB, free: 2.461 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.008348, allocations: 0 / 256.3 MB, free: 2.461 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.00835, allocations: 0 / 256.3 MB, free: 2.461 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.008355, allocations: 0 / 256.3 MB, free: 2.461 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.0009396/0.009295, allocations: 0.6544 MB / 257 MB, free: 1.766 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.009337, allocations: 19.92 kB / 257 MB, free: 1.746 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.216e-05/0.009429, allocations: 48.75 kB / 257 MB, free: 1.699 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.009704, allocations: 212.1 kB / 257.2 MB, free: 1.465 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.009725, allocations: 12.88 kB / 257.3 MB, free: 1.453 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.009757, allocations: 28.36 kB / 257.3 MB, free: 1.426 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.01011, allocations: 216.7 kB / 257.5 MB, free: 1.191 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.01012, allocations: 192 / 257.5 MB, free: 1.191 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.01015, allocations: 20.38 kB / 257.5 MB, free: 1.172 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.01016, allocations: 7.938 kB / 257.5 MB, free: 1.164 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.01029, allocations: 71.38 kB / 257.6 MB, free: 1.094 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.01138, allocations: 0.7158 MB / 258.3 MB, free: 340 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.01161, allocations: 103.2 kB / 258.4 MB, free: 224 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.523e-05/0.01166, allocations: 35.66 kB / 258.4 MB, free: 184 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.01169, allocations: 4 kB / 258.4 MB, free: 180 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/0.01188, allocations: 179 kB / 258.6 MB, free: 15.96 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.512e-06/0.01188, allocations: 0 / 258.6 MB, free: 15.96 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008315/0.01271, allocations: 312.9 kB / 258.9 MB, free: 15.65 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.01276, allocations: 102.8 kB / 259 MB, free: 15.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.01296, allocations: 284.2 kB / 259.3 MB, free: 15.23 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.01298, allocations: 29.7 kB / 259.3 MB, free: 15.2 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.0131, allocations: 230.9 kB / 259.6 MB, free: 14.96 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.01313, allocations: 51.61 kB / 259.6 MB, free: 14.91 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.633e-05/0.01321, allocations: 47.53 kB / 259.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.01337, allocations: 0.504 MB / 260.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.489e-05/0.01346, allocations: 65.23 kB / 260.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.0136, allocations: 194.2 kB / 260.4 MB, free: 14.02 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.01378, allocations: 147.5 kB / 260.6 MB, free: 13.84 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01378, allocations: 4 kB / 260.6 MB, free: 13.84 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004828/0.01426, allocations: 275.9 kB / 260.8 MB, free: 13.55 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.023e-05/0.0143, allocations: 41.81 kB / 260.9 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.01431, allocations: 4 kB / 260.9 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003032/0.01461, allocations: 83.56 kB / 261 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.01472, allocations: 27.98 kB / 261 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.01616, allocations: 2.118 MB / 263.1 MB, free: 11.15 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.01637, allocations: 39.77 kB / 263.1 MB, free: 11.11 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.01639, allocations: 4 kB / 263.1 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001227/0.01651, allocations: 188.5 kB / 263.3 MB, free: 10.91 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001225/0.01664, allocations: 186.2 kB / 263.5 MB, free: 10.68 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001374/0.01677, allocations: 147.5 kB / 263.7 MB, free: 10.5 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-06/0.01677, allocations: 0 / 263.7 MB, free: 10.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0002986/0.01707, allocations: 236.3 kB / 263.9 MB, free: 10.24 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.0171, allocations: 33.7 kB / 263.9 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.0171, allocations: 0 / 263.9 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001214/0.01722, allocations: 51.78 kB / 264 MB, free: 10.15 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.01733, allocations: 31.97 kB / 264 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.01833, allocations: 2.005 MB / 266 MB, free: 8.004 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.01849, allocations: 39.91 kB / 266 MB, free: 7.965 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.01851, allocations: 4.141 kB / 266 MB, free: 7.961 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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.0001229/0.01863, allocations: 280 kB / 266.3 MB, free: 7.68 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.01867, allocations: 31.86 kB / 266.4 MB, free: 7.648 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.0187, allocations: 21.77 kB / 266.4 MB, free: 7.625 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.0187, allocations: 0 / 266.4 MB, free: 7.625 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.01871, allocations: 7.938 kB / 266.4 MB, free: 7.617 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01871, allocations: 0 / 266.4 MB, free: 7.617 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.01889, allocations: 173.1 kB / 266.5 MB, free: 7.422 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.01889, allocations: 4 kB / 266.6 MB, free: 7.418 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.66e-05/0.01896, allocations: 15.98 kB / 266.6 MB, free: 7.402 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002275/0.01919, allocations: 79.56 kB / 266.6 MB, free: 7.32 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.0192, allocations: 4 kB / 266.7 MB, free: 7.316 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.02042, allocations: 1.842 MB / 268.5 MB, free: 5.355 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.02042, allocations: 7.938 kB / 268.5 MB, free: 5.348 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.02079, allocations: 207.8 kB / 268.7 MB, free: 5.117 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.628e-05/0.02082, allocations: 23.83 kB / 268.7 MB, free: 5.094 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.02085, allocations: 4 kB / 268.7 MB, free: 5.09 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.02097, allocations: 19.98 kB / 268.8 MB, free: 5.07 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.165e-05/0.02103, allocations: 27.98 kB / 268.8 MB, free: 5.043 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.02104, allocations: 0 / 268.8 MB, free: 5.043 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001314/0.02117, allocations: 197.1 kB / 269 MB, free: 4.852 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02117, allocations: 0 / 269 MB, free: 4.852 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005469/0.02172, allocations: 127.7 kB / 269.1 MB, free: 4.727 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 0.0001329/0.02185, allocations: 99.23 kB / 269.2 MB, free: 4.617 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005942/0.02244, allocations: 0.6759 MB / 269.9 MB, free: 3.867 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.02244, allocations: 0 / 269.9 MB, free: 3.867 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.02261, allocations: 225.4 kB / 270.1 MB, free: 3.625 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.02289, allocations: 62.33 kB / 270.1 MB, free: 3.562 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007685/0.02366, allocations: 418.8 kB / 270.6 MB, free: 3.125 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.98e-05/0.02371, allocations: 88.56 kB / 270.6 MB, free: 3.02 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.836e-05/0.0238, allocations: 17.95 kB / 270.7 MB, free: 3.004 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.02394, allocations: 122.2 kB / 270.8 MB, free: 2.883 MB / 250.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02394, allocations: 0 / 270.8 MB, free: 2.883 MB / 250.7 MB Notification: Performance of Templates: time 0.007155/0.03109, allocations: 4.526 MB / 275.3 MB, free: 14.38 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.811714801006019]