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.002627/0.002627, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002918/0.002918, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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 1.572/1.572, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.733e-06/1.733e-06, allocations: 0 / 272.4 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.866e-05, allocations: 2.312 kB / 272.4 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004825/0.004854, allocations: 2.752 MB / 275.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.006389, allocations: 0.6894 MB / 275.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.006543, allocations: 7.938 kB / 275.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.006699, allocations: 43.58 kB / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.006915, allocations: 91.25 kB / 275.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.007248, allocations: 95.75 kB / 276 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005404/0.007789, allocations: 370.4 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.007977, allocations: 56.83 kB / 276.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003006/0.008278, allocations: 203.5 kB / 276.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.008496, allocations: 115.7 kB / 276.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.49e-05/0.008561, allocations: 32 kB / 276.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.99e-05/0.008621, allocations: 28 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.363e-05/0.008704, allocations: 67.69 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.008861, allocations: 103.7 kB / 277 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000495/0.009356, allocations: 334.9 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.009361, allocations: 0 / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.009362, allocations: 0 / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.009369, allocations: 0 / 277.3 MB, free: 12.8 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.001348/0.01072, allocations: 0.6621 MB / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.01076, allocations: 12.03 kB / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.01087, allocations: 48.73 kB / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.01127, allocations: 224 kB / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.0113, allocations: 20.81 kB / 278.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.01135, allocations: 24.38 kB / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006341/0.01198, allocations: 316.4 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.012, allocations: 4.172 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.01202, allocations: 8.375 kB / 278.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.01203, allocations: 7.938 kB / 278.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006031/0.01264, allocations: 205.8 kB / 278.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.01439, allocations: 0.9521 MB / 279.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000659/0.01505, allocations: 199.1 kB / 280 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.01531, allocations: 79.64 kB / 280.1 MB, free: 9.895 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.01535, allocations: 4 kB / 280.1 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000457/0.01581, allocations: 231.4 kB / 280.3 MB, free: 9.625 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.01581, allocations: 0 / 280.3 MB, free: 9.625 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001833/0.01764, allocations: 440.9 kB / 280.7 MB, free: 9.184 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.376e-05/0.01773, allocations: 110.8 kB / 280.8 MB, free: 9.051 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.01812, allocations: 336.3 kB / 281.2 MB, free: 8.707 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.01816, allocations: 33.7 kB / 281.2 MB, free: 8.668 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.01836, allocations: 234.9 kB / 281.4 MB, free: 8.434 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.613e-05/0.01842, allocations: 51.58 kB / 281.5 MB, free: 8.383 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.01852, allocations: 59.36 kB / 281.5 MB, free: 8.316 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0005137/0.01904, allocations: 0.5117 MB / 282 MB, free: 7.793 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.01934, allocations: 105.7 kB / 282.1 MB, free: 7.684 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004048/0.01974, allocations: 254.2 kB / 282.4 MB, free: 7.375 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005857/0.02033, allocations: 260.7 kB / 282.6 MB, free: 7.082 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.02033, allocations: 3.938 kB / 282.6 MB, free: 7.078 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001051/0.02138, allocations: 404.3 kB / 283 MB, free: 6.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.218e-05/0.02144, allocations: 37.69 kB / 283.1 MB, free: 6.617 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.02144, allocations: 0 / 283.1 MB, free: 6.617 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000549/0.02199, allocations: 107.7 kB / 283.2 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.02218, allocations: 43.91 kB / 283.2 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002902/0.02508, allocations: 2.313 MB / 285.5 MB, free: 4.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.02536, allocations: 39.91 kB / 285.6 MB, free: 3.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.02539, allocations: 15.92 kB / 285.6 MB, free: 3.969 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.0001967/0.02558, allocations: 184.5 kB / 285.8 MB, free: 3.777 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/0.02564, allocations: 31.86 kB / 285.8 MB, free: 3.746 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.696e-05/0.0257, allocations: 25.77 kB / 285.8 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.0257, allocations: 0 / 285.8 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.0257, allocations: 4 kB / 285.8 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.02571, allocations: 0 / 285.8 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.02602, allocations: 240.4 kB / 286.1 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.02602, allocations: 0 / 286.1 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.02612, allocations: 19.98 kB / 286.1 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004278/0.02655, allocations: 103.7 kB / 286.2 MB, free: 3.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.02657, allocations: 3.984 kB / 286.2 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002495/0.02906, allocations: 2.06 MB / 288.3 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.02906, allocations: 0 / 288.3 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008498/0.02991, allocations: 307.6 kB / 288.6 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/0.02998, allocations: 31.8 kB / 288.6 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.03001, allocations: 3.984 kB / 288.6 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.03021, allocations: 28.17 kB / 288.6 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.766e-05/0.0303, allocations: 19.97 kB / 288.6 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.03032, allocations: 7.984 kB / 288.6 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004714/0.03079, allocations: 237.1 kB / 288.9 MB, free: 500 kB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03079, allocations: 0 / 288.9 MB, free: 500 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003762/0.03116, allocations: 67.89 kB / 288.9 MB, free: 432 kB / 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.0001487/0.03131, allocations: 99.25 kB / 289 MB, free: 324 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009711/0.03228, allocations: 473.4 kB / 289.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.03229, allocations: 0 / 289.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004712/0.03276, allocations: 281.4 kB / 289.8 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.0331, allocations: 55.8 kB / 289.8 MB, free: 15.47 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009921/0.03409, allocations: 430.7 kB / 290.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.03424, allocations: 142 kB / 290.4 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.367e-05/0.03433, allocations: 17.95 kB / 290.4 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.841e-05/0.0344, allocations: 20.5 kB / 290.4 MB, free: 14.82 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.0344, allocations: 0 / 290.4 MB, free: 14.82 MB / 282.7 MB Notification: Performance of Templates: time 0.00924/0.04364, allocations: 3.914 MB / 294.3 MB, free: 10.96 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.674735005944967]