Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.001158/0.001158, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009988/0.0009988, allocations: 161 kB / 24.56 MB, free: 16 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.109/1.109, allocations: 177.1 MB / 205 MB, free: 5.582 MB / 186.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.InvertingSchmittTrigger,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.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,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.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 273 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.321e-05, allocations: 6.25 kB / 273 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.00378/0.003804, allocations: 2.793 MB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.005014, allocations: 0.6856 MB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.005176, allocations: 7.938 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.005348, allocations: 43.58 kB / 276.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.005546, allocations: 95.17 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.005945, allocations: 111.7 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004246/0.006369, allocations: 358.4 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.006538, allocations: 60.89 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.006768, allocations: 195.5 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.006901, allocations: 115.6 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.006944, allocations: 28 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.499e-05/0.006979, allocations: 32 kB / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.007028, allocations: 63.75 kB / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.529e-05/0.007123, allocations: 103.7 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.007369, allocations: 211.3 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.007372, allocations: 8 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.007373, allocations: 0 / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.007378, allocations: 3.938 kB / 277.9 MB, free: 12.54 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.0008861/0.008264, allocations: 0.6546 MB / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.008307, allocations: 12.03 kB / 278.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.007e-05/0.008397, allocations: 52.69 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.00868, allocations: 216.1 kB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.008699, allocations: 16.88 kB / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.008729, allocations: 24.36 kB / 278.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.009084, allocations: 281.1 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.009097, allocations: 192 / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.009118, allocations: 8.375 kB / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.009131, allocations: 7.938 kB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.009282, allocations: 94.88 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00095/0.01023, allocations: 0.8741 MB / 280.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.01047, allocations: 119.1 kB / 280.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.205e-05/0.01053, allocations: 39.67 kB / 280.3 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.01056, allocations: 0 / 280.3 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.01074, allocations: 183.7 kB / 280.5 MB, free: 9.766 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.01074, allocations: 0 / 280.5 MB, free: 9.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000686/0.01143, allocations: 320.8 kB / 280.8 MB, free: 9.441 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.01148, allocations: 102.8 kB / 280.9 MB, free: 9.316 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.01171, allocations: 300.2 kB / 281.2 MB, free: 9.008 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.01173, allocations: 37.64 kB / 281.2 MB, free: 8.965 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.01185, allocations: 226.9 kB / 281.4 MB, free: 8.738 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.01189, allocations: 47.64 kB / 281.5 MB, free: 8.691 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.756e-05/0.01195, allocations: 47.36 kB / 281.5 MB, free: 8.637 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.0121, allocations: 0.5079 MB / 282 MB, free: 8.117 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.123e-05/0.01218, allocations: 57.67 kB / 282.1 MB, free: 8.055 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.01234, allocations: 218 kB / 282.3 MB, free: 7.773 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.01253, allocations: 196 kB / 282.5 MB, free: 7.535 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.01253, allocations: 0 / 282.5 MB, free: 7.535 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004181/0.01295, allocations: 312.4 kB / 282.8 MB, free: 7.207 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/0.01299, allocations: 33.7 kB / 282.8 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.01299, allocations: 0 / 282.8 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003506/0.01334, allocations: 87.56 kB / 282.9 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.812e-05/0.01344, allocations: 39.97 kB / 283 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.01476, allocations: 2.172 MB / 285.1 MB, free: 4.738 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.01489, allocations: 39.88 kB / 285.2 MB, free: 4.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.01491, allocations: 7.938 kB / 285.2 MB, free: 4.691 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 19 * 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.000105/0.01501, allocations: 180.5 kB / 285.4 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.01504, allocations: 27.86 kB / 285.4 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.01507, allocations: 25.72 kB / 285.4 MB, free: 4.449 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.01507, allocations: 3.984 kB / 285.4 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.01507, allocations: 0 / 285.4 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01508, allocations: 4 kB / 285.4 MB, free: 4.441 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.01524, allocations: 208.5 kB / 285.6 MB, free: 4.203 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01524, allocations: 3.984 kB / 285.6 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.01528, allocations: 12 kB / 285.6 MB, free: 4.188 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001867/0.01547, allocations: 75.62 kB / 285.7 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.01548, allocations: 0 / 285.7 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.01655, allocations: 2.126 MB / 287.8 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01655, allocations: 0 / 287.8 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.01682, allocations: 223.8 kB / 288.1 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.01684, allocations: 23.86 kB / 288.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.01686, allocations: 0 / 288.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.438e-05/0.01694, allocations: 27.97 kB / 288.1 MB, free: 1.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.01701, allocations: 23.91 kB / 288.1 MB, free: 1.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.01701, allocations: 0 / 288.1 MB, free: 1.547 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.01713, allocations: 213.1 kB / 288.3 MB, free: 1.336 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01713, allocations: 0 / 288.3 MB, free: 1.336 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002594/0.01739, allocations: 71.89 kB / 288.4 MB, free: 1.266 MB / 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.0001208/0.01751, allocations: 107.2 kB / 288.5 MB, free: 1.152 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000476/0.01799, allocations: 411.9 kB / 288.9 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01799, allocations: 4 kB / 288.9 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.01815, allocations: 233.1 kB / 289.1 MB, free: 476 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.01836, allocations: 48.33 kB / 289.2 MB, free: 428 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.01972, allocations: 0.6631 MB / 289.9 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.659e-05/0.01978, allocations: 92.11 kB / 289.9 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.481e-05/0.01984, allocations: 22.33 kB / 290 MB, free: 15.59 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/0.01989, allocations: 20.5 kB / 290 MB, free: 15.57 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01989, allocations: 0 / 290 MB, free: 15.57 MB / 282.7 MB Notification: Performance of Templates: time 0.005832/0.02573, allocations: 3.908 MB / 293.9 MB, free: 11.73 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.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: 3.29790577897802]