Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009409/0.0009409, allocations: 76.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004536/0.005476, allocations: 453.9 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000934/0.000934, allocations: 162 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004706/0.00564, allocations: 479.6 kB / 11.82 MB, free: 2.34 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9359/0.9359, allocations: 177.5 MB / 190 MB, free: 4.809 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0872/1.023, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 245.3 MB, free: 13.53 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448e-05/1.615e-05, allocations: 5.406 kB / 245.3 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.002636/0.002652, allocations: 2.831 MB / 248.1 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00095/0.003602, allocations: 0.7164 MB / 248.8 MB, free: 9.949 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.003711, allocations: 7.938 kB / 248.8 MB, free: 9.941 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.147e-05/0.003792, allocations: 43.58 kB / 248.9 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.003947, allocations: 103.1 kB / 249 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.00411, allocations: 79.81 kB / 249 MB, free: 9.719 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.004395, allocations: 358.4 kB / 249.4 MB, free: 9.367 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.004524, allocations: 74.64 kB / 249.5 MB, free: 9.297 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.004753, allocations: 236 kB / 249.7 MB, free: 9.066 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.004885, allocations: 111.7 kB / 249.8 MB, free: 8.957 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.537e-05/0.004931, allocations: 32 kB / 249.8 MB, free: 8.926 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.558e-05/0.004966, allocations: 28 kB / 249.9 MB, free: 8.898 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.057e-05/0.005007, allocations: 47.81 kB / 249.9 MB, free: 8.852 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.013e-05/0.005077, allocations: 83.81 kB / 250 MB, free: 8.77 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.005287, allocations: 199.2 kB / 250.2 MB, free: 8.574 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.005297, allocations: 0 / 250.2 MB, free: 8.574 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005297, allocations: 0 / 250.2 MB, free: 8.574 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.005306, allocations: 0 / 250.2 MB, free: 8.574 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006886/0.005995, allocations: 0.5841 MB / 250.8 MB, free: 7.957 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.006024, allocations: 8.625 kB / 250.8 MB, free: 7.949 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.047e-05/0.006084, allocations: 44.89 kB / 250.8 MB, free: 7.906 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.006277, allocations: 181.3 kB / 251 MB, free: 7.703 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.00629, allocations: 20.88 kB / 251 MB, free: 7.684 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.006316, allocations: 24.38 kB / 251 MB, free: 7.66 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.006548, allocations: 254.3 kB / 251.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.006556, allocations: 192 / 251.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.006571, allocations: 8.375 kB / 251.3 MB, free: 7.379 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.006578, allocations: 7.938 kB / 251.3 MB, free: 7.371 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.451e-05/0.006662, allocations: 59.47 kB / 251.4 MB, free: 7.309 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006888/0.007351, allocations: 0.5907 MB / 251.9 MB, free: 6.672 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.007504, allocations: 90.53 kB / 252 MB, free: 6.574 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.848e-05/0.007543, allocations: 44.7 kB / 252.1 MB, free: 6.527 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.007562, allocations: 8.281 kB / 252.1 MB, free: 6.52 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.007727, allocations: 199.8 kB / 252.3 MB, free: 6.281 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.007728, allocations: 0 / 252.3 MB, free: 6.281 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004795/0.008208, allocations: 233.2 kB / 252.5 MB, free: 6.047 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.00824, allocations: 59.39 kB / 252.6 MB, free: 5.977 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.008365, allocations: 228.9 kB / 252.8 MB, free: 5.742 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.008385, allocations: 29.7 kB / 252.8 MB, free: 5.707 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/0.008453, allocations: 168.7 kB / 253 MB, free: 5.539 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.008481, allocations: 51.62 kB / 253 MB, free: 5.488 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/0.008534, allocations: 53.62 kB / 253.1 MB, free: 5.43 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.846e-05/0.008612, allocations: 334.7 kB / 253.4 MB, free: 5.094 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.095e-05/0.008653, allocations: 49.69 kB / 253.5 MB, free: 5.039 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.038e-05/0.008744, allocations: 196 kB / 253.7 MB, free: 4.793 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.008853, allocations: 143.5 kB / 253.8 MB, free: 4.625 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.008856, allocations: 7.938 kB / 253.8 MB, free: 4.617 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002334/0.009089, allocations: 232.9 kB / 254 MB, free: 4.371 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.009122, allocations: 37.7 kB / 254.1 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.009127, allocations: 0 / 254.1 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002377/0.009365, allocations: 88.92 kB / 254.2 MB, free: 4.238 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.763e-05/0.009452, allocations: 39.92 kB / 254.2 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008865/0.01034, allocations: 1.356 MB / 255.5 MB, free: 2.75 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.01046, allocations: 43.8 kB / 255.6 MB, free: 2.707 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.01047, allocations: 8 kB / 255.6 MB, free: 2.699 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: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 7.728e-05/0.01055, allocations: 121.8 kB / 255.7 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.01057, allocations: 27.91 kB / 255.7 MB, free: 2.543 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.0106, allocations: 34.14 kB / 255.8 MB, free: 2.516 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.0106, allocations: 0 / 255.8 MB, free: 2.516 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.0106, allocations: 0 / 255.8 MB, free: 2.516 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.0106, allocations: 0 / 255.8 MB, free: 2.516 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.01072, allocations: 141.7 kB / 255.9 MB, free: 2.359 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01072, allocations: 0 / 255.9 MB, free: 2.359 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.284e-05/0.01077, allocations: 15.98 kB / 255.9 MB, free: 2.344 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.01079, allocations: 27.73 kB / 256 MB, free: 2.316 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001773/0.01097, allocations: 72.78 kB / 256 MB, free: 2.242 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.118e-06/0.01098, allocations: 4 kB / 256 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00076/0.01174, allocations: 1.365 MB / 257.4 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01174, allocations: 0 / 257.4 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.01192, allocations: 165.7 kB / 257.6 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.01194, allocations: 3.938 kB / 257.6 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.01202, allocations: 27.97 kB / 257.6 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.01207, allocations: 23.95 kB / 257.6 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.01207, allocations: 8.031 kB / 257.6 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.202e-05/0.01214, allocations: 74.78 kB / 257.7 MB, free: 464 kB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01214, allocations: 0 / 257.7 MB, free: 464 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001851/0.01232, allocations: 83.88 kB / 257.8 MB, free: 380 kB / 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: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,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 (11): * Single equations (assignments): 8 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 7.755e-05/0.0124, allocations: 84.36 kB / 257.9 MB, free: 288 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.0127, allocations: 316.3 kB / 258.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/0.01271, allocations: 8.094 kB / 258.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.01286, allocations: 195.1 kB / 258.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.01313, allocations: 433.8 kB / 258.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.01483, allocations: 0.4934 MB / 259.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.823e-05/0.01488, allocations: 84.17 kB / 259.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.578e-05/0.01495, allocations: 26.28 kB / 259.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.01508, allocations: 107.3 kB / 259.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01508, allocations: 0 / 259.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of Templates: time 0.006043/0.02112, allocations: 4.577 MB / 264.1 MB, free: 9.965 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 3.22102752327919]