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.001149/0.001149, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001655/0.002804, allocations: 449.7 kB / 10.37 MB, free: 328 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.001039/0.001039, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001331/0.00237, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9812/0.9812, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08807/1.069, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.563e-06/1.563e-06, allocations: 0 / 244.6 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.188e-05/1.345e-05, allocations: 2.312 kB / 244.6 MB, free: 14.26 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.007671/0.007684, allocations: 2.819 MB / 247.4 MB, free: 11.42 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.008862, allocations: 0.7242 MB / 248.1 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.008981, allocations: 4 kB / 248.1 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.632e-05/0.009077, allocations: 39.58 kB / 248.2 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.009266, allocations: 103.1 kB / 248.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.009468, allocations: 95.75 kB / 248.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003808/0.009849, allocations: 366.4 kB / 248.7 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.009994, allocations: 58.86 kB / 248.8 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003301/0.0133, allocations: 236 kB / 249 MB, free: 9.809 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.01346, allocations: 111.7 kB / 249.1 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.997e-05/0.01351, allocations: 28 kB / 249.1 MB, free: 9.672 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.341e-05/0.01356, allocations: 32 kB / 249.2 MB, free: 9.641 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.915e-05/0.01361, allocations: 43.81 kB / 249.2 MB, free: 9.598 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.01371, allocations: 79.88 kB / 249.3 MB, free: 9.52 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.01399, allocations: 207.2 kB / 249.5 MB, free: 9.316 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.014, allocations: 0 / 249.5 MB, free: 9.316 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.014, allocations: 0 / 249.5 MB, free: 9.316 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.01402, allocations: 0 / 249.5 MB, free: 9.316 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.0009674/0.01499, allocations: 0.5841 MB / 250.1 MB, free: 8.695 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.01502, allocations: 12.03 kB / 250.1 MB, free: 8.684 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.752e-05/0.01509, allocations: 32.91 kB / 250.1 MB, free: 8.652 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.01534, allocations: 185.3 kB / 250.3 MB, free: 8.445 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.01535, allocations: 16.88 kB / 250.3 MB, free: 8.43 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.01539, allocations: 20.38 kB / 250.3 MB, free: 8.41 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.01573, allocations: 267.3 kB / 250.6 MB, free: 8.121 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.01574, allocations: 4.188 kB / 250.6 MB, free: 8.117 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.01576, allocations: 12.38 kB / 250.6 MB, free: 8.105 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.01577, allocations: 7.938 kB / 250.6 MB, free: 8.098 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003197/0.01897, allocations: 55.47 kB / 250.7 MB, free: 8.047 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009298/0.0199, allocations: 0.6227 MB / 251.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.02013, allocations: 94.48 kB / 251.4 MB, free: 7.281 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.28e-05/0.02018, allocations: 32.81 kB / 251.4 MB, free: 7.246 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.0202, allocations: 4 kB / 251.4 MB, free: 7.242 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.02039, allocations: 165.2 kB / 251.6 MB, free: 7.047 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.02039, allocations: 4 kB / 251.6 MB, free: 7.043 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007241/0.02112, allocations: 263 kB / 251.8 MB, free: 6.777 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.02115, allocations: 59.34 kB / 251.9 MB, free: 6.707 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.02133, allocations: 229.2 kB / 252.1 MB, free: 6.473 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.02135, allocations: 29.7 kB / 252.2 MB, free: 6.438 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.677e-05/0.02144, allocations: 172.1 kB / 252.3 MB, free: 6.266 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.0216, allocations: 51.56 kB / 252.4 MB, free: 6.215 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.697e-05/0.02167, allocations: 41.69 kB / 252.4 MB, free: 6.168 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.02176, allocations: 338.8 kB / 252.7 MB, free: 5.828 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.226e-05/0.02182, allocations: 49.69 kB / 252.8 MB, free: 5.773 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003125/0.02495, allocations: 165.7 kB / 253 MB, free: 5.562 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.0251, allocations: 144 kB / 253.1 MB, free: 5.395 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.0251, allocations: 0 / 253.1 MB, free: 5.395 MB / 250.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003562/0.02545, allocations: 245.7 kB / 253.3 MB, free: 5.133 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.02549, allocations: 37.69 kB / 253.4 MB, free: 5.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.0255, allocations: 0 / 253.4 MB, free: 5.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002765/0.02577, allocations: 72.88 kB / 253.4 MB, free: 5.016 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.0259, allocations: 39.97 kB / 253.5 MB, free: 4.977 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.027, allocations: 1.445 MB / 254.9 MB, free: 3.449 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.02717, allocations: 43.94 kB / 255 MB, free: 3.406 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.02719, allocations: 8 kB / 255 MB, free: 3.398 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 9.28e-05/0.02728, allocations: 129.7 kB / 255.1 MB, free: 3.262 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.02731, allocations: 15.98 kB / 255.1 MB, free: 3.246 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.152e-05/0.02734, allocations: 25.77 kB / 255.2 MB, free: 3.223 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.02734, allocations: 8.031 kB / 255.2 MB, free: 3.215 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.02735, allocations: 0 / 255.2 MB, free: 3.215 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.02735, allocations: 0 / 255.2 MB, free: 3.215 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.02749, allocations: 129.8 kB / 255.3 MB, free: 3.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.0275, allocations: 4 kB / 255.3 MB, free: 3.066 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.824e-05/0.02756, allocations: 19.92 kB / 255.3 MB, free: 3.047 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.02759, allocations: 23.73 kB / 255.3 MB, free: 3.023 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003205/0.0308, allocations: 72.83 kB / 255.4 MB, free: 2.949 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.03081, allocations: 4 kB / 255.4 MB, free: 2.945 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.03191, allocations: 1.272 MB / 256.7 MB, free: 1.586 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.03191, allocations: 3.984 kB / 256.7 MB, free: 1.582 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.03217, allocations: 169.5 kB / 256.8 MB, free: 1.398 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.0322, allocations: 8 kB / 256.9 MB, free: 1.391 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.03232, allocations: 27.95 kB / 256.9 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.03237, allocations: 15.97 kB / 256.9 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.03238, allocations: 11.98 kB / 256.9 MB, free: 1.336 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.155e-05/0.03246, allocations: 70.78 kB / 257 MB, free: 1.262 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03246, allocations: 7.938 kB / 257 MB, free: 1.254 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003017/0.03276, allocations: 71.89 kB / 257.1 MB, free: 1.184 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 8.508e-05/0.03285, allocations: 84.41 kB / 257.1 MB, free: 1.09 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003312/0.03318, allocations: 299.5 kB / 257.4 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.03319, allocations: 4 kB / 257.4 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.03335, allocations: 167.4 kB / 257.6 MB, free: 0.582 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.03354, allocations: 59.66 kB / 257.7 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006918/0.04046, allocations: 436.7 kB / 258.1 MB, free: 76 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.057e-05/0.04052, allocations: 84.27 kB / 258.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.466e-05/0.0406, allocations: 25.94 kB / 258.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.04073, allocations: 91.34 kB / 258.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of SimCode: time 6.52e-07/0.04073, allocations: 0 / 258.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of Templates: time 0.008436/0.04916, allocations: 4.16 MB / 262.4 MB, free: 11.78 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.627248194999993]