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.0009766/0.0009766, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001171/0.001171, allocations: 171.6 kB / 25.33 MB, free: 8.594 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.023/1.023, allocations: 158.6 MB / 187.2 MB, free: 2.918 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 2.875e-06/2.875e-06, allocations: 0 / 251.1 MB, free: 7.484 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.987e-05/4.274e-05, allocations: 6.25 kB / 251.1 MB, free: 7.477 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.00381/0.003853, allocations: 2.724 MB / 253.8 MB, free: 4.734 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.005058, allocations: 0.7175 MB / 254.5 MB, free: 4.008 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.0052, allocations: 4 kB / 254.5 MB, free: 4.004 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.005348, allocations: 39.58 kB / 254.6 MB, free: 3.965 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.005517, allocations: 103.1 kB / 254.7 MB, free: 3.863 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.005801, allocations: 91.81 kB / 254.8 MB, free: 3.773 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003664/0.006167, allocations: 374.2 kB / 255.1 MB, free: 3.406 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.006326, allocations: 60.84 kB / 255.2 MB, free: 3.344 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.006533, allocations: 195.5 kB / 255.4 MB, free: 3.152 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.006672, allocations: 107.7 kB / 255.5 MB, free: 3.047 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.718e-05/0.006719, allocations: 32 kB / 255.5 MB, free: 3.016 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.58e-05/0.006755, allocations: 28 kB / 255.5 MB, free: 2.988 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.075e-05/0.006806, allocations: 71.69 kB / 255.6 MB, free: 2.918 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.473e-05/0.006901, allocations: 107.7 kB / 255.7 MB, free: 2.812 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.007166, allocations: 215.2 kB / 255.9 MB, free: 2.602 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.007171, allocations: 0 / 255.9 MB, free: 2.602 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.007172, allocations: 0 / 255.9 MB, free: 2.602 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.007177, allocations: 0 / 255.9 MB, free: 2.602 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.0008757/0.008053, allocations: 0.6468 MB / 256.6 MB, free: 1.914 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.008097, allocations: 11.98 kB / 256.6 MB, free: 1.902 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.328e-05/0.008191, allocations: 56.73 kB / 256.6 MB, free: 1.844 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.008494, allocations: 212 kB / 256.8 MB, free: 1.609 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.008514, allocations: 20.88 kB / 256.9 MB, free: 1.59 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.008541, allocations: 16.38 kB / 256.9 MB, free: 1.574 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003746/0.008916, allocations: 252.7 kB / 257.1 MB, free: 1.305 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.008925, allocations: 192 / 257.1 MB, free: 1.305 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.008946, allocations: 8.375 kB / 257.1 MB, free: 1.297 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.00896, allocations: 11.94 kB / 257.1 MB, free: 1.285 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.009111, allocations: 82.94 kB / 257.2 MB, free: 1.203 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.01014, allocations: 0.7504 MB / 258 MB, free: 408 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.01043, allocations: 119.1 kB / 258.1 MB, free: 276 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.86e-05/0.01049, allocations: 35.67 kB / 258.1 MB, free: 236 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.01052, allocations: 4 kB / 258.1 MB, free: 232 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.01075, allocations: 179.1 kB / 258.3 MB, free: 16 kB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.01075, allocations: 4 kB / 258.3 MB, free: 12 kB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008417/0.01159, allocations: 329 kB / 258.6 MB, free: 15.68 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.01165, allocations: 106.8 kB / 258.7 MB, free: 15.55 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.01185, allocations: 292.3 kB / 259 MB, free: 15.25 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.01187, allocations: 29.7 kB / 259 MB, free: 15.21 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.01198, allocations: 230.8 kB / 259.3 MB, free: 14.98 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.01201, allocations: 47.62 kB / 259.3 MB, free: 14.94 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.139e-05/0.01207, allocations: 47.31 kB / 259.4 MB, free: 14.88 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.01219, allocations: 0.504 MB / 259.9 MB, free: 14.37 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.284e-05/0.01228, allocations: 65.36 kB / 259.9 MB, free: 14.29 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.01239, allocations: 194.3 kB / 260.1 MB, free: 14.05 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.01253, allocations: 167.1 kB / 260.3 MB, free: 13.85 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.01254, allocations: 4 kB / 260.3 MB, free: 13.85 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003741/0.01291, allocations: 304.3 kB / 260.6 MB, free: 13.53 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/0.01294, allocations: 33.7 kB / 260.6 MB, free: 13.49 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01295, allocations: 0 / 260.6 MB, free: 13.49 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002855/0.01323, allocations: 79.66 kB / 260.7 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.675e-05/0.01332, allocations: 35.92 kB / 260.7 MB, free: 13.37 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.01456, allocations: 2.141 MB / 262.9 MB, free: 11.11 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.01469, allocations: 43.81 kB / 262.9 MB, free: 11.06 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.01471, allocations: 8 kB / 262.9 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001295/0.01484, allocations: 184.6 kB / 263.1 MB, free: 10.86 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001074/0.01494, allocations: 190.3 kB / 263.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000123/0.01507, allocations: 155.6 kB / 263.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.223e-06/0.01507, allocations: 0 / 263.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0002475/0.01531, allocations: 259.7 kB / 263.7 MB, free: 10.16 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.01534, allocations: 33.88 kB / 263.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.01534, allocations: 12 kB / 263.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001048/0.01545, allocations: 39.66 kB / 263.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.016e-05/0.01553, allocations: 35.92 kB / 263.8 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008533/0.01638, allocations: 2.036 MB / 265.8 MB, free: 7.879 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.0165, allocations: 31.88 kB / 265.9 MB, free: 7.848 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.01651, allocations: 12 kB / 265.9 MB, free: 7.836 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.0001226/0.01663, allocations: 276.1 kB / 266.2 MB, free: 7.559 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.01667, allocations: 35.78 kB / 266.2 MB, free: 7.523 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.01669, allocations: 17.78 kB / 266.2 MB, free: 7.504 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.0167, allocations: 7.938 kB / 266.2 MB, free: 7.496 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.0167, allocations: 4.031 kB / 266.2 MB, free: 7.492 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.0167, allocations: 3.984 kB / 266.2 MB, free: 7.488 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.01686, allocations: 204.5 kB / 266.4 MB, free: 7.254 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01686, allocations: 0 / 266.4 MB, free: 7.254 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.722e-05/0.01691, allocations: 15.98 kB / 266.4 MB, free: 7.238 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001818/0.01709, allocations: 71.62 kB / 266.5 MB, free: 7.164 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.0171, allocations: 11.94 kB / 266.5 MB, free: 7.152 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009757/0.01808, allocations: 1.873 MB / 268.4 MB, free: 5.152 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01808, allocations: 0 / 268.4 MB, free: 5.152 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.01835, allocations: 219.8 kB / 268.6 MB, free: 4.91 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.103e-05/0.01837, allocations: 15.84 kB / 268.6 MB, free: 4.895 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.01839, allocations: 15.92 kB / 268.6 MB, free: 4.879 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.047e-05/0.01847, allocations: 23.95 kB / 268.7 MB, free: 4.855 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.01854, allocations: 23.95 kB / 268.7 MB, free: 4.832 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.01855, allocations: 4 kB / 268.7 MB, free: 4.828 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001173/0.01867, allocations: 209.1 kB / 268.9 MB, free: 4.625 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01867, allocations: 0 / 268.9 MB, free: 4.625 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003557/0.01902, allocations: 123.7 kB / 269 MB, free: 4.504 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.0001201/0.01914, allocations: 103.2 kB / 269.1 MB, free: 4.391 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006469/0.01979, allocations: 0.6835 MB / 269.8 MB, free: 3.633 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.01979, allocations: 0 / 269.8 MB, free: 3.633 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.01995, allocations: 233.4 kB / 270 MB, free: 3.383 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.0202, allocations: 58.72 kB / 270.1 MB, free: 3.324 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008499/0.02105, allocations: 434.4 kB / 270.5 MB, free: 2.871 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.056e-05/0.0211, allocations: 84.58 kB / 270.6 MB, free: 2.77 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.156e-05/0.02118, allocations: 21.94 kB / 270.6 MB, free: 2.75 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.02123, allocations: 24.44 kB / 270.6 MB, free: 2.727 MB / 250.7 MB Notification: Performance of SimCode: time 1.203e-06/0.02123, allocations: 0 / 270.6 MB, free: 2.727 MB / 250.7 MB Notification: Performance of Templates: time 0.007195/0.02843, allocations: 4.448 MB / 275.1 MB, free: 14.29 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.879796465858817]