Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.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.001018/0.001018, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001574/0.002592, 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.001076/0.001076, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00127/0.002346, 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.9803/0.9803, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09524/1.076, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.Comparator,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.Comparator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Comparator,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.Comparator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 244.6 MB, free: 14.28 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.652e-05, allocations: 6.25 kB / 244.6 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.003211/0.003238, allocations: 2.931 MB / 247.5 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.004519, allocations: 0.7513 MB / 248.3 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.004688, allocations: 7.938 kB / 248.3 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.00481, allocations: 43.52 kB / 248.3 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.004989, allocations: 107.1 kB / 248.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.005247, allocations: 111.8 kB / 248.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00047/0.005717, allocations: 406.3 kB / 248.9 MB, free: 9.902 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.005887, allocations: 91.06 kB / 249 MB, free: 9.812 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.006184, allocations: 265.4 kB / 249.3 MB, free: 9.551 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.006354, allocations: 131.6 kB / 249.4 MB, free: 9.422 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.686e-05/0.006411, allocations: 40 kB / 249.4 MB, free: 9.383 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.857e-05/0.006449, allocations: 36 kB / 249.5 MB, free: 9.348 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.05e-05/0.0065, allocations: 55.81 kB / 249.5 MB, free: 9.293 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.707e-05/0.006597, allocations: 95.81 kB / 249.6 MB, free: 9.199 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.00687, allocations: 235.1 kB / 249.8 MB, free: 8.969 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.397e-05/0.006884, allocations: 4 kB / 249.8 MB, free: 8.965 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.006886, allocations: 0 / 249.8 MB, free: 8.965 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.006901, allocations: 0 / 249.8 MB, free: 8.965 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009688/0.007869, allocations: 0.6231 MB / 250.5 MB, free: 8.309 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.007914, allocations: 15.98 kB / 250.5 MB, free: 8.293 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.297e-05/0.007987, allocations: 40.91 kB / 250.5 MB, free: 8.254 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.008259, allocations: 189.2 kB / 250.7 MB, free: 8.043 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.008279, allocations: 16.88 kB / 250.7 MB, free: 8.027 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.008308, allocations: 28.36 kB / 250.8 MB, free: 8 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.008638, allocations: 239.9 kB / 251 MB, free: 7.75 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.008648, allocations: 4.188 kB / 251 MB, free: 7.746 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.008668, allocations: 12.38 kB / 251 MB, free: 7.734 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.008678, allocations: 15.92 kB / 251 MB, free: 7.719 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.008783, allocations: 71.39 kB / 251.1 MB, free: 7.652 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009497/0.009732, allocations: 0.8141 MB / 251.9 MB, free: 6.777 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.009912, allocations: 62.55 kB / 252 MB, free: 6.707 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.162e-05/0.009944, allocations: 24.83 kB / 252 MB, free: 6.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.009968, allocations: 4 kB / 252 MB, free: 6.676 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.0101, allocations: 101.1 kB / 252.1 MB, free: 6.559 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 1.153e-06/0.01011, allocations: 4 kB / 252.1 MB, free: 6.555 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.000307/0.01041, allocations: 114.4 kB / 252.2 MB, free: 6.434 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.01046, allocations: 85.05 kB / 252.3 MB, free: 6.332 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.01064, allocations: 260.8 kB / 252.5 MB, free: 6.066 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.01067, allocations: 33.7 kB / 252.6 MB, free: 6.027 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.01078, allocations: 208.3 kB / 252.8 MB, free: 5.82 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.01081, allocations: 35.72 kB / 252.8 MB, free: 5.785 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.342e-05/0.01088, allocations: 53.88 kB / 252.9 MB, free: 5.723 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0005662/0.01145, allocations: 334.9 kB / 253.2 MB, free: 5.387 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.232e-05/0.01152, allocations: 53.92 kB / 253.3 MB, free: 5.328 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.01163, allocations: 156.3 kB / 253.4 MB, free: 5.121 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.0118, allocations: 213 kB / 253.6 MB, free: 4.855 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.01181, allocations: 0 / 253.6 MB, free: 4.855 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002813/0.01209, allocations: 245.3 kB / 253.9 MB, free: 4.598 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.062e-05/0.01214, allocations: 33.7 kB / 253.9 MB, free: 4.559 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.01215, allocations: 4 kB / 253.9 MB, free: 4.555 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002356/0.01239, allocations: 57.16 kB / 253.9 MB, free: 4.496 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.01252, allocations: 63.89 kB / 254 MB, free: 4.434 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007704/0.01329, allocations: 1.162 MB / 255.2 MB, free: 3.188 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.01346, allocations: 43.89 kB / 255.2 MB, free: 3.145 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.01348, allocations: 15.98 kB / 255.2 MB, free: 3.129 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (27): * Single equations (assignments): 25 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.01359, allocations: 129.8 kB / 255.4 MB, free: 2.992 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.01361, allocations: 15.92 kB / 255.4 MB, free: 2.977 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.01364, allocations: 25.77 kB / 255.4 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.01364, allocations: 0 / 255.4 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.01365, allocations: 4 kB / 255.4 MB, free: 2.949 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01365, allocations: 0 / 255.4 MB, free: 2.949 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.01391, allocations: 263.5 kB / 255.7 MB, free: 2.664 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.01391, allocations: 0 / 255.7 MB, free: 2.664 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.658e-05/0.01398, allocations: 27.91 kB / 255.7 MB, free: 2.637 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.93e-05/0.01401, allocations: 31.78 kB / 255.7 MB, free: 2.605 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001249/0.01413, allocations: 32.83 kB / 255.7 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.01415, allocations: 12.02 kB / 255.8 MB, free: 2.559 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005189/0.01466, allocations: 1.162 MB / 256.9 MB, free: 1.309 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01467, allocations: 0 / 256.9 MB, free: 1.309 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.01479, allocations: 126.7 kB / 257 MB, free: 1.16 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.01481, allocations: 0 / 257 MB, free: 1.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.01488, allocations: 24.11 kB / 257.1 MB, free: 1.137 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.01493, allocations: 19.91 kB / 257.1 MB, free: 1.117 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.01493, allocations: 4 kB / 257.1 MB, free: 1.113 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.142e-05/0.01501, allocations: 90.7 kB / 257.2 MB, free: 1.02 MB / 250.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01501, allocations: 4 kB / 257.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002129/0.01522, allocations: 71.84 kB / 257.3 MB, free: 0.9453 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001089/0.01533, allocations: 84.41 kB / 257.3 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003036/0.01563, allocations: 299.5 kB / 257.6 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.494e-05/0.01565, allocations: 8 kB / 257.6 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.01576, allocations: 151.9 kB / 257.8 MB, free: 364 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.01593, allocations: 81.56 kB / 257.9 MB, free: 284 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.01731, allocations: 450.1 kB / 258.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.644e-05/0.01736, allocations: 95.97 kB / 258.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.76e-05/0.01743, allocations: 30.28 kB / 258.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.01754, allocations: 87.36 kB / 258.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01754, allocations: 0 / 258.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of Templates: time 0.005721/0.02326, allocations: 3.448 MB / 262 MB, free: 12.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Comparator/Comparator.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.53391663916409]